https://bugs.winehq.org/show_bug.cgi?id=49860
Bug ID: 49860 Summary: Dungeons & Dragons Online 64bit client fails to start in wine-5.16 and 5.17 Product: Wine Version: 5.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: sutupud@yahoo.com Distribution: ---
Created attachment 68202 --> https://bugs.winehq.org/attachment.cgi?id=68202 error stacktrace
The 64bit client of DDO fails to start in wine 5.16 and 5.17. The client starts and shows a black screen for a second, and then crashes with: 00e8:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x6760a76d (see attached trace)
Bisecting shows the bad commit is a686759f1d7aee67b5786b72e81a4e4fcf3f3c02
If I revert that commit on top of the current master, the client works again.
Since they also have a 32bit legacy client which still works, I would guess that the changes in dlls/ntdll/unix/signal_x86_64.c cause some different behaviour than the old implementation did.
For DDO the workaround would be to just use the 32bit client, but there may be other programs affected by this change.
https://bugs.winehq.org/show_bug.cgi?id=49860
mata sutupud@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |a686759f1d7aee67b5786b72e81 | |a4e4fcf3f3c02 URL| |https://ddo.com/en/game/dow | |nload
https://bugs.winehq.org/show_bug.cgi?id=49860
mata sutupud@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|5.15 |5.16
https://bugs.winehq.org/show_bug.cgi?id=49860
mata sutupud@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=49860
mata sutupud@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=49860
--- Comment #1 from mata sutupud@yahoo.com --- Created attachment 68361 --> https://bugs.winehq.org/attachment.cgi?id=68361 DDO startup crash fix patch
Update: It's still happening on wine 5.18, up to the current master (5d5102f8498413f4b7e11f7da0509e7717fb3735)
The problematic code is definitely in call_user_apc_dispatcher dlls/ntdll/unix/signal_x86_64.c
If I change the code to more or less what it did before a686759f1d7aee67b5786b72e81a4e4fcf3f3c02 (see attached patch), then it starts to work again (despite a compilation time warning: wine-git/dlls/ntdll/unix/signal_x86_64.c:2023:1: warning: ‘noreturn’ function does return).
So something seems to be not completely right in the assembly code.
https://bugs.winehq.org/show_bug.cgi?id=49860
mata sutupud@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Dungeons & Dragons Online |Dungeons & Dragons Online |64bit client fails to start |64bit client fails to start |in wine-5.16 and 5.17 |in wine-5.16, 5.17, 5.18
https://bugs.winehq.org/show_bug.cgi?id=49860
--- Comment #2 from mata sutupud@yahoo.com --- No change in wine-5.19
https://bugs.winehq.org/show_bug.cgi?id=49860
Paul Gofman pgofman@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com
--- Comment #3 from Paul Gofman pgofman@codeweavers.com --- Should be fixed by https://source.winehq.org/git/wine.git/commit/53f7cb3c0888c852e0b4fdc9366c6c...
https://bugs.winehq.org/show_bug.cgi?id=49860
mata sutupud@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |53f7cb3c0888c852e0b4fdc9366 | |c6ce53a54f433 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #4 from mata sutupud@yahoo.com --- Yes, i can confirm that it fixes the crash, works fine now with the current head from git.
Marking as resolved. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=49860
Roman Pišl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rpisl@seznam.cz
--- Comment #5 from Roman Pišl rpisl@seznam.cz --- *** Bug 48931 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=49860
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.20.