https://bugs.winehq.org/show_bug.cgi?id=55641
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #2 from Bernhard Übelacker bernhardu@mailbox.org --- Just tried to do some debugging. This shows the main thread already exited the main function at the time of the crash.
And to me it looks the crash happens in alsa_midi_notify_wait, at a time when this thread receives the SIGQUIT signal. By adding some logging to the function alsa_midi_notify_wait it looks like it reaches the pthread_cond_wait function.
The problems attaching a debugger may be a result of the process already closed the connections to wineserver on the SIGQUIT, and then receiving the SIGSEGV.
(gdb) bt #0 alsa_midi_notify_wait at dlls/winealsa.drv/alsamidi.c:1507 #1 __wine_unix_call_dispatcher from build-32/dlls/ntdll/ntdll.so #2 notify_thread at dlls/winealsa.drv/midi.c:124 #3 WriteTapemark@16 from drive_c/windows/syswow64/kernel32.dll