[Bug 55641] New: dxdiag crashes with segfault
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(a)winehq.org Reporter: matthew.mcallister.0(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55641 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)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(a)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(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55641 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu(a)mailbox.org --- Comment #2 from Bernhard Übelacker <bernhardu(a)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(a)16 from drive_c/windows/syswow64/kernel32.dll -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55641 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #3 from Zeb Figura <z.figura12(a)gmail.com> --- That's bug 52213. Does dxdiag actually fail, or does it just crash on exit? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55641 --- Comment #4 from Fabian Maurer <dark.shadow4(a)web.de> --- AFAIK only on exit. Disabling "winealsa.drv" prevents the crash. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55641 Zeb Figura <z.figura12(a)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(a)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 *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55641 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla