Hi Uli,

On 14/05/10 2:06 , Ulrich von Zadow wrote:
> I'm running into a crash when displaying collada files. The same collada 
> files load
> cleanly in osgviewer, and other files load cleanly in my app. So this is 
> probably a bug in
> my code, but still - maybe someone here has an idea what's wrong. The setup 
> is very
> similar to osgscreencapture. Everything is being rendered into a pbuffer.
> 
> The first symptom that something is wrong is this output when running in 
> valgrind:
> 
> View::init()
> Done DatabasePager::addLoadedDataToSceneGraph0.497ms, 0.21ms  objects0
> 
> ==1271== 
> ==1271== Conditional jump or move depends on uninitialised value(s)
> ==1271==    at 0x7B19753: ComputeBound::vertex(osg::Vec3f const&) 
> (BoundingBox:149)
> ==1271==    by 0x7B18401: ComputeBound::drawArrays(unsigned int, int, int) 
> (Drawable.cpp:690)

What I'd try first is to save the scenegraph to a file and check that for 
anything out of
the ordinary.

Are you able to get a stack trace from the crash?  Is it in the same spot that 
valgrind is
reporting?

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

Reply via email to