I'm getting a crash in OpenSceneGraph/src/osg/program.cpp in the void
GL2Extensions::glDeleteShader(GLuint shader) const function on this
line:

((DeleteShaderProc)_glDeleteShader)(shader);

The crash occurs in the debugger (VS 2005). This is on Vista 64 using
a nVidia 8800 GTX w/latest drivers. I've tried OSG 2.2 Stable as well
as the latest SVN trunk. This just started when I added an extremely
simple shader to my app.

Any tips on diagnosing this?



Here's the call stack

        nvoglv32.dll!696fd3d6()         
        [Frames below may be incorrect and/or missing, no symbols loaded for
nvoglv32.dll]
>       osg25-osgd.dll!osg::GL2Extensions::glDeleteShader(unsigned int
shader=2)  Line 627 + 0xe bytes C++
        osg25-osgd.dll!osg::Shader::flushDeletedGlShaders(unsigned int
contextID=0, double __formal=67.800656088972204, double &
availableTime=100.00000000000000)  Line 78      C++
        osg25-osgd.dll!osg::GraphicsContext::close(bool
callCloseImplementation=true)  Line 473 + 0x25 bytes    C++
        osg25-osgViewerd.dll!osgViewer::CompositeViewer::~CompositeViewer()
Line 107 + 0x14 bytes   C++
        osg25-osgViewerd.dll!osgViewer::CompositeViewer::`vbase
destructor'()  + 0x1d bytes     C++
        osgvislib_driver_mfc.exe!osgViewer::CompositeViewer::`scalar
deleting destructor'()  + 0x34 bytes    C++
        osg25-osgd.dll!osg::Referenced::unref()  Line 155 + 0x23 bytes  C++
        
osgvislib_driver_mfc.exe!osg::ref_ptr<osgViewer::CompositeViewer>::~ref_ptr<osgViewer::CompositeViewer>()
 Line 30 + 0x47 bytes   C++
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to