https://bugs.winehq.org/show_bug.cgi?id=49532
--- Comment #21 from Paul Gofman pgofman@codeweavers.com --- (In reply to Dmitry Timoshkov from comment #20)
This is a resurrection of the bug 42470 that was previously fixed by 7def0f200f117a5a72ce454004ac4fd600ef8a4b.
Probably the fix could be similar: don't block if RtlDllShutdownInProgress() returns TRUE.
I know, but should not we avoid leaving unix part locked mutexes in a broader class of cases, like if thread is killed with NtTerminateThread? I dont’t see why we should stick to fixing termination case. If I missed something and universally adding sigquit to server signal mask is undesirable, the other options are to add the mask for virtual mutex lock only or saving mutex reference somewhere to unlock it during signal processing.