http://bugs.winehq.org/show_bug.cgi?id=13599
--- Comment #55 from max@veneto.com 2008-06-29 05:18:05 --- (In reply to comment #54)
Created an attachment (id=14441)
--> (http://bugs.winehq.org/attachment.cgi?id=14441) [details]
+wgl,+opengl,+seh,+x11drv
Very strange stuff is happening. For instance the app is receiving a gl_drawable but then a next call it can be gone again: 0013:trace:x11drv:X11DRV_ExtEscape SET_DRAWABLE hdc 0x51d8 drawable 3600045 gl_drawable 0 pf 0 dc_rect (72,95)-(423,134) drawable_rect (268,209 )-(756,560) 0013:trace:x11drv:X11DRV_ExtEscape SET_DRAWABLE hdc 0x51d8 drawable 3600045 gl_drawable 0 pf 0 dc_rect (72,95)-(423,134) drawable_rect (268,209 )-(756,560) 0013:trace:x11drv:X11DRV_ExtEscape SET_DRAWABLE hdc 0x51d8 drawable 3600045 gl_drawable 3600045 pf 0 dc_rect (0,0)-(488,351) drawable_rect (268 ,209)-(756,560) 0013:trace:x11drv:X11DRV_ExtEscape SET_DRAWABLE hdc 0x51d8 drawable 3600045 gl_drawable 0 pf 0 dc_rect (72,95)-(423,134) drawable_rect (268,209 )-(756,560) 0013:trace:x11drv:X11DRV_ExtEscape SET_DRAWABLE hdc 0x51d8 drawable 3600045 gl_drawable 0 pf 0 dc_rect (72,95)-(423,134) drawable_rect (268,209 )-(756,560)
Further I never see a call to X11DRV_set_win_format which is the call which must create the drawable. I don't see the glGetString call here but I see softwareRenderer getting called and it is 0xc0000005 error. I explicitly set WINEDEBUG as an environment variable but still it doesn't help. I get the impression that somehow not all debug info appears and that some strange stuff is happening. I doubt it is just GL.
The glGetString is indeed called by the custom action (softwareemulation in log). I put some traces inside wine_glGetString() and it's called, crashing on glGetString call inside it. I've noticed too that it doesn't appear on logs, but I guess it's because of missing traces in wine_glGetString(). You can see it with a +relay, or adding traces. The crash IS in glGetString(), but I think too that something is happening before it. Context IS null on glGetString call.
Max