bugThe FreeType Project - Bugs: bug #30052, ftbench hangs

 
 

bug #30052: ftbench hangs

Submitted by:  Robert Swiecki <jagger>
Submitted on:  Sat 05 Jun 2010 02:22:51 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.3.13

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 07 Jun 2010 10:00:41 PM UTC, comment #1:

Fixed in git. Thanks for the report.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sat 05 Jun 2010 02:22:51 PM UTC, original submission:

System: Linux amd64, freetype2 from git (as of 2010-06-05)

$ LD_PRELOAD=./libfreetype.so.6.4.0 ./ftbench -m 8192 -s 10 -c 1 bug/hang.ttf

(hangs forever)

gdb shows that it processes something in freetype2/src/sfnt/ttcmap.c

ctrl+c in gdb at various moments show:

tt_cmap4_char_map_binary (cmap=0x60b9d0, pcharcode=<value optimized out>, next=<value optimized out>) at /usr/local/src/freetype2/src/sfnt/ttcmap.c:1119
tt_cmap4_char_map_binary (cmap=0x60b9d0, pcharcode=<value optimized out>, next=<value optimized out>) at /usr/local/src/freetype2/src/sfnt/ttcmap.c:1119
tt_cmap4_next (cmap=0x60b9d0) at /usr/local/src/freetype2/src/sfnt/ttcmap.c:794
tt_cmap4_set_range (cmap=0x60b9d0, range_index=10) at /usr/local/src/freetype2/src/sfnt/ttcmap.c:712

Works correctly with an older version

$ LD_PRELOAD=/usr/lib/libfreetype.so.6.3.22 ftbench -c 1 -s 10 bug/hang.ttf
Load : -nan us/op
Load_Advances (Normal) : inf us/op
Load_Advances (Fast) : inf us/op
Render : -nan us/op
Get_Glyph : -nan us/op
Get_CBox : -nan us/op
Get_Char_Index : 0.029 us/op
Iterate CMap : 4.053 us/op
New_Face : 31.948 us/op
Embolden : -nan us/op

Robert Swiecki <jagger>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #20690:  hang.ttf added by jagger (47KiB - application/x-font-ttf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by jagger (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Jun 2010 10:01:44 PM UTCwlPlanned ReleaseNone=>2.3.13
    Mon 07 Jun 2010 10:00:41 PM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
    Sat 05 Jun 2010 02:22:51 PM UTCjaggerAttached File-=>Added hang.ttf, #20690

    Back to the top


    Powered by Savane 3.1-cleanup1