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.