https://bugs.winehq.org/show_bug.cgi?id=44551
Bug ID: 44551 Summary: The Witcher 3 - crash on startup with stack overflow Product: Wine Version: 3.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: dahlberg@lysator.liu.se Distribution: ---
Symptom/Failure:
When launching a black screen is displayed instead of the loading/intro cinematic. Hangs with the following printout on the screen.
0101:err:seh:setup_exception stack overflow 1808 bytes in thread 0101 eip 000000007bc5e079 esp 0000000065e80f00 stack 0x65e80000-0x65e81000-0x67e80000
How to reproduce:
Install winehq-devel (wine 3.2) Create a new 64-bit wineprefix Install Steam Install Witch 3 Play/Launch the game
What should happen:
Using winehq-stable (wine 3.0) successfully launches the game including videos etc. (but with 3-4fps performance).
Let me know how to add any necessary/helpful logs and I will be happy to do so. :-)
System info:
Ryzen 7 1700 on Linux 4.15.3-041503-generic GTX 1080 with 390.25
https://bugs.winehq.org/show_bug.cgi?id=44551
--- Comment #1 from Anders Dahlberg dahlberg@lysator.liu.se --- Created attachment 60512 --> https://bugs.winehq.org/attachment.cgi?id=60512 Console output from start of steam until Witcher crash and following "ctrl+c".
https://bugs.winehq.org/show_bug.cgi?id=44551
--- Comment #2 from Anders Dahlberg dahlberg@lysator.liu.se --- Some additional information.
Using KDE Neon. Have tried both on kernel 4.14.14 and 4.15.3 Also Nvidia driver 387.xx and then upgraded to current 390.25.
Same scenario in all cases, works in 3.0 - fails in 3.2.
https://bugs.winehq.org/show_bug.cgi?id=44551
mirh mirh@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=44551
tt_1 herrtimson@yahoo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |herrtimson@yahoo.de
https://bugs.winehq.org/show_bug.cgi?id=44551
--- Comment #3 from Anders Dahlberg dahlberg@lysator.liu.se --- Bug above seems to be solved in latest master. Did a fresh build on 7be8bea shlwapi: Don't attempt to un-expand ComputerName in PathUnExpandEnvStrings.
Will keep it open for a few more tests/days.
https://bugs.winehq.org/show_bug.cgi?id=44551
--- Comment #4 from tt_1 herrtimson@yahoo.de --- Can confirm, wine-3.2 with commit 7be8bea applied on top and no segfault in the startup.
https://bugs.winehq.org/show_bug.cgi?id=44551
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED CC| |joseph.kucia@gmail.com
--- Comment #5 from Józef Kucia joseph.kucia@gmail.com --- Marking fixed as per previous comments.
https://bugs.winehq.org/show_bug.cgi?id=44551
--- Comment #6 from Józef Kucia joseph.kucia@gmail.com --- It would be somehow interesting to see a WINEDEBUG=+d3d log from the crash.
https://bugs.winehq.org/show_bug.cgi?id=44551
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=44486
https://bugs.winehq.org/show_bug.cgi?id=44551
--- Comment #7 from Anders Dahlberg dahlberg@lysator.liu.se --- Created attachment 60579 --> https://bugs.winehq.org/attachment.cgi?id=60579 WINEDEBUG=+d3d /opt/wine-tmp-build/bin/wine $WINEPREFIX/drive_c/Program\ Files\ (x86)/Steam/Steam.exe -no-cef-sandbox &> wine_d3d_debug.log
Retest on wine-3.2 tag to capture more traces.
Sadly not possible to recreate crash with WINEDEBUG=+d3d, instead of hanging with black screen and stack crash it used briefly opens a black screen and then disappears. I.e. still not working correctly but can't confirm if it is the same crash or not.
Original crash 100% reproducible without WINEDEBUG part so perhaps timing related?
https://bugs.winehq.org/show_bug.cgi?id=44551
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |DUPLICATE See Also|https://bugs.winehq.org/sho | |w_bug.cgi?id=44486 |
--- Comment #8 from Józef Kucia joseph.kucia@gmail.com --- (In reply to Anders Dahlberg from comment #7)
Created attachment 60579 [details] WINEDEBUG=+d3d /opt/wine-tmp-build/bin/wine $WINEPREFIX/drive_c/Program\ Files\ (x86)/Steam/Steam.exe -no-cef-sandbox &> wine_d3d_debug.log
Thanks. The log suggests that it is indeed the same crash.
*** This bug has been marked as a duplicate of bug 44486 ***
https://bugs.winehq.org/show_bug.cgi?id=44551
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicates