http://bugs.winehq.org/show_bug.cgi?id=14779
--- Comment #3 from H. Verbeet hverbeet@gmail.com 2008-08-07 02:50:19 ---
err:d3d:CreateContext SetPixelFormat failed on HDC=0x370 for iPixelFormat=3 err:d3d:IWineD3DDeviceImpl_CreateAdditionalSwapChain Failed to create a new context fixme:d3d:IWineD3DDeviceImpl_CreateAdditionalSwapChain (0x138680) Something's still holding the front buffer fixme:d3d9:IDirect3DDevice9Impl_CreateAdditionalSwapChain (0x1349b0) call to IWineD3DDevice_CreateAdditionalSwapChain failed wine: Unhandled page fault on read access to 0x00000008 at address 0x7cd84503 (thread 0009), starting debugger...
The crash is caused by the shader backend getting freed before it's allocated, due to CreateAdditionalSwapChain() failing. That's indeed a bug, and I'll create a patch for that. Figuring out why CreateContext()/SetPixelFormat() fails in the first place is probably more interesting though.