Hi Nick, > attached is the sample that crashes. Please let me know if crash for you as > well
I've just tested you osgviewer.cpp and it doesn't crash for me, but.. some debugging that I added into my include/osg/observer_ptr reports a mismatch of pointers. When I run the standard osgviewer it doesn't report any mismatched pointers so the error does look like they are carried over linux just fine, even if the crash doesn't occur. Here's my output: Constructor ReaderWriterOSG2 - loaded OK Constructor OSGReaderWriter - loaded OK ObserverPtr::objectDeleted(0x92d200) _ptr and obj agree ObserverPtr::objectDeleted(0x92d200) _ptr and obj agree ObserverPtr::objectDeleted(0x92d200) _ptr and obj agree ObserverPtr::objectDeleted(0x9a4250) _ptr and obj agree ObserverPtr::objectDeleted(0x9a4250) _ptr and obj agree ******* Warning ObserverPtr::objectDeleted(0x92d0f8) _ptr and obj disagree, _ptr=0x92cfb0 ObserverPtr::objectDeleted(0x9364c0) _ptr and obj agree ObserverPtr::objectDeleted(0x9364c0) _ptr and obj agree ObserverPtr::objectDeleted(0x9364c0) _ptr and obj agree ObserverPtr::objectDeleted(0x936e50) _ptr and obj agree ObserverPtr::objectDeleted(0x936e50) _ptr and obj agree ObserverPtr::objectDeleted(0x936e50) _ptr and obj agree ObserverPtr::objectDeleted(0x92d9d0) _ptr and obj agree I've attached my modified observer_ptr. Now that I have the error report I'll start digging into why the pointers have got to a point where they disagree, and which object it is. In your own tests was it the viewer pointer that looked at fault? Robert.
observer_ptr
Description: Binary data
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

