-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello,
Robert Osfield wrote: > Could users that have seen problems with crash on exit, or with the > CullThreadPerCameraDrawThreadPerContext threading model do a svn > update and let me know how you get on. > I have updated to the current HEAD and tested it. DrawThreadPerContext doesn't seem to hang anymore, at least I wasn't able to reproduce the hang so far. CullThreadPerCameraDrawThreadPerContext is still hanging right at the first frame for me, but the deadlock seems to occur at a different place. The backtrace looks as follows: Thread 1: #0 0xb7f197f2 in _dl_sysinfo_int80 () at rtld.c:788 #1 0xb7a4e206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb7a800a8 in OpenThreads::Condition::wait (this=0x83300b8, mutex=0x83300b0) at /media/backup/osg/OpenSceneGraph/src/OpenThreads/pthreads/PThreadCondition.c++:130 #3 0xb7b025f1 in osgViewer::Viewer::renderingTraversals (this=0xbf80d07c) at /media/backup/osg/OpenSceneGraph/include/OpenThreads/Block:133 #4 0xb7b087e3 in osgViewer::Viewer::frame (this=0xbf80d07c, simulationTime=1.7976931348623157e+308) at /media/backup/osg/OpenSceneGraph/src/osgViewer/Viewer.cpp:992 #5 0xb7b0893a in osgViewer::Viewer::run (this=0xbf80d07c) at /media/backup/osg/OpenSceneGraph/src/osgViewer/Viewer.cpp:194 #6 0x0804b069 in main (argc=Cannot access memory at address 0x0 ) at /media/backup/osg/OpenSceneGraph/applications/osgviewer/osgviewer.cpp:148 Thread 2: #0 0xb7f197f2 in _dl_sysinfo_int80 () at rtld.c:788 #1 0xb7a4e206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb7a7fc65 in OpenThreads::Barrier::block (this=0x8330194, numThreads=0) at /media/backup/osg/OpenSceneGraph/src/OpenThreads/pthreads/PThreadBarrier.c++:182 #3 0xb7e1df8f in osg::BarrierOperation::operator() (this=0x8330188, object=0x8058328) at /media/backup/osg/OpenSceneGraph/src/osg/GraphicsThread.cpp:73 #4 0xb7e47547 in osg::OperationThread::run (this=0x8330720) at /media/backup/osg/OpenSceneGraph/src/osg/OperationThread.cpp:413 #5 0xb7a7f7e4 in OpenThreads::ThreadPrivateActions::StartThread (data=0x8330730) at /media/backup/osg/OpenSceneGraph/src/OpenThreads/pthreads/PThread.c++:158 #6 0xb7a4a462 in start_thread () from /lib/i686/libpthread.so.0 #7 0xb766782e in clone () from /lib/i686/libc.so.6 Thread 3 #0 0xb7f197f2 in _dl_sysinfo_int80 () at rtld.c:788 #1 0xb7a4e206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0 #2 0xb7a800a8 in OpenThreads::Condition::wait (this=0x8059148, mutex=0x8059140) at /media/backup/osg/OpenSceneGraph/src/OpenThreads/pthreads/PThreadCondition.c++:130 #3 0xb7ae252f in osgViewer::Renderer::TheadSafeQueue::takeFront (this=0x8059138) at /media/backup/osg/OpenSceneGraph/include/OpenThreads/Block:42 #4 0xb7ae6501 in osgViewer::Renderer::draw (this=0x80590c0) at /media/backup/osg/OpenSceneGraph/src/osgViewer/Renderer.cpp:306 #5 0xb7ae6fa8 in osgViewer::Renderer::operator() (this=0xfffffe00, context=0x80aee00) at /media/backup/osg/OpenSceneGraph/src/osgViewer/Renderer.cpp:560 #6 0xb7e17a4f in osg::GraphicsContext::runOperations (this=0x80aee00) at /media/backup/osg/OpenSceneGraph/src/osg/GraphicsContext.cpp:654 #7 0xb7e1decd in osg::RunOperations::operator() (this=0x8330680, context=0x80aee00) at /media/backup/osg/OpenSceneGraph/src/osg/GraphicsThread.cpp:134 #8 0xb7e1df37 in osg::GraphicsOperation::operator() (this=0x8330680, object=0x80aee00) at /media/backup/osg/OpenSceneGraph/src/osg/GraphicsThread.cpp:50 #9 0xb7e47547 in osg::OperationThread::run (this=0x8330380) at /media/backup/osg/OpenSceneGraph/src/osg/OperationThread.cpp:413 #10 0xb7e1e079 in osg::GraphicsThread::run (this=0x8330380) at /media/backup/osg/OpenSceneGraph/src/osg/GraphicsThread.cpp:38 #11 0xb7a7f7e4 in OpenThreads::ThreadPrivateActions::StartThread (data=0x8330390) at /media/backup/osg/OpenSceneGraph/src/OpenThreads/pthreads/PThread.c++:158 #12 0xb7a4a462 in start_thread () from /lib/i686/libpthread.so.0 #13 0xb766782e in clone () from /lib/i686/libc.so.6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iD8DBQFGzKZFn11XseNj94gRAilYAJ0eaEbLK9Og0ZGlTkMuj/kitmox4ACZAY96 PiqznkcuwveZ3UM0WBDhGyc= =t5Bl -----END PGP SIGNATURE----- _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

