Hi Robert, Thanks for the hint, it seems to be my fault. I opened the OpenThreads/Config file to see the method used, and everything was commented... I hade to remove my CMakeCache.txt to have the file generated again and use the atomic pointers. Now it works like a charm !
On Thu, Jun 26, 2008 at 4:54 PM, Robert Osfield <[EMAIL PROTECTED]> wrote: > 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 > -- Serge Lages http://www.tharsis-software.com
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

