https://bugs.winehq.org/show_bug.cgi?id=49746
Bug ID: 49746 Summary: crash when virtual debug channel is enabled Product: Wine Version: 5.15 Hardware: x86 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: piotr.caban@gmail.com Regression SHA1: 4a7cd0f492affbc0eb347b97426b8c23f9a4f976 Distribution: ---
Steps to reproduce: WINEDBG=virtual wine winecfg
After running the command it starts printing debug traces and crashes with "Segmentation fault" output. I've done the regression test with 32-bit wine but there's identical crash on x86_64.
Bisect points to this commit: 4a7cd0f492affbc0eb347b97426b8c23f9a4f976 is the first bad commit commit 4a7cd0f492affbc0eb347b97426b8c23f9a4f976 Author: Alexandre Julliard julliard@winehq.org Date: Thu Aug 20 15:27:30 2020 +0200
ntdll: Call NtContinue() from LdrInitializeThunk() instead of returning.
Signed-off-by: Alexandre Julliard julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=49746
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
--- Comment #1 from Stefan Dösinger stefan@codeweavers.com --- For me it crashes without any debug channels.
stefan@grey ~/src/wine $ WINEDEBUG=-all ~/build/wine/wine winecfg Segmentation fault (core dumped)
gdb says: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7bc21b8 in server_leave_uninterrupted_section (mutex=0x7ffff7c19e40 <virtual_mutex>, sigset=0x21f7e0) at ../../../../src/wine/dlls/ntdll/unix/server.c:309 309 {
(gdb) bt #0 0x00007ffff7bc21b8 in server_leave_uninterrupted_section (mutex=0x7ffff7c19e40 <virtual_mutex>, sigset=0x21f7e0) at ../../../../src/wine/dlls/ntdll/unix/server.c:309 #1 0x0000000000000000 in ?? ()
https://bugs.winehq.org/show_bug.cgi?id=49746
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=49746
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |3863b243fe5ef4e223a809e93a8 | |5e858952dd754.
--- Comment #2 from Piotr Caban piotr.caban@gmail.com --- It works for me now. Marking as fixed.
https://bugs.winehq.org/show_bug.cgi?id=49746
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|3863b243fe5ef4e223a809e93a8 |3863b243fe5ef4e223a809e93a8 |5e858952dd754. |5e858952dd754
https://bugs.winehq.org/show_bug.cgi?id=49746
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.16.