https://bugs.winehq.org/show_bug.cgi?id=48273
Bug ID: 48273 Summary: Relay debugging is broken in a --without-mingw build Product: Wine Version: 4.21 Hardware: x86 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dmitry@baikal.ru Distribution: ---
This is a fresh breakage, however regression test for some reason points to an innocent dmusic commit.
Relevant part of 'WINEDEBUG=+relay,+seh,+tid wine winver' looks like this:
000b:Call KERNEL32.__wine_start_process() ret=00000000 000b:Starting process L"C:\windows\system32\wineboot.exe" (entryproc=0x7b454da4) 000b:Call ntdll.NtQueryInformationProcess(ffffffff,00000007,0032fefc,00000004,00000000) ret=7ee6e9a8 000b:Ret ntdll.NtQueryInformationProcess() retval=00000000 ret=7ee6e9a8 000b:Starting process L"C:\windows\system32\wineboot.exe" (entryproc=0x7ffd8000) 000b:Call ntdll.NtQueryInformationProcess(ffffffff,00000007,0032fe3c,00000004,00000000) ret=7ee6e9a8 000b:Ret ntdll.NtQueryInformationProcess() retval=00000000 ret=7ee6e9a8 000b:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7ffd8000 ip=7ffd8000 tid=000b 000b:trace:seh:raise_exception info[0]=00000008 000b:trace:seh:raise_exception info[1]=7ffd8000 000b:trace:seh:raise_exception eax=7ffd8000 ebx=7ffdf000 ecx=0032ff48 edx=0032ff48 esi=0032fff4 edi=00000000 000b:trace:seh:raise_exception ebp=0032fe58 esp=0032fe44 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010246 000b:trace:seh:call_stack_handlers calling handler at 0x7b46cda0 code=c0000005 flags=0 000b:Call ntdll.NtCreateEvent(0032f9b0,001f0003,0032f9b4,00000000,00000000) ret=7ee6f83b 000b:Ret ntdll.NtCreateEvent() retval=00000000 ret=7ee6f83b wine: Unhandled page fault on execute access to 7FFD8000 at address 7FFD8000 (thread 000b), starting debugger...
wineboot crashes right at its entry point, and then everything hangs.
https://bugs.winehq.org/show_bug.cgi?id=48273
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |30e5f1215e0d2a0555bd2c62432 | |76451fdaf5b03
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- The regression is caused by
commit 30e5f1215e0d2a0555bd2c6243276451fdaf5b03 Author: Alexandre Julliard julliard@winehq.org Date: Tue Dec 10 11:08:40 2019 +0100
kernel32: Remove __wine_kernel_init().
Signed-off-by: Alexandre Julliard julliard@winehq.org
As may be noticed in the provided log snippet 000b:Starting process L"C:\windows\system32\wineboot.exe" is present twice, and in the normal log only once.
https://bugs.winehq.org/show_bug.cgi?id=48273
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=48273
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
also happens with mingw builds which makes sense as no core dlls have been converted to PE format yet.
--- snip --- ... 0602:Starting process L"C:\windows\system32\winedbg.exe" (entryproc=0x7b451a94) 0602:Call ntdll.NtQueryInformationProcess(ffffffff,00000007,0032ff0c,00000004,00000000) ret=7124f13e 0602:Ret ntdll.NtQueryInformationProcess() retval=00000000 ret=7124f13e 0602:Starting process L"C:\windows\system32\winedbg.exe" (entryproc=0x7ffd8000) 0602:Call ntdll.NtQueryInformationProcess(ffffffff,00000007,0032fe4c,00000004,00000000) ret=7124f13e 0602:Ret ntdll.NtQueryInformationProcess() retval=00000000 ret=7124f13e 0602:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7ffd8000 ip=7ffd8000 tid=0602 0602:trace:seh:raise_exception info[0]=00000008 0602:trace:seh:raise_exception info[1]=7ffd8000 0602:trace:seh:raise_exception eax=7ffd8000 ebx=7ffdf000 ecx=0032fe88 edx=0032fe88 esi=0032fff4 edi=00000000 0602:trace:seh:raise_exception ebp=0032fe58 esp=0032fe44 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010246 0602:trace:seh:call_stack_handlers calling handler at 0x7b469b10 code=c0000005 flags=0 0602:Call ntdll.NtCreateEvent(0032f9c0,001f0003,0032f9c4,00000000,00000000) ret=71250055 0602:Ret ntdll.NtCreateEvent() retval=00000000 ret=71250055 wine: Unhandled page fault on execute access to 7FFD8000 at address 7FFD8000 (thread 0602), starting debugger... --- snip ---
You get a nice fork bomb due to winedbg crashing each time _oO_
--- snip --- ... focht 8958 1 15 22:14 ? 00:00:01 /home/focht/projects/wine/mainline-install-x86_64/bin/wineserver focht 8963 2871 0 22:14 pts/4 00:00:00 bash focht 8989 1 0 22:14 pts/1 00:00:00 winedbg --auto 8 124 focht 8991 1 0 22:14 pts/1 00:00:00 winedbg --auto 12 52 focht 8999 1 0 22:14 pts/1 00:00:00 winedbg --auto 14 56 focht 9001 1 0 22:14 pts/1 00:00:00 winedbg --auto 16 60 focht 9003 1 0 22:14 pts/1 00:00:00 winedbg --auto 18 64 focht 9007 1 0 22:14 pts/1 00:00:00 winedbg --auto 20 68 focht 9009 1 0 22:14 pts/1 00:00:00 winedbg --auto 22 72 focht 9011 1 0 22:14 pts/1 00:00:00 winedbg --auto 24 76 focht 9013 1 0 22:14 pts/1 00:00:00 winedbg --auto 26 80 focht 9020 1 0 22:14 pts/1 00:00:00 winedbg --auto 28 84 focht 9022 1 0 22:14 pts/1 00:00:00 winedbg --auto 30 88 focht 9024 1 0 22:14 pts/1 00:00:00 winedbg --auto 32 92 focht 9026 1 0 22:14 pts/1 00:00:00 winedbg --auto 34 96 focht 9046 1 0 22:14 pts/1 00:00:00 winedbg --auto 36 100 focht 9056 1 0 22:14 pts/1 00:00:00 winedbg --auto 38 104 focht 9058 1 0 22:14 pts/1 00:00:00 winedbg --auto 40 108 ... <until OOM/out of resources> ---- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=48273
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |4cb8497c8fba7e99138dc3fcb45 | |cb4a22063f0c5 Resolution|--- |FIXED
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru --- Fixed by 4cb8497c8fba7e99138dc3fcb45cb4a22063f0c5.
Thanks Alexandre.
https://bugs.winehq.org/show_bug.cgi?id=48273
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc2.