freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] More crashes on ARM


From: david turner
Subject: Re: [ft-devel] More crashes on ARM
Date: Mon, 30 Jan 2006 10:38:46 +0100
User-agent: Thunderbird 1.5 (Windows/20051201)

Hello Frank,

Frank Meerkoetter a écrit :
Hi,

(gdb) frame 1
#1  0x409eb304 in FT_Get_Next_Char (face=0x4bb90, charcode=0,
    agindex=0xbefff738) at ftobjs.c:2436
2436          gindex = cmap->clazz->char_next( cmap, &code );
(gdb) l
2431        {
2432          FT_UInt32  code = (FT_UInt32)charcode;
2433          FT_CMap    cmap = FT_CMAP( face->charmap );

(gdb) p *cmap
$10 = {charmap = {face = 0x4bb90, encoding = FT_ENCODING_UNICODE,
    platform_id = 0, encoding_id = 3}, clazz = 0x30000}
(gdb) p *cmap->clazz
$11 = {size = 0, init = 0, done = 0, char_index = 0, char_next = 0}

Ok, so the cmap->clazz->char_next() function pointer is null.
Any ideas why this could be the case?

the "cmap->clazz" value is definitely wrong, and there is no way the charmap was built with it. In other words, the field has been rewritten after creation of the charmap !!

Can you re-run the program but set a watch on the fields's memory address ? This would
help us spot the problem.

Thanks in advance,

- David


TIA,
  Frank



_______________________________________________
Freetype-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freetype-devel


***********************************************************************************
Information contained in this email message is confidential and may be 
privileged, and is intended only for use of the individual or entity named 
above. If the reader of this message is not the intended recipient, or the 
employee or agent responsible to deliver it to the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. If you have received this communication 
in error, please immediately notify the address@hidden and destroy the original 
message.
***********************************************************************************




reply via email to

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