Hi Cedric,

I suspect this problem might have been lurking in 2.0 as well, and its
just timing on destruction that has revealed it now.  The problems
lies in the DeleteHandler caching objects and changing the destruction
order.  Changing the threading model to SingleThreaded or
CullDrawThreadPerContext will prevent the use of DeleteHandler and fix
the problem.   I haven't yet worked out the best well so solve the
problem with DeleteHandler, but I am on the case.

BTW, What hardware/OS set up do you have?

Robert.

On 8/31/07, Cedric Pinson <[EMAIL PROTECTED]> wrote:
> I switch from stable version 2.0 to 2.1.8 and my program crash when i
> exit. I will try tomorow with a debug version
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1230386960 (LWP 23961)]
> 0xb7baa88b in osgText::Font::setImplementation () from
> /usr/lib/libosgText.so.19
> (gdb) bt
> #0  0xb7baa88b in osgText::Font::setImplementation () from
> /usr/lib/libosgText.so.19
> #1  0xb7fc2f12 in FreeTypeLibrary::~FreeTypeLibrary () from
> /usr/lib/osgPlugins-2.1.8/osgdb_freetype.so
> #2  0xb7e67747 in osg::DeleteHandler::flushAll () from /usr/lib/libosg.so.19
> #3  0xb7a3b509 in ?? () from /usr/lib/libosgViewer.so.19
> #4  0xb76a71fc in __cxa_finalize () from /lib/libc.so.6
> #5  0xb79f6afb in ?? () from /usr/lib/libosgViewer.so.19
> #6  0xb7a52ddc in ?? () from /usr/lib/libosgViewer.so.19
> #7  0xb7a52714 in ?? () from /usr/lib/libosgViewer.so.19
> #8  0xbf8296e8 in ?? ()
> #9  0xb7a433fc in _fini () from /usr/lib/libosgViewer.so.19
> Backtrace stopped: frame did not save the PC
> (gdb)
>
> Cedric Pinson
> www.plopbyte.net
> _______________________________________________
> 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