[osg-users] Win32 VS8.0 crash on exit in debugger, related to freetype
Jean-Sébastien Guay
jean-sebastien.guay at cm-labs.com
Thu Feb 7 05:50:35 PST 2008
Hello Thibault,
> I am using VS 2008 and Mike's DLL compiled for 7.1. I have had no
> problem so far, so I guess the problem is inside the OSG, and not
> exactly related to FreeType.
>
First of all, if you're using VS 2008 you really should use the 8.0
precompiled binaries at a minimum, and I don't think we've done enough
testing yet to even confirm if that's a good idea or not. Up until now,
it seems fine, but it could lead to problems in the future. Ideally, we
should have binaries for 9.0, as historically using libs/dlls compiled
with a version of VC++ different from the one you're using to compile
your executable would lead to weird problems/crashes. In this case it's
too early to tell.
> Adrian, you mentioned something about multi-threading earlier in this
> topic. Do you think such a program is suffer from MT problems ?
> Actually, I don't know osgDB well enough to tell.
>
The current theory is that it's related to how OSG tries to unload the
freetype plugin. From such a simple test case, I would say that
multithreading is unrelated to this particular crash at exit, as no
viewer is ever instantiated (and thus, no draw/cull/update threads fired).
Thanks for the test case, it's a step in the right direction.
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.guay at cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
More information about the osg-users
mailing list