http://bugs.winehq.org/show_bug.cgi?id=23201
Summary: Motocross Madness 2 crashes at start (d3d) Product: Wine Version: 1.1.30 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: wylda@volny.cz CC: hverbeet@gmail.com
I wanted to retest bug 17836, but my effort failed shortly. When mcm2 is run, it should test graphics capabilities and display classical window "Please choose a 3d card: 1. Software Rasterization / 2. DirectDraw HAL". But instead the game crashes.
1. I did a regression test between 1.1.29 and 1.1.30:
commit a5214c306fd82982ed10fd8221ac00230186c9a6 Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Sep 16 08:37:15 2009 +0200
wined3d: Don't free D3D surfaces until the wined3d surface is destroyed.
This prevents for example a d3d9 depth stencil from being destroyed when it has no external references but is still in use by the device/stateblock. A nice side effect is that it simplifies handling of "implicit" surfaces like the frontbuffer and backbuffers, as well as the forwarding of reference counts for surfaces that are part of a texture.
:040000 040000 24e610b0502bc1b177c2cdec22035c38a2581cc1 3e211f4bc9744d63bb0676c3b94c70a92126d152 M dlls :040000 040000 77d1ddb78de3dd7f4a0a4c507bb1aa8eb1c5485e a1eb37aef7e2858a84da6ef9ac043f97d0d85108 M include
2. No other bug report suffers from this commit.
3. Revert of this patch after git checkout makes that problem go away.
--private keyword: bisected