https://bugs.winehq.org/show_bug.cgi?id=55641
Bug ID: 55641 Summary: dxdiag crashes with segfault Product: Wine Version: 8.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: matthew.mcallister.0@gmail.com Distribution: ---
Created attachment 75176 --> https://bugs.winehq.org/attachment.cgi?id=75176 Output of `wine dxdiag`
Running wine-devel. wine --version is wine-8.16. OS is Debian 13. kernel version 6.4.13-1. Graphics: RTX 3080, nvidia-driver version 525.125.06-2.
https://bugs.winehq.org/show_bug.cgi?id=55641
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Keywords| |regression Component|d3d |-unknown Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Regression SHA1| |5c62fe0bfe167b907af0029aadf | |8e48144b7c547
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Seems to be related to "MMDRV_Init", when you skip that call, it doesn't crash on exit. Not sure why I can't attach a debugger though...
Bisected to commit 5c62fe0bfe167b907af0029aadf8e48144b7c547 Author: Alexandre Julliard julliard@winehq.org Date: Tue Feb 14 13:06:14 2023 +0100
ntdll: Replace the __wine_dbg_write() syscall by a Unix call.
Not sure if that's the cause or just happens to work before.
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
https://bugs.winehq.org/show_bug.cgi?id=55641
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- That's bug 52213. Does dxdiag actually fail, or does it just crash on exit?
https://bugs.winehq.org/show_bug.cgi?id=55641
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- AFAIK only on exit. Disabling "winealsa.drv" prevents the crash.
https://bugs.winehq.org/show_bug.cgi?id=55641
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|dxdiag crashes with |dxdiag crashes on exit |segfault | Resolution|--- |DUPLICATE Regression SHA1|5c62fe0bfe167b907af0029aadf | |8e48144b7c547 | Status|NEW |RESOLVED Keywords|regression |
--- Comment #5 from Zeb Figura z.figura12@gmail.com --- (In reply to Fabian Maurer from comment #4)
AFAIK only on exit. Disabling "winealsa.drv" prevents the crash.
Resolving duplicate then.
*** This bug has been marked as a duplicate of bug 52213 ***
https://bugs.winehq.org/show_bug.cgi?id=55641
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- Closing.