https://bugs.winehq.org/show_bug.cgi?id=51273
Bug ID: 51273 Summary: Starcraft 2 64 bit .exe not starting since 25b093f384 Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: stefan@codeweavers.com Distribution: ---
The 64 bit version of Starcraft 2 fails to start in current Wine.
It looks like a stack overflow:
0210:err:seh:call_stack_handlers invalid frame 000000000013FC00 (0000000000022000-0000000000120000) 0210:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
Later the game shows a rather useless error message.
Bisect result:
25b093f3845a0ae1b2e2fe1c0701e98064f8e8d6 is the first bad commit commit 25b093f3845a0ae1b2e2fe1c0701e98064f8e8d6 Author: Alexandre Julliard julliard@winehq.org Date: Fri Jun 11 10:57:26 2021 +0200
ntdll: Switch to the kernel stack for syscalls on x86-64.
Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/ntdll/unix/signal_x86_64.c | 266 +++++++++++++--------------------------- tools/winebuild/import.c | 169 +++++++++++-------------- 2 files changed, 161 insertions(+), 274 deletions(-)
It looks similar to bug 51262, but that bug was about 32 bit programs. 32 bit SC2 runs fine as of f5bd0be6a4.
https://bugs.winehq.org/show_bug.cgi?id=51273
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |25b093f3845a0ae1b2e2fe1c070 | |1e98064f8e8d6
https://bugs.winehq.org/show_bug.cgi?id=51273
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |6.10 Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=51273
--- Comment #1 from Stefan Dösinger stefan@codeweavers.com --- Created attachment 70155 --> https://bugs.winehq.org/attachment.cgi?id=70155 Warcraft 3 +seh log
Warcraft 3 (current version from Battle.net) is affected too. Attached is a +seh log of Warcraft 3.
https://bugs.winehq.org/show_bug.cgi?id=51273
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Created attachment 70156 --> https://bugs.winehq.org/attachment.cgi?id=70156 Ignore single step
Does this help?
https://bugs.winehq.org/show_bug.cgi?id=51273
Torge Matthies openglfreak@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |openglfreak@googlemail.com
--- Comment #3 from Torge Matthies openglfreak@googlemail.com --- (In reply to Alexandre Julliard from comment #2)
Created attachment 70156 [details] Ignore single step
Does this help?
Doesn't help for me, I just get this spammed in output:
0398:fixme:thread:NtAlertThread stub: 0xffffffffffffffff
https://bugs.winehq.org/show_bug.cgi?id=51273
--- Comment #4 from Stefan Dösinger stefan@codeweavers.com --- Created attachment 70158 --> https://bugs.winehq.org/attachment.cgi?id=70158 New log with 70156 applied
It doesn't work here either, same NtAlertThread spam. A new +seh log is attached.
My quick impression is that the new "ignoring trap in syscall" only triggers at the point where the game used to crash previously - although I might be mistaken about this.
However, if I run with +relay, at least Warcraft 3 seems to get past the problem.
https://bugs.winehq.org/show_bug.cgi?id=51273
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=51273
--- Comment #5 from Stefan Dösinger stefan@codeweavers.com --- Created attachment 70159 --> https://bugs.winehq.org/attachment.cgi?id=70159 +seh log with wine prior to 25b093f3.
https://bugs.winehq.org/show_bug.cgi?id=51273
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |0702d6b8862b6817a994facb62a | |d7a00bf1d53ba Status|NEW |RESOLVED
--- Comment #6 from Stefan Dösinger stefan@codeweavers.com --- Works again in current master.
https://bugs.winehq.org/show_bug.cgi?id=51273
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.11.