Hi all,

[Config: MSVC9, 32 bits, latest OSG trunk]
I got a strange crash when launching osgViewer. StatsHandler allocates a new 
Camera, and the Camera allocates a StateSet... and this crashes.

Stack trace looks like:
  std::map<std::pair<enum osg::StateAttribute::Type,unsigned 
int>,std::pair<osg::ref_ptr<osg::StateAttribute>,unsigned 
int>,std::less<std::pair<enum osg::StateAttribute::Type,unsigned int> 
>,std::allocator<std::pair<std::pair<enum osg::StateAttribute::Type,unsigned 
int> const ,std::pair<osg::ref_ptr<osg::StateAttribute>,unsigned int> > > 
>::map<std::pair<enum osg::StateAttribute::Type,unsigned 
int>,std::pair<osg::ref_ptr<osg::StateAttribute>,unsigned 
int>,std::less<std::pair<enum osg::StateAttribute::Type,unsigned int> 
>,std::allocator<std::pair<std::pair<enum osg::StateAttribute::Type,unsigned 
int> const ,std::pair<osg::ref_ptr<osg::StateAttribute>,unsigned int> > > >()  
Ligne 104      C++
  osg::StateSet::StateSet()  Ligne 89 + 0x7a octets     C++
  osg::Camera::Camera()  Ligne 40 + 0x22 octets C++
  osgViewer::StatsHandler::StatsHandler()  Ligne 51 + 0x25 octets       C++
  main(int argc=2, char * * argv=0x00f49808)  Ligne 119 + 0x30 octets   C++

Any idea?

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to