Hi,

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)
==1271==    by 0x7BBD5F1: osg::DrawArrayLengths::accept(osg::PrimitiveFunctor&) 
const (PrimitiveSet.cpp:91)
==1271==    by 0x7B2EFE4: osg::Geometry::accept(osg::PrimitiveFunctor&) const 
(Geometry.cpp:2241)
==1271==    by 0x7B123C9: osg::Drawable::computeBound() const (Drawable.cpp:773)
==1271==    by 0x7B2B0BE: osg::Geode::computeBound() const (Drawable:203)
==1271==    by 0x7B68871: osg::Group::computeBound() const (Node:334)
==1271==    by 0x7C2B008: osg::Transform::computeBound() const 
(Transform.cpp:157)
==1271==    by 0x7B68871: osg::Group::computeBound() const (Node:334)
==1271==    by 0x7C2B008: osg::Transform::computeBound() const 
(Transform.cpp:157)
==1271==    by 0x7B68871: osg::Group::computeBound() const (Node:334)
==1271==    by 0x7C2B008: osg::Transform::computeBound() const 
(Transform.cpp:157)
==1271==    by 0x7B68871: osg::Group::computeBound() const (Node:334)
==1271==    by 0x7B68871: osg::Group::computeBound() const (Node:334)
==1271==    by 0x8B76661: osgViewer::ViewerBase::renderingTraversals() 
(Node:334)
==1271==    by 0x8B74B92: osgViewer::ViewerBase::frame(double) 
(ViewerBase.cpp:609)
==1271==    by 0x7A0BE44: avg::OSGNode::preRender() (in 
/opt/data/devel/Archimedes/alib/libavg_plugins/OSG_runs/plugin/osgnode.so)
==1271==    by 0x48A86A9: avg::DivNode::preRender() (DivNode.cpp:227)
==1271==    by 0x48A86A9: avg::DivNode::preRender() (DivNode.cpp:227)
==1271==    by 0x48D5AD3: avg::Canvas::render(avg::Point<int>, bool, 
avg::ProfilingZone&) (Canvas.cpp:239)
==1271==    by 0x48D9969: avg::MainCanvas::render() (MainCanvas.cpp:77)
==1271==    by 0x48D50DF: avg::Canvas::doFrame(bool) (Canvas.cpp:147)
==1271==    by 0x48B6484: avg::Player::doFrame(bool) (Player.cpp:914)
==1271==    by 0x48BDAF7: avg::Player::play() (Player.cpp:433)
==1271==    by 0x47EBF67: 
boost::python::objects::caller_py_function_impl<boost::python::detail::caller<void
 (avg::Player::*)(), boost::python::default_call_policies, 
boost::mpl::vector2<void, avg::Player&> > >::operator()(_object*, _object*) 
(invoke.hpp:94)

Thanks for any help,

  Uli

--
Ulrich von Zadow
Software Engineer (Dipl. Inf.)
Exhibit Development

Tel +49 (0)30 / 2000 577 12
Fax +49 (0)30 / 2000 577 20
Skype: uzadow

Archimedes Solutions GmbH
Saarbrücker Str. 24 10405 Berlin

www.archimedes-solutions.com

Geschäftsführung:
W. Rien | J. Schmidtsiefen | S. Spenling

Amtsgericht: Berlin Charlottenburg
HR Nr.: 107563 B
UST-ID Nr.: DE-253.771.793








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

Reply via email to