http://bugs.winehq.org/show_bug.cgi?id=29028
Bug #: 29028 Summary: Starcraft crashes on exit Product: Wine Version: 1.3.31 Platform: x86 OS/Version: FreeBSD Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: amasterov@gmail.com Classification: Unclassified
After upgrading wine to 1.3.31 Starcraft crashes on exit. wine 1.3.30 has not this problem. After choosing exit in game menu I get black screen in 640x480 resolution (I switch to nvidia-settings with Alt-Tab and set up correct resolution after this). In console there are this lines:
fixme:advapi:SetSecurityInfo stub fixme:win:EnumDisplayDevicesW ((null),0,0x33f3d8,0x00000000), stub! err:seh:setup_exception_record stack overflow 844 bytes in thread 0024 eip 0041efcc esp 00240fe4 stack 0x240000-0x241000-0x340000 err:ntdll:RtlpWaitForCriticalSection section 0x62385d40 "time.c: TIME_tz_section" wait timed out in thread 0027, blocked by 0024, retrying (60 sec) err:seh:raise_exception Unhandled exception code c0000194 flags 0 addr 0x6231354f
I've tried regression testing with git bisect and get this result:
496b438ede825fc00daac7a5869e045ae583cec9 is the first bad commit commit 496b438ede825fc00daac7a5869e045ae583cec9 Author: Stefan Dösinger stefan@codeweavers.com Date: Tue Sep 27 09:31:59 2011 -0500
wined3d: Remove d3d8/9 palette support.
:040000 040000 8b95a8e0e4e7524170ba43bc2ffe369359b9811d 7c427ec5a0816aa5da25718cee9c70e0d3605214 M dlls :040000 040000 a6ee1c817b1f21634ddad86780fad5cfe9c4fb29 fe57de377c4cf96d0f48c4560d0db321b7b28e91 M include
There was slightly different errors on the screen during testing, but I did "git bisect bad" on every crash on exit.
With what WINEDEBUG flags should I run wine to provide any additional information about this issue?
http://bugs.winehq.org/show_bug.cgi?id=29028
Alex Masterov amasterov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=29028
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com Component|-unknown |directx-d3d Regression SHA1| |496b438ede825fc00daac7a5869 | |e045ae583cec9
http://bugs.winehq.org/show_bug.cgi?id=29028
--- Comment #1 from Stefan Dösinger stefan@codeweavers.com 2011-11-08 10:46:33 CST --- Just to double-check, this is StarCraft, not StarCraft II, correct? StarCraft 1 indeed crashes on exit here, although I am puzzled why, since it doesn't use d3d8/9. I'm investigating.
http://bugs.winehq.org/show_bug.cgi?id=29028
--- Comment #2 from Alex Masterov amasterov@gmail.com 2011-11-09 00:10:18 CST --- Yes, this is StarCraft 1, not StarCraft II.
http://bugs.winehq.org/show_bug.cgi?id=29028
--- Comment #3 from Stefan Dösinger stefan@codeweavers.com 2011-12-01 13:13:26 CST --- I cannot reproduce this any more. Can you retest?
Assuming that the original regression test was correct, the only patch I can imagine that fixed the game is 6a981239db5f1fda895681c99d6d81c48c287c4f, but that is unlikely unless we have a major memory corruption somewhere.
http://bugs.winehq.org/show_bug.cgi?id=29028
--- Comment #4 from Alex Masterov amasterov@gmail.com 2011-12-02 08:41:30 CST --- Created attachment 37746 --> http://bugs.winehq.org/attachment.cgi?id=37746 Console output of crash
I've just updated wine sources from git and recompiled it. It crashes on exit with other messages. Console output is attached here
http://bugs.winehq.org/show_bug.cgi?id=29028
--- Comment #5 from Alex Masterov amasterov@gmail.com 2011-12-02 09:19:38 CST --- I've just recovered that it crashes not every run. Sometimes it does not crash.
http://bugs.winehq.org/show_bug.cgi?id=29028
Alex Masterov amasterov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from Alex Masterov amasterov@gmail.com 2012-01-10 08:09:49 CST --- This problem seems to be fixed in wine 1.3.36, I can not reproduce it on this version
http://bugs.winehq.org/show_bug.cgi?id=29028
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2012-01-13 13:50:41 CST --- Closing bugs fixed in 1.3.37.
https://bugs.winehq.org/show_bug.cgi?id=29028
mo78@abv.bg changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mo78@abv.bg
--- Comment #8 from mo78@abv.bg --- Wine 8.2. The game still crashes/freezes when you try to quit and doesn't close itself but have to be killed.
https://bugs.winehq.org/show_bug.cgi?id=29028
--- Comment #9 from Stefan Dösinger stefan@codeweavers.com --- Starcraft 1 has seen a major engine rewrite since 2011, it is unlikely that a crash on exit in 2023 has anything to do with 496b438ede825fc00daac7a5869e045ae583cec9. Unless you are running the old CD + patches version before the game was moved to the Battle.net launcher.
https://bugs.winehq.org/show_bug.cgi?id=29028
--- Comment #10 from mo78@abv.bg --- It was for StarCraft II, may fault. Accept my appologies.