http://bugs.winehq.org/show_bug.cgi?id=31747
Bug #: 31747 Summary: Colobot demo crashes when changing rendering settings Product: Wine Version: 1.4-rc1 Platform: x86 URL: http://www.ceebot.com/download/demo/colobotdemo17e.exe OS/Version: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: hverbeet@gmail.com Classification: Unclassified Regression SHA1: 992dbc10786b79959d8b0a790974f6630aa81e3b
Created attachment 41747 --> http://bugs.winehq.org/attachment.cgi?id=41747 terminal output
The game crashes when I change any of the available settings (screen resolution, graphical driver, full-screen/windowed mode) on the Options -> Device screen. The game displays the following error message before crashing: "A DDraw object has a non-zero reference count (meaning it was not properly cleaned up). COLOBOT will now exit."
Steps to reproduce the problem: 1. Install, then start the demo with colobot.exe 2. Create a new player and go to <Options> in the main menu 3. Select the <Device> page and remove the checkmark from the 'Full screen' checkbox. Click on <Apply changes>...the game crashes at this point. Changing anything on this page results in the same crash.
According to my testing, the problem appeared in Wine 1.4-rc1 and is still present in wine-1.5.13-144-ge3a2e3a. The result of the regression test:
992dbc10786b79959d8b0a790974f6630aa81e3b is the first bad commit commit 992dbc10786b79959d8b0a790974f6630aa81e3b Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Jan 17 21:13:35 2012 +0100
ddraw: Maintain D3D state across cooperative level changes.
:040000 040000 9b0a142ccad4726276441d6b1f07d1576b0a9f5d 1cdfa767f8258ffb112b4441d09b0d602f8db3a0 M dlls
Fedora 17 x86 X.Org X Server 1.12.3 Nvidia 250 / driver 304.37