hello everyone,
    Recently,i had a problem with Osg 2.8 static lib in VS2008. My test example 
is osgstaticviewer.When the program exit,there is a crash.
    The stack trace is below:
    MyTest.exe!OpenThreads::Mutex::lock()  + 0xa 字节 C++
    MyTest.exe!osg::StateSet::removeParent()  + 0x1f 字节 C++
    MyTest.exe!osg::StateSet::clear()  + 0x8c 字节 C++
    MyTest.exe!osg::StateSet::~StateSet()  + 0x3c 字节 C++
    MyTest.exe!osg::StateSet::`vector deleting destructor'()  + 0x8 字节 C++
    MyTest.exe!osgUtil::RenderBin::~RenderBin()  + 0x76 字节 C++
    MyTest.exe!osgUtil::RenderBin::`scalar deleting destructor'()  + 0x8 字节 C++
    
MyTest.exe!std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > const ,osg::ref_ptr<osgDB::Archive>    
>::~pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > 
const ,osg::ref_ptr<osgDB::Archive> >()  + 0x64 字节 C++
    
MyTest.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char>
   
>,osg::ref_ptr<osgUtil::RenderBin>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > 
>,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > const ,osg::ref_ptr<osgUtil::RenderBin> > >,0> >::_Erase()  + 0x26 字节 C++
    
MyTest.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 
>,osg::ref_ptr<osg::Image>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > 
>,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > const ,osg::ref_ptr<osg::Image> > >,0> >::erase()  + 0x58 字节 C++
    
MyTest.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 >,osg::ref_ptr<osgFX::Effect const 
>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> 
> 
>,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > const ,osg::ref_ptr<osgFX::Effect const > > >,0> 
>::~_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 >,osg::ref_ptr<osgFX::Effect const 
>,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> 
> 
>,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > const ,osg::ref_ptr<osgFX::Effect const > > >,0> >()  + 0x49 字节 C++
    MyTest.exe!RenderBinPrototypeList::~RenderBinPrototypeList()  + 0x3e 字节 C++
    MyTest.exe!RenderBinPrototypeList::`scalar deleting destructor'()  + 0x8 字节 
C++
    MyTest.exe!__ceil_default()  + 0x1d3b5 字节 C++
  > MyTest.exe!doexit(int code=0, int quick=0, int retcaller=0)  行591 C
    MyTest.exe!exit(int code=0)  行412 + 0xc 字节 C
    MyTest.exe!__tmainCRTStartup()  行272 C

    Anyone can help me with this problem? Thank you .
 


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

Reply via email to