[osg-users] Win32 VS8.0 crash on exit in debugger, related to freetype
Antoine Hue
tonio_73 at tiscali.fr
Sat Feb 2 02:25:00 PST 2008
2008/1/24, Jean-Sebastien Guay <jean-sebastien.guay at polymtl.ca
<mailto:jean-sebastien.guay at polymtl.ca>>:
>
> Hello Robert,
>
> > Its a bit of long shot but I just had a look at the
> DeleteHandeler
> > code in src/osg/Referenced.cpp and src/osg/DeleteHandler.cpp and
> > noticed a duplicate definition of the DeleteHandlerPointer
> struct, one
> > in Referenced.cpp, and one in DeleteHandler.cpp. I have
> removed the
> > duplicate in DeleteHandler.cpp and checked this in.
> >
> > Could you do an svn update and see if this makes any difference.
>
> It was a good try, but no cigar... I still get the same symptoms.
>
> I have the impression the problem is in freetype itself,
> because I get some
> freetype functions in the stack trace. Unfortunately I can't
> trace into the
> freetype source even though I'm linking to the debug lib,
> which I don't
> understand why.
>
> I think I'll backtrack to an older version of freetype and see
> if that helps.
> But it'll have to wait till at least next Monday.
>
Hello,
It seems this problem is not Windows only.
I have almost the same symptoms under Linux, Ubuntu Amd64, application
crashes on exit and Valgrind mem debugger is reporting some double
delete of DynamicLibrary for Free-type. A friend is also reporting a
crash under Mac OS X/PPC with Free-type in the stack trace.
I will try to come with a more complete report.
Fact is I could not reproduce the Linux crash/ Valgrind report with
osgSimpleViewerQT. Whose content is very similar to our embedded viewer.
I could not find differences in the use of Freetype in our application !?
Antoine
More information about the osg-users
mailing list