Is there anybody else here who can easily crash osgViewer when pressing 's' 3 or 4 times?

I'm running quite a complex model, and I can reproduce the crash everytime. I can reproduce it on both WinXP and Vista x64. Sometimes it crashes when 's' has been pressed 3 times, and sometime when it is presses 4 times. When using a simpler model, it is more difficult to make it crash.

If the camera is standing still and I display the detailed stats, it doesn't seem to crash. But as soon as I start to move around it crashes.

It is in stl's vector header file where things stops:

_DEBUG_ERROR("vector iterator not dereferencable");

Callstack is attached as a text file, so unwanted linebreaks are avoided.


Oh.. By the way... I just discovered that the crashes does not seem to appear when running single threaded...





--
Joakim Simonsson
msvcp80d.dll!std::_Debug_message(const wchar_t * message=0x01a75578, const 
wchar_t * file=0x01a74ec8, unsigned int line=99)  Line 24
osg51-osgUtild.dll!std::_Vector_const_iterator<osgUtil::StateGraph 
*,std::allocator<osgUtil::StateGraph *> >::operator*()  Line 99 + 0x14 bytes
osg51-osgUtild.dll!osgUtil::RenderBin::getStats(osgUtil::Statistics & 
stats={...})  Line 518 + 0x17 bytes
osg51-osgUtild.dll!osgUtil::RenderBin::getStats(osgUtil::Statistics & 
stats={...})  Line 538 + 0x1d bytes
osg51-osgUtild.dll!osgUtil::RenderStage::getStats(osgUtil::Statistics & 
stats={...})  Line 1296 + 0xc bytes
osg51-osgUtild.dll!osgUtil::SceneView::getStats(osgUtil::Statistics & 
stats={...})  Line 1694
osg51-osgViewerd.dll!osgViewer::CameraSceneStatsTextDrawCallback::drawImplementation(osg::RenderInfo
 & renderInfo={...}, const osg::Drawable * drawable=0x08d3f7f0)  Line 359 + 
0x1e bytes
osg51-osgd.dll!osg::Drawable::draw(osg::RenderInfo & renderInfo={...})  Line 
896 + 0x27 bytes
osg51-osgUtild.dll!osgUtil::RenderLeaf::render(osg::RenderInfo & 
renderInfo={...}, osgUtil::RenderLeaf * previous=0x03d4bb60)  Line 60 + 0x19 
bytes
osg51-osgUtild.dll!osgUtil::RenderBin::drawImplementation(osg::RenderInfo & 
renderInfo={...}, osgUtil::RenderLeaf * & previous=0x03d4bb60)  Line 419 + 0x19 
bytes
osg51-osgUtild.dll!osgUtil::RenderBin::draw(osg::RenderInfo & renderInfo={...}, 
osgUtil::RenderLeaf * & previous=0x03d4bb60)  Line 384 + 0x17 bytes
osg51-osgUtild.dll!osgUtil::RenderBin::drawImplementation(osg::RenderInfo & 
renderInfo={...}, osgUtil::RenderLeaf * & previous=0x03d4bb60)  Line 469 + 0x35 
bytes
osg51-osgUtild.dll!osgUtil::RenderStage::drawImplementation(osg::RenderInfo & 
renderInfo={...}, osgUtil::RenderLeaf * & previous=0x03d4bb60)  Line 1253
osg51-osgUtild.dll!osgUtil::RenderBin::draw(osg::RenderInfo & renderInfo={...}, 
osgUtil::RenderLeaf * & previous=0x03d4bb60)  Line 384 + 0x17 bytes
osg51-osgUtild.dll!osgUtil::RenderStage::drawInner(osg::RenderInfo & 
renderInfo={...}, osgUtil::RenderLeaf * & previous=0x03d4bb60, bool & 
doCopyTexture=false)  Line 848
osg51-osgUtild.dll!osgUtil::RenderStage::draw(osg::RenderInfo & 
renderInfo={...}, osgUtil::RenderLeaf * & previous=0x03d4bb60)  Line 1108 + 
0x1b bytes
osg51-osgUtild.dll!osgUtil::SceneView::draw()  Line 1504 + 0x37 bytes
osg51-osgViewerd.dll!osgViewer::Renderer::cull_draw()  Line 545 + 0xf bytes
osg51-osgViewerd.dll!osgViewer::Renderer::operator()(osg::GraphicsContext * 
context=0x0a4a8d28)  Line 646 + 0xf bytes
osg51-osgd.dll!osg::GraphicsContext::runOperations()  Line 688 + 0x33 bytes
osg51-osgd.dll!osg::RunOperations::operator()(osg::GraphicsContext * 
context=0x0a4a8d28)  Line 135
osg51-osgd.dll!osg::GraphicsOperation::operator()(osg::Object * 
object=0x0a4a8d28)  Line 50 + 0x19 bytes
osg51-osgd.dll!osg::OperationThread::run()  Line 413 + 0x26 bytes
osg51-osgd.dll!osg::GraphicsThread::run()  Line 40
ot11-OpenThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread(void * 
data=0x0a752994)  Line 113 + 0xf bytes

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to