I'm having an issue with window initialization. The crash occurs on the 
GraphicsWindowWin32::setPixelFormat() return. 

Specifically within the ~OpenGLContext() destructor on this line:

Line 558->   ::DestroyWindow(_hwnd);

The crash seems to be caused by some sort of a race condition but I can't seem 
to identify what the cause could be. The _hwnd value always seems to be valid 
and matches the value assigned during the CreateWindowEx() call. Commenting 
DestroyWindow() out works perfectly.

I'm running OSG 3.0.1 and the crash occurs within the osgviewer application as 
well.

My machine is a laptop with both Intel HD Integrated graphics and an Nvidia 
Quadro 4000M. The hard drive has full disk encryption if that makes a 
difference.

Any advice?

Cheers,
Steven

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=46658#46658





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to