Re: [osg-users] Crash with new StatsHandler?

2010-11-04 Thread Robert Osfield
Hi Sukender,

The pointer values suggest to be a dangling pointer of somekind, so
perhaps an uninitialized variables.  Another possibility is simply
that you've compiled against one version of the OSG and are now
linking at runtime to another, so perhaps a clean build and purge of
all install OSG libs would do the trunk.

Robert.

On Thu, Nov 4, 2010 at 3:38 PM, Sukender  wrote:
> 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 int>,std::pair,unsigned 
> int>,std::less 
> >,std::allocator int> const ,std::pair,unsigned int> > > 
> >::map int>,std::pair,unsigned 
> int>,std::less 
> >,std::allocator int> const ,std::pair,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
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Crash with new StatsHandler?

2010-11-04 Thread Sukender
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,unsigned 
int>,std::less 
>,std::allocator const ,std::pair,unsigned int> > > 
>::map,std::pair,unsigned 
int>,std::less 
>,std::allocator const ,std::pair,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