https://bugs.winehq.org/show_bug.cgi?id=52295
Bug ID: 52295 Summary: Crash when calling StackWalk() Product: Wine Version: 7.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dbghelp Assignee: wine-bugs@winehq.org Reporter: ralf.habacker@freenet.de Distribution: ---
Created attachment 71446 --> https://bugs.winehq.org/attachment.cgi?id=71446 Backtrace log
Running the appended 32 bit test case let wine crash, when using the "-gstabs" symbol format. See backtrace.log for detailed information.
The test case is part of the dbus test suite. For the source see https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/test/manual-backtrace..., the call to StackWalk() is located at https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/dbus/dbus-sysdeps-win....
https://bugs.winehq.org/show_bug.cgi?id=52295
--- Comment #1 from Ralf Habacker ralf.habacker@freenet.de --- Created attachment 71447 --> https://bugs.winehq.org/attachment.cgi?id=71447 testcase binary
https://bugs.winehq.org/show_bug.cgi?id=52295
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Crash when calling |Crash when calling |StackWalk() |StackWalk() with '-gstabs' | |symbol format
https://bugs.winehq.org/show_bug.cgi?id=52295
--- Comment #2 from Ralf Habacker ralf.habacker@freenet.de --- Created attachment 71448 --> https://bugs.winehq.org/attachment.cgi?id=71448 expected backtrace.log
The printed backtrace using '-g' or '-gdwarf' or '-gdwarf -g2' symbol format is:
https://bugs.winehq.org/show_bug.cgi?id=52295
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=52295
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1
--- Comment #3 from Eric Pouech eric.pouech@orange.fr --- thanks for reporting
/////////////////////////
confirming
https://bugs.winehq.org/show_bug.cgi?id=52295
--- Comment #4 from Eric Pouech eric.pouech@orange.fr --- Created attachment 71486 --> https://bugs.winehq.org/attachment.cgi?id=71486 proposed patch
attached patch solves the issue.
/////////////////////////
generated output (with patch): Backtrace: 0 NtWaitForMultipleObjects+0xc in ntdll 1 WaitForSingleObject+0x39 in kernelbase 2 _dbus_print_backtrace+0x99 [Z:\home\ralf\src\dbus\dbus\dbus-sysdeps-win.c:2790] in libdbus-1-3 3 __tmainCRTStartup+0x226 [Z:\home\abuild\rpmbuild\BUILD\mingw-w64-v9.0.0\mingw-w64-crt\crt\crtexe.c:323] in manual-backtrace 4 BaseThreadInitThunk+0x10 in kernel32 5 RtlUserThreadStart+0x27 in ntdll 6 RtlCreateUserThread in ntdll
https://bugs.winehq.org/show_bug.cgi?id=52295
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Eric Pouech eric.pouech@orange.fr --- still to be investigated why main() is missing from backtrace, but not related to this bug report
////////////////////////
closing
https://bugs.winehq.org/show_bug.cgi?id=52295
--- Comment #6 from Ralf Habacker ralf.habacker@freenet.de --- Thank you for fixing this error. Please note that this problem also applies to stable version 6.
https://bugs.winehq.org/show_bug.cgi?id=52295
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #7 from Christian Costa titan.costa@gmail.com --- Shouldn't the bug be resolved once the patch is commited?
https://bugs.winehq.org/show_bug.cgi?id=52295
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |00a11ff73d22d1392b372cc387f | |42c9bffc974cd
--- Comment #8 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Christian Costa from comment #7)
Shouldn't the bug be resolved once the patch is commited?
Yes, indeed. Patch now went upstream as https://source.winehq.org/git/wine.git/commit/00a11ff73d22d1392b372cc387f42c9bffc974cd, so it can stay resolved.
https://bugs.winehq.org/show_bug.cgi?id=52295
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc5.