http://bugs.winehq.org/show_bug.cgi?id=18901
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2009-06-12 09:51:24 --- (In reply to comment #2)
trace:d3d:DestroyContext Destroying ctx 0x14c6f0 trace:d3d:DestroyContext Destroy dst FBO 1
...
trace:d3d:context_clean_fbo_attachments glFramebufferTexture2D() call ok context.c / 71 wine: Unhandled page fault on read access to 0x00000004 at address 0x7e007038 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x7e007038). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7e007038 ESP:0039fb80 EBP:7ccbf7a0 EFLAGS:00010246( R- -- I Z- -P- ) EAX:00000000 EBX:7c3fd658 ECX:000000a1 EDX:00000000 ESI:00000000 EDI:00000000 Stack dump: 0x0039fb80: 7ccbf814 7cca4980 7ccbf814 7dd22211 0x0039fb90: 7ccb36a4 7ccbf814 7ccbf7c0 7cca4980 0x0039fba0: 7cc8f000 00000001 00000008 7daf5662 0x0039fbb0: 7cc8f000 00000000 7cca4980 7ccbf7a0 0x0039fbc0: 0380000c 7ccbf7a0 00000008 7cc8f000 0x0039fbd0: 00000000 00000000 00000000 7dfd0c2a Backtrace: =>0 0x7e007038 in libglcore.so.1 (+0x863038) (0x7ccbf7a0) 0x7e007038: movl 0x4(%eax),%eax
It seems to die on "glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);" in context_destroy_fbo(). I can't say for sure if this is our bug or something in the driver, but I don't see anything obvious we could be doing wrong. Perhaps nvidia has an idea about what's happening here.