freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] Re: Issue... fault when starting freetype2 v2.17...


From: Christophe Hannosset
Subject: [Devel] Re: Issue... fault when starting freetype2 v2.17...
Date: Sun, 7 Dec 2003 21:37:15 +0100

Hi Guis,
 
Sorry for the false issue... I have discovered why I had a seg fault with the freetype:
Seems the people from SDL created an SDL_main() that was apparently allocction strings on the stack...
Well I believe the issue came from there: corrupt stack or something else
Anyway I am glady using the 2.1.5 without any problem or seg fault...
 
Sorry again,
 
Chris.
 
 
----- Original Message -----
Sent: Friday, December 05, 2003 4:24 PM
Subject: Issue... fault when starting freetype2 v2.17...

I have found a small anomaly - I just start the application and load for the first time a default font...
 
here is the context:
 
STACK:
======
NTDLL! DbgBreakPoint address 0x77f75a58
NTDLL! RtlValidateHeap + 224 bytes
KERNEL32! HeapValidate + 18 bytes
_CrtIsValidHeapPointer(const void * 0x01561f78) line 1697
_free_dbg_lk(void * 0x01561f78, int 0x00000001) line 1044 + 9 bytes
_free_dbg(void * 0x01561f78, int 0x00000001) line 1001 + 13 bytes
free(void * 0x01561f78) line 956 + 11 bytes
ft_free(FT_MemoryRec_ * 0x007dfdc0, void * 0x01561f78) line 132 + 12 bytes
FT_Free(FT_MemoryRec_ * 0x007dfdc0, void * * 0x01561ee8) line 134 + 18 bytes
FT_Stream_ExitFrame(FT_StreamRec_ * 0x01561ee8) line 276 + 13 bytes
        FT_ASSERT( stream );
        if ( stream->read )
        {
          FT_Memory  memory = stream->memory;
          FT_FREE( stream->base );
        }

FT_Stream_ReadFields(FT_StreamRec_ * 0x01561ee8, const FT_Frame_Field_ * 0x005f6b94, void * 0x0012f60c) line 797 + 9 bytes
  Exit:
    /* close the frame if it was opened by this read */
    if ( frame_accessed )
      FT_Stream_ExitFrame( stream );
tt_face_load_sfnt_header(TT_FaceRec_ * 0x01558628, FT_StreamRec_ * 0x01561ee8, long 0x00000000, SFNT_HeaderRec_ * 0x0012f60c) line 367 + 18 bytes
sfnt_init_face(FT_StreamRec_ * 0x01561ee8, TT_FaceRec_ * 0x01558628, int 0x00000000, int 0x00000000, FT_Parameter_ * 0x00000000) line 370 + 24 bytes
cff_face_init(FT_StreamRec_ * 0x01561ee8, TT_FaceRec_ * 0x01558628, int 0x00000000, int 0x00000000, FT_Parameter_ * 0x00000000) line 287 + 28 bytes
open_face(FT_DriverRec_ * 0x015603e0, FT_StreamRec_ * 0x01561ee8, long 0x00000000, int 0x00000000, FT_Parameter_ * 0x00000000, FT_FaceRec_ * * 0x0012f728) line 905 + 28 bytes
FT_Open_Face(FT_LibraryRec_ * 0x007dfde8, const FT_Open_Args_ * 0x0012f750, long 0x00000000, FT_FaceRec_ * * 0x007f4a94) line 1662 + 29 bytes
FT_New_Face(FT_LibraryRec_ * 0x007dfde8, const char * 0x0155b9d8, long 0x00000000, FT_FaceRec_ * * 0x007f4a94) line 960 + 21 bytes
Ars::FontEngine::FontEngine(const _STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > & {...}, unsigned char 0x10) line 19 + 40 bytes
Ars::ArsApplication::GetFontEngine(_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > {...}, unsigned char 0x10) line 258 + 79 bytes
Ars::ArsApplication::Init() line 165 + 300 bytes
Borqueror::Init() line 75
TofMain(const int 0x00000001, char * * 0x0012fe88) line 10 + 158 bytes
SDL_main(int 0x00000001, char * * 0x0012fe88) line 362 + 13 bytes
main(int 0x00000001, char * * 0x0012fe88) line 248 + 13 bytes
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00141f05, int 0x00000001) line 360 + 13 bytes
WinMainCRTStartup() line 330 + 54 bytes
KERNEL32! GetCurrentDirectoryW + 68 bytes
The font I am trying to open is attached...
 
I have compiled the freetype2.17 with VC++ 6 (patches applied) - I am using the Debug version with multithreaded debug dll
 
Please do not hesitate to contact  me if you have any question... I am a software engineer and I have a good Dev Env under xp.
 
Chris.
 
 
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 12/2/2003

reply via email to

[Prev in Thread] Current Thread [Next in Thread]