http://bugs.winehq.org/show_bug.cgi?id=25617
Summary: Clones crashes after a period of time (occasionally with an out of memory error) Product: Wine Version: 1.3.10 Platform: x86 URL: http://clonesgame.com/sites/clonesgame.com/modules/pub dlcnt/pubdlcnt.php?file=http://clones.s3.amazonaws.com /ClonesGameDemo_1.26.exe&nid=220 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com
Created an attachment (id=32618) --> (http://bugs.winehq.org/attachment.cgi?id=32618) terminal output
'Clones' is a nice Lemmings clone. The game always crashes for me after 5-10 minutes of gameplay. Usually the crash is preceded by some strange screen corruption (big red X-s appear on the screen) but sometimes the crash happens out of the blue. It always happens after you've been playing the game for 5-10 minutes. No usable backtrace is generated. The issue is present in Wine-1.0.1, Wine-1.2.2 and so on.
To reproduce the issue in the demo: Because of bug #25606 you can only test the problem in the multiplayer mode of the game. 1. After installation launch the game by ../Bin/ClonesGame.exe 2. Create a new profile then choose 'Tournaments' > 'Host Tournament'. Choose the first available level (Beach). Uncheck the 'Public' option so other players online won't disturb you in testing :) 3. <Start level>, <Start match>. You can play the game if you like it or simply let it alone and wait for about 5-10 minutes. A crash is going to happen sooner or later.
Sorry for the not so clear description but this is a problem that cannot be reproduced easily (it doesn't happen right after starting the game or by doing certain actions in the game).
Fedora 14 x86 Nvidia GeForce 250 GTS / driver 260.19.29
http://bugs.winehq.org/show_bug.cgi?id=25617
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=25617
--- Comment #1 from GyB gyebro69@gmail.com 2010-12-26 01:44:58 CST --- Created an attachment (id=32619) --> (http://bugs.winehq.org/attachment.cgi?id=32619) log containing out of memory error
On rare occasions there is an out of memory error in the terminal before the crash happens. Despite the fact that I explicitly set the 'VideoMemorySize' registry value to '512'.
http://bugs.winehq.org/show_bug.cgi?id=25617
--- Comment #2 from GyB gyebro69@gmail.com 2011-01-28 14:38:34 CST --- Created an attachment (id=33028) --> (http://bugs.winehq.org/attachment.cgi?id=33028) screen corruption before the crash occurs
The problem still persists for me with wine-1.3.12-174-g58786dc and the demo patched to the latest 1.27 version. The attached screenshot is showing the screen corruption I get before the game becomes unstable and eventually crashes.
http://bugs.winehq.org/show_bug.cgi?id=25617
Tom Kaminski ttkaminski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ttkaminski@gmail.com
--- Comment #3 from Tom Kaminski ttkaminski@gmail.com 2011-01-31 23:54:46 CST --- (In reply to comment #2)
The attached screenshot is showing the screen corruption I get before the game becomes unstable and eventually crashes.
Those red X's are shown in place of an image that failed to load. Not sure exactly why images would fail to load after a few minutes, but it sounds like wine's directx emulation layer is not reporting enough available memory.
http://bugs.winehq.org/show_bug.cgi?id=25617
--- Comment #4 from Tom Kaminski ttkaminski@gmail.com 2011-04-14 00:48:59 CDT --- I've done some more debugging on this issue and found the cause of it. In the main game loop, a specific texture was being released and reloaded (allocated) from file every time (ie. for each rendered frame). This texture is not large, and the game properly releases the texture to free up memory. This isn't a problem in Windows, but it under wine, the allocation of the texture would eventually fail after a few minutes. It seems like wine has some sort of internal limit to the absolute number of textures that can be allocated (even if the previously loaded textures were all freed up).
In any case, I've implemented a simple fix in the Clones code to avoid reloading the same texture over and over again. After this, I was able to run the game for a few hours without a crash. This fix will be included in the upcoming v1.30 patch.
http://bugs.winehq.org/show_bug.cgi?id=25617
--- Comment #5 from Ken Sharp kennybobs@o2.co.uk 2011-04-14 06:24:44 CDT --- Can you provide a test case for Wine?
http://bugs.winehq.org/show_bug.cgi?id=25617
--- Comment #6 from GyB gyebro69@gmail.com 2011-05-13 12:29:37 CDT --- I can no longer reproduce the problem with the newly released, 1.30 version of the game. The previous one (v1.29) still crashes in the same way, after a couple of minutes of gameplay, so the fix came from the game itself, not from Wine. Tested in wine-1.3.19-365-g041a651.
http://bugs.winehq.org/show_bug.cgi?id=25617
--- Comment #7 from GyB gyebro69@gmail.com 2012-02-01 12:22:33 CST --- This is still a problem as of wine-1.4-rc1-73-g57bb089, when running Clones older than v1.30.
http://bugs.winehq.org/show_bug.cgi?id=25617
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Clones crashes after a |Clones <v1.30 crashes after |period of time |some time (occasionally |(occasionally with an out |with an out of memory |of memory error) |error)
http://bugs.winehq.org/show_bug.cgi?id=25617
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t Component|-unknown |directx-d3d
http://bugs.winehq.org/show_bug.cgi?id=25617
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|hoehle@users.sourceforge.ne | |t |
http://bugs.winehq.org/show_bug.cgi?id=25617
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #8 from joaopa jeremielapuree@yahoo.fr 2013-05-09 12:42:11 CDT --- Still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=25617
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- Still present in 1.7.24. I tested with Clones v1.29.
Nvidia binary drivers 331.89 Nouveau 1.0.9
https://bugs.winehq.org/show_bug.cgi?id=25617
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Béla Gyebrószki gyebro69@gmail.com --- This is no longer an issue. Tested in Wine 3.16 with Clones demo v1.29.
https://bugs.winehq.org/show_bug.cgi?id=25617
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.17.