I have another theory about the crash, let's say that :

osg::Object* object = osgDB::readObjectFile(foundFile, userOptions ?
userOptions : localOptions.get());

read the object from the cache, and between this moment and the one where
the font object is set to a ref_ptr into setFont, the cache is cleared (into
another thread). With this scenario the pointer points to a deleted object
or is there anything to prevent it ?

In my case this scenario is possible as I load my IVE with the databasepager
and that I remove the expired objects into the main thread.

-- 
Serge Lages
http://www.tharsis-software.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to