http://bugs.winehq.org/show_bug.cgi?id=34709
--- Comment #6 from Henri Verbeet hverbeet@gmail.com 2013-10-13 03:10:07 CDT --- (In reply to comment #5)
--- snip --- ... 002c:trace:d3d9:d3d9_swapchain_QueryInterface iface 0x1de090, riid {580ca87e-1d3c-4d54-991d-b7d3e3c298ce}, out 0x33d3bc. 002c:warn:d3d9:d3d9_swapchain_QueryInterface {580ca87e-1d3c-4d54-991d-b7d3e3c298ce} not implemented, returning E_NOINTERFACE.
{580ca87e-1d3c-4d54-991d-b7d3e3c298ce} is IID_IDirect3DBaseTexture9, which is a bit suspicious to query for on a swapchain, but not necessarily a problem by itself.
002c:trace:d3d:delete_opengl_contexts Unloading resource 0x11773c90. 002c:trace:d3d:context_acquire device 0x1ecec8, target (nil). 002c:trace:d3d:context_enter Entering context 0x1fd098, level 2. 002c:trace:d3d:context_release Releasing context 0x1fd098, level 2. 002c:trace:d3d:context_acquire device 0x1ecec8, target (nil). 002c:trace:d3d:context_enter Entering context 0x1fd098, level 2. 002c:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7af8f420 ip=7af8f420 tid=002c 002c:trace:seh:raise_exception info[0]=00000000 002c:trace:seh:raise_exception info[1]=00000314 002c:trace:seh:raise_exception eax=00000000 ebx=7d847648 ecx=7cde66a8 edx=00000000 esi=7d5521dc edi=00000000 002c:trace:seh:raise_exception ebp=00000000 esp=0033bd30 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010246 002c:trace:seh:call_vectored_handlers calling handler at 0x791f5a7c code=c0000005 flags=0 --- snip ---
If I'm reading that correctly, it dies inside delete_opengl_contexts(), possibly while unloading the 0x11773c90 resource, which is either a surface or a texture. Any chance you could pin it down a bit further? Turning on +d3d_surface,+d3d_texture should help, if nothing else.