http://bugs.winehq.org/show_bug.cgi?id=12246
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d
--- Comment #18 from Dan Kegel dank@kegel.com 2008-05-13 16:55:12 --- Oooh, and running it on a different machine gave a juicy crash rather than a failure:
Unhandled exception: page fault on write access to 0xaaaaaaaa in 32-bit code (0x601e822e). Backtrace: =>1 0x601e822e (0x0032f8d8) 2 0x612c2ad3 IWineD3DDeviceImpl_ResourceReleased+0x509(iface=?, resource=0x154518) [dlls/wined3d/device.c:7408] 3 0x612f86b4 IWineD3DResourceImpl_CleanUp+0x109(iface=?) [dlls/wined3d/resource.c:90] 4 0x61321b42 IWineD3DSurfaceImpl_Release+0x13a(iface=0x154518) [dlls/wined3d/surface.c:467] 5 0x612c1d76 IWineD3DDeviceImpl_SetRenderTarget+0x97(iface=0x12b900, RenderTargetIndex=0x0, pRenderTarget=?) [dlls/wined3d/device.c:6713] 6 0x6126a916 IDirect3DDevice9Impl_SetRenderTarget+0x58(iface=?, RenderTargetIndex=?, pRenderTarget=?) [dlls/d3d9/device.c:685] 7 0x60cf9196 revert_render_target+0x34(device=?, data=0x32fe64) [dlls/d3d9/tests/stateblock.c:313] 8 0x60cf8b6d execute_test_chain+0x5d(device=0x129f38, test=0x32fc50, ntests=0x5, event=0x32fe04, nevents=0x3, event_arg=0x32fe64) [dlls/d3d9/tests/stateblock.c:180] 9 0x60cfacdb func_stateblock+0x735() [dlls/d3d9/tests/stateblock.c:469]
This agrees fairly closely with the valgrind results on another machine (with wine from git only a few hours out of sync, if any):
Invalid read of size 4 at ActivateContext (context.c:962) by IWineD3DDeviceImpl_ResourceReleased (device.c:7408) by IWineD3DResourceImpl_CleanUp (resource.c:90) by IWineD3DSurfaceImpl_Release (surface.c:465) by IWineD3DDeviceImpl_SetRenderTarget (device.c:6711) by IDirect3DDevice9Impl_SetRenderTarget (device.c:685) by revert_render_target (stateblock.c:313) by execute_test_chain (stateblock.c:180) by func_stateblock (stateblock.c:467)
Please, some D3D guy, fix :-)