I can still reliably reproduce the multithreaded osgText /
databasepager crash issue   :)

On Dec 11, 2007 1:59 PM, Robert Osfield <[EMAIL PROTECTED]> wrote:
> Hi Serge,
>
> How reliably can you recreate the crash?
>
> Does it happen with osgviewer or other OSG examples?
>
> Could you explain whats happening in your app before the crash.
>
> If we can work out the conditions that the crash happens we'll have a
> much better chance of isolation. It could be as your describe an
> object be deleted just when another thread is about to take a ref to
> it, I would have thought this would be a pretty rare condition though.
>
> Robert.
>
>
> On Dec 11, 2007 3:55 PM, Serge Lages <[EMAIL PROTECTED]> wrote:
> > 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
> > osg-users@lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to