Hi guys

I've updated this morning to the latest SVN, and I get an error that
looks the same as yours.
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.

I have tried with a very minimal program that exhibits the problem:

#include <osgText/Text>

int main(int argc, char* argv[])
{
        osg::ref_ptr<osgText::Font> font = 
osgText::readFontFile("fonts/arial.ttf");
        return 0;
}

The output of the debugger follows in appendix.
With such a minimal program I guess I'll have the opportunity to
understand what is going wrong.

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.

I'll keep you guys informed.

Thibault



Debugger output:
------------------------

'test_osg_freetype_crash_on_exit.exe': Loaded
'C:\dev\test_osg_freetype_crash_on_exit\Debug\test_osg_freetype_crash_on_exit.exe',
Symbols loaded.
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded
'C:\dev\libs\bin\osg30-osgd.dll', Symbols loaded.
'test_osg_freetype_crash_on_exit.exe': Loaded
'C:\dev\libs\bin\ot9-OpenThreadsd.dll', Symbols loaded.
'test_osg_freetype_crash_on_exit.exe': Loaded
'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcr90d.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded
'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcp90d.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\glu32.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded
'C:\dev\libs\bin\osg30-osgTextd.dll', Symbols loaded.
'test_osg_freetype_crash_on_exit.exe': Loaded
'C:\dev\libs\bin\osg30-osgDBd.dll', Symbols loaded.
'test_osg_freetype_crash_on_exit.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
'test_osg_freetype_crash_on_exit.exe': Loaded
'C:\dev\libs\bin\osgdb_freetyped.dll', Symbols loaded.
'test_osg_freetype_crash_on_exit.exe': Loaded
'C:\dev\libs\bin\osg30-osgUtild.dll', Symbols loaded.
HEAP[test_osg_freetype_crash_on_exit.exe]: HEAP: Free Heap block
d53940 modified at d593a8 after it was freed
Windows has triggered a breakpoint in test_osg_freetype_crash_on_exit.exe.

This may be due to a corruption of the heap, which indicates a bug in
test_osg_freetype_crash_on_exit.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while
test_osg_freetype_crash_on_exit.exe has focus.

The output window may have more diagnostic information.
The program '[3288] test_osg_freetype_crash_on_exit.exe: Native' has
exited with code 0 (0x0).
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to