http://bugs.winehq.org/show_bug.cgi?id=16516
--- Comment #6 from Alex Bennee bugzilla@bennee.com 2009-08-05 02:50:44 --- (In reply to comment #4)
(In reply to comment #3)
fixme:d3d:debug_fbostatus Unrecognied FBO status 0x00000000 fixme:d3d:context_check_fbo_status FBO status unrecognized (0)
Which driver are you using? Mesa? 0 is not a valid return value for glCheckFramebufferStatus(), you'll want to report that to your driver vendor if it still happens with current versions of the driver. The crash probably happens because the driver returns 0 while rendering onscreen as well, which would result in dereferencing context->current_fbo while it's NULL.
Ok I created a simple test program to check Mesa. Running that I can see glCheckFramebufferStatus() behaving as it should (returning GL_FRAMEBUFFER_COMPLETE 0x8CD5). Is there any way I can dump all the OpenGL commands generated while running wine to see if I can regenerate the failure mode?