I still get a crash here, perhaps a simple mutex around cleanup_frame()?
Dan
Thread 0 Crashed:
0 libGL.dylib 0x92e67088 glDeleteLists + 88
1 libosg.dylib 0x010377b4 osg::Drawable::releaseGLObjects
(osg::State*) const + 200
2 libosg.dylib 0x0104b720 osg::Geode::releaseGLObjects
(osg::State*) const + 80
3 libosg.dylib 0x010691e0 osg::Group::releaseGLObjects
(osg::State*) const + 80
4 libosg.dylib 0x010691e0 osg::Group::releaseGLObjects
(osg::State*) const + 80
5 libosg.dylib 0x010691e0 osg::Group::releaseGLObjects
(osg::State*) const + 80
6 libosg.dylib 0x01020324 osg::CameraNode::releaseGLObjects
(osg::State*) const + 1048
7 libosgUtil.dylib 0x0052c460
osgUtil::SceneView::releaseAllGLObjects() + 64
8 libosgProducer.dylib 0x0006dd8c
osgProducer::OsgCameraGroup::cleanup_frame() + 76
9 osgviewer 0x00004d18 main + 2584
10 osgviewer 0x00002b04 _start + 340 (crt.c:272)
11 osgviewer 0x000029ac start + 60
Thread 1:
0 libSystem.B.dylib 0x9002c2e8 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x90030dcc pthread_cond_wait + 480
2 QtCore 0x012ca55c QWaitCondition::wait(QMutex*,
unsigned long) + 276
3 libOpenThreads.dylib 0x002a7c3c OpenThreads::Barrier::block
(unsigned) + 244 (Barrier.cpp:88)
4 libProducer.dylib 0x00218710 Producer::Camera::run() + 128
5 libOpenThreads.dylib 0x002a9b1c
OpenThreads::ThreadPrivateData::run() + 68 (ThreadPrivateData.h:22)
6 QtCore 0x012c97ec QThreadPrivate::start(void*) + 228
7 libSystem.B.dylib 0x9002bc28 _pthread_body + 96
Thread 2:
0 libSystem.B.dylib 0x9002c2e8 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x90030dcc pthread_cond_wait + 480
2 QtCore 0x012ca55c QWaitCondition::wait(QMutex*,
unsigned long) + 276
3 libOpenThreads.dylib 0x002a7c3c OpenThreads::Barrier::block
(unsigned) + 244 (Barrier.cpp:88)
4 libProducer.dylib 0x00218710 Producer::Camera::run() + 128
5 libOpenThreads.dylib 0x002a9b1c
OpenThreads::ThreadPrivateData::run() + 68 (ThreadPrivateData.h:22)
6 QtCore 0x012c97ec QThreadPrivate::start(void*) + 228
7 libSystem.B.dylib 0x9002bc28 _pthread_body + 96
Thread 3:
0 libSystem.B.dylib 0x9000b268 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b1bc mach_msg + 60
2 com.apple.opengl 0x93647d60 glcDebugListener + 252
3 libSystem.B.dylib 0x9002bc28 _pthread_body + 96
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/