http://bugs.winehq.org/show_bug.cgi?id=32020
Bug #: 32020 Summary: Black Mirror 2 crashes after a short time Product: Wine Version: 1.5.15 Platform: x86 URL: http://www.jeuxvideopc.com/demo/12788-the-black-mirror -2.php OS/Version: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: julliard@winehq.org Classification: Unclassified Regression SHA1: b95dd7e831215ca80b341332598df600bd148a36
Created attachment 42204 --> http://bugs.winehq.org/attachment.cgi?id=42204 terminal output
The game usually crashes within 1-3 minutes after a new game was started (or a saved game was loaded). It can be reproduced with the (German) demo version as well, although I can't give you the exact steps to reproduce it, because it is not triggered by a specific event.
In the terminal: ... gdiobj.c:585: GDI_dec_ref_count: Assertion `entry->selcount' failed. ... err:gdi:GDI_CheckNotLock BUG: holding GDI lock err:graphics:USER_CheckNotLock BUG: holding USER lock
The problem appeared after b95dd7e831215ca80b341332598df600bd148a36 is the first bad commit commit b95dd7e831215ca80b341332598df600bd148a36 Author: Alexandre Julliard julliard@winehq.org Date: Wed Oct 17 13:17:56 2012 +0200
gdi32: Store the object selection count directly in the GDI handle table.
:040000 040000 eb24e70abd81fc098debb4edd2ca7366eb7653d7 db2c3b3267af335e36342fef601d05da729c67d6 M dlls
Install and start the demo. Start a new game from the menu (Neues Spiel). Let the 2 intro videos play to the end. There's a good chance that the crash happens in one of the videos. If not, get in the game and interact with the objects around you. Press and hold <Space> to reveal hotspots in the game. Examine objects, read the diary (accessible in the upper right corner) etc. A crash will occur soon.
The demo has a huge download size, I can provide logs or tests if you'd like to.
Fedora 17 Nvidia card / driver 304.51 X.Org X Server 1.12.3 gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC) Wine was compiled with CFLAGS="-g -gdwarf-2 -O2" (the crash happens with -O0 too)
http://bugs.winehq.org/show_bug.cgi?id=32020
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2012-10-20 13:44:26 CDT --- A backtrace of the assert would be useful. Maybe a +gdi trace too.
http://bugs.winehq.org/show_bug.cgi?id=32020
--- Comment #2 from GyB gyebro69@gmail.com 2012-10-20 14:08:33 CDT --- Created attachment 42206 --> http://bugs.winehq.org/attachment.cgi?id=42206 winedbg backtrace
The demo doesn't allow to run the game under winedbg, I created the backtrace with the full version+nocd. A +gdi log is coming but it is huge at first sight.
http://bugs.winehq.org/show_bug.cgi?id=32020
--- Comment #3 from GyB gyebro69@gmail.com 2012-10-20 14:24:11 CDT --- Created attachment 42207 --> http://bugs.winehq.org/attachment.cgi?id=42207 +gdi log (uncompressed 45 MB)
The last 1 million lines from the full log
http://bugs.winehq.org/show_bug.cgi?id=32020
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2012-10-21 04:55:55 CDT --- Created attachment 42211 --> http://bugs.winehq.org/attachment.cgi?id=42211 Fix refcount of stock objects
Please give this a try.
http://bugs.winehq.org/show_bug.cgi?id=32020
--- Comment #5 from GyB gyebro69@gmail.com 2012-10-21 08:35:30 CDT --- The game has been running stable with the patch, thanks.
http://bugs.winehq.org/show_bug.cgi?id=32020
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b0ba7c765e3002eda3e1286c9e2 | |cc502ea6b6a2b Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2012-10-22 13:43:26 CDT --- Fixed by b0ba7c765e3002eda3e1286c9e2cc502ea6b6a2b.
http://bugs.winehq.org/show_bug.cgi?id=32020
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2012-10-26 13:29:41 CDT --- Closing bugs fixed in 1.5.16.