http://bugs.winehq.org/show_bug.cgi?id=29216
Bug #: 29216 Summary: Sacred Gold v2.28 hangs on exit (ddr=opengl) Product: Wine Version: 1.3.33 Platform: x86 OS/Version: Linux Status: NEW Keywords: regression Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: hverbeet@gmail.com Classification: Unclassified Regression SHA1: 0f10ac93580d5a055f0b3f6e7c3d77738135f031
Created attachment 37726 --> http://bugs.winehq.org/attachment.cgi?id=37726 plain terminal output
Sacred Gold contains the original game plus the Underworld expansion. The latest version of the game is 2.28. Demo exists only for the original game (v1.00), and I can't reproduce the problem with that.
The problem: the game becomes unresponsive after choosing quit in the main menu. Sacred.exe is still running and consuming 100% CPU power after exiting and I have to terminate the process forcibly. The problem exists with the default Opengl renderer. With ddr=gdi the game hits bug #29213 and it crashes right after starting.
The result of the regression test:
0f10ac93580d5a055f0b3f6e7c3d77738135f031 is the first bad commit commit 0f10ac93580d5a055f0b3f6e7c3d77738135f031 Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Nov 28 21:30:57 2011 +0100
ddraw: Create the wined3d swapchain when setting the cooperative level.
:040000 040000 f8a8ea10d91985680fe1e29e2fb64aaf8bc59e2d ab3f595c09537f3f18bd03bbe708c584f62e3952 M dlls
The reverted patch fixed the problem (wine-1.3.33-310-gbf644e0).
Please let me know if you need a log with debug channels enabled.
Fedora 16 x86 X.Org X Server 1.11.2 Nvidia 250 / driver 290.10
http://bugs.winehq.org/show_bug.cgi?id=29216
--- Comment #1 from GyB gyebro69@gmail.com 2011-12-01 11:21:40 CST --- Created attachment 37727 --> http://bugs.winehq.org/attachment.cgi?id=37727 winedbg bt_all
http://bugs.winehq.org/show_bug.cgi?id=29216
PommeGolden lapommegolden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lapommegolden@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29216
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2011-12-02 05:39:19 CST --- (In reply to comment #0)
Please let me know if you need a log with debug channels enabled.
A +tid,+seh,+ddraw,+d3d,+d3d_surface log would probably be useful. I think we shouldn't try to force surface destruction in the first place though.
http://bugs.winehq.org/show_bug.cgi?id=29216
--- Comment #3 from GyB gyebro69@gmail.com 2011-12-02 08:37:25 CST --- Created attachment 37745 --> http://bugs.winehq.org/attachment.cgi?id=37745 7zipped +tid,+seh,+ddraw,+d3d,+d3d_surface log (uncompressed 26 MB)
http://bugs.winehq.org/show_bug.cgi?id=29216
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.fileplanet.com/1 | |55697/150000/fileinfo/VOYAG | |E:-Inspired-by-Jules-Verne- | |Demo
--- Comment #4 from GyB gyebro69@gmail.com 2011-12-02 11:32:33 CST --- Finally I found a game which is also affected and has a demo to reproduce the problem: Journey to the Moon demo has been added to the url field.
http://bugs.winehq.org/show_bug.cgi?id=29216
--- Comment #5 from Henri Verbeet hverbeet@gmail.com 2011-12-05 08:52:04 CST --- Created attachment 37808 --> http://bugs.winehq.org/attachment.cgi?id=37808 patch
This patch makes the voyage demo work for me. Does it also help with Sacred?
http://bugs.winehq.org/show_bug.cgi?id=29216
--- Comment #6 from GyB gyebro69@gmail.com 2011-12-05 10:20:02 CST --- (In reply to comment #5)
Created attachment 37808 [details] patch
This patch makes the voyage demo work for me. Does it also help with Sacred?
Yes, the patch fixes the problem with Sacred Gold too.
I see such messages in the terminal when the game quits, is that matter? err:ddraw:DllMain DDraw 0x12ddb0 still has surfaces attached. err:wgl:internal_SetPixelFormat Invalid operation on root_window
http://bugs.winehq.org/show_bug.cgi?id=29216
--- Comment #7 from Henri Verbeet hverbeet@gmail.com 2011-12-05 10:29:31 CST --- (In reply to comment #6)
I see such messages in the terminal when the game quits, is that matter? err:ddraw:DllMain DDraw 0x12ddb0 still has surfaces attached. err:wgl:internal_SetPixelFormat Invalid operation on root_window
Those should be harmless, although they're related to the bug.
http://bugs.winehq.org/show_bug.cgi?id=29216
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2011-12-06 16:02:30 CST --- Should be fixed by 6523ef5f679950627a79dc2c802ea6655c73c3c0.
http://bugs.winehq.org/show_bug.cgi?id=29216
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6523ef5f679950627a79dc2c802 | |ea6655c73c3c0 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from GyB gyebro69@gmail.com 2011-12-06 21:34:10 CST --- All those games exit cleanly in wine-1.3.34-94-g1fa1ab5.
http://bugs.winehq.org/show_bug.cgi?id=29216
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2011-12-16 13:29:34 CST --- Closing bugs fixed in 1.3.35.