As I mentioned before this requires a test case. I remember from the gl log 
that the program didn't create a WGL context at all. It isn't allowed to make 
opengl calls because of that.

You should figure out why that is done. Either some other check in the program 
failed due to which it wasn't able to create a context OR the application is 
looking for some strange behavior. Perhaps without a context (if Windows allows 
it) you get some GDI software renderer string back or so.

Anyway at this point it sounds like a workaround instead of a fix for the real 
bug.

Roderick

> Hi this fixes http://bugs.winehq.org/show_bug.cgi?id=13599
> 
> A +relay trace shows glGetString is crashing inside glGetString. The cause
> is _not_ a lacking  opengl context setup around glGetString. I did some
> testing and both on windows and wine glGetString  just returns NULL if this
> is the case, but it never crashes inside glGetString:
> 
> /* glGetString without opengl context: */
> 0009:Call opengl32.glGetString(00001f01) ret=004016bc
> 0009:Ret  opengl32.glGetString() retval=00000000 ret=004016bc
> 
> /* Crash from Autocad */
> 
> 0064:Call opengl32.glGetString(00001f01) ret=1000cd58
> 0064:trace:seh:raise_exception code=c0000005 flags=0 addr=0x60ec12f6
> 0064:trace:seh:raise_exception  info[0]=00000000
> /* and never returns*/
> 
> 
> This bug has been reproduced by several other people , so it's also not
> due to a bad gl-setup on my side. In case you want to try , Autocad trial
> 2004 can be downloaded from http://www.brothersoft.com/autocad-78351.html.
> It's the main issue that prevent autocad 2004 up to 2008 from running.
> 
> So for now my conclusion is, this is a nasty bug outside wine, and an
> exception handler is needed to work around the crash. If the patch is rejected
> i would appreciate some input. Thanks and regards
> 
> 
> 
>       __________________________________________________________
> Not happy with your email address?.
> Get the one you really want - millions of new email addresses available
> now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


Reply via email to