Hi Serge, On Thu, Jun 26, 2008 at 3:43 PM, Serge Lages <[EMAIL PROTECTED]> wrote: > Forget to mention, in release before the crash I had this message : > > Warning: deleting still referenced object 0145DFF8 of type 'class > osg::Referenced *' > the final reference count was 2, memory corruption possible. > > It seems someone force the delete of the SwapBuffersOperation...
It's sounds like reference counting has going awol on this object, this particular object is no different than any other osg::GraphicsOperation/osg::Operation, and which just subclass from osg::Referenced. There isn't any codes that do explicit calls to delete graphics operations, including SwapBuffersOperation, and as I believe all usage of them will be going via osg::ref_ptr<>, so it does sound like for some reason reference count is getting corrupted. Could this be related to Mathias' recent changes? Could you tweak your OpenThreads/Config so that OpenThreads/OSG build using the old slow Mutexed reference counting? Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

