Hi all, My application is getting really unstable whenever I start or kill a thread. The seg fault occurred randomly (as sometimes it is ok), but most of the time it crashed with fault either when I start a new thread to something or when I close a thread after something was done.
This is the backtrack from gdb.. As it does not trace back to my code, I find it difficult to understand the crash.. so hope that someone can give me a hint of what is happening and on how to solve this seg fault. Thanks in advance. :) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1442964560 (LWP 6572)] 0x004189b7 in osgUtil::RenderLeaf::render () from /usr/local/lib/libosgUtil.so (gdb) bt #0 0x004189b7 in osgUtil::RenderLeaf::render () from /usr/local/lib/libosgUtil.so #1 0x0040f24b in osgUtil::RenderBin::drawImplementation () from /usr/local/lib/libosgUtil.so #2 0x0040f025 in osgUtil::RenderBin::draw () from /usr/local/lib/libosgUtil.so #3 0x0040f2e3 in osgUtil::RenderBin::drawImplementation () from /usr/local/lib/libosgUtil.so #4 0x00420f94 in osgUtil::RenderStage::drawImplementation () from /usr/local/lib/libosgUtil.so #5 0x0040f025 in osgUtil::RenderBin::draw () from /usr/local/lib/libosgUtil.so #6 0x0041acaa in osgUtil::RenderStage::drawInner () from /usr/local/lib/libosgUtil.so #7 0x00420b33 in osgUtil::RenderStage::draw () from /usr/local/lib/libosgUtil.so #8 0x00437516 in osgUtil::SceneView::draw () from /usr/local/lib/libosgUtil.so #9 0x001b8f36 in osgProducer::OsgSceneHandler::drawImplementation () from /usr/local/lib/libosgProducer.so #10 0x001b9692 in osgProducer::OsgSceneHandler::draw () from /usr/local/lib/libosgProducer.so #11 0x0032f2ef in Producer::Camera::_frame () from /usr/local/lib/libProducer.so #12 0x0032f70e in Producer::Camera::frame () from /usr/local/lib/libProducer.so #13 0x0032f7b8 in Producer::Camera::run () from /usr/local/lib/libProducer.so #14 0x001ed4ae in OpenThreads::ThreadPrivateActions::StartThread () from /usr/local/lib/libOpenThreads.so #15 0x00d76b80 in start_thread () from /lib/libpthread.so.0 #16 0x00995dee in clone () from /lib/libc.so.6
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
