freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Crash in t42


From: Werner LEMBERG
Subject: [Devel] Crash in t42
Date: Wed, 12 Jun 2002 10:42:59 +0200 (CEST)

I fear the release has been done too early :-(  I get the following
crash using arial.t42:


    Werner

======================================================================

(gdb) set args 50 arial.t42
(gdb) r
Starting program: /home/ft/ft2demos/bin/ftview 50 arial.t42
available pixmap formats
depth  pixbits  scanpad
   1       1       32
   4       8       32
   8       8       32
  15      16       32
  16      16       32
  24      32       32
>   RGB ff0000:ff00:00ff, colors 256, bits  8  TrueColor
  32      32       32

Program received signal SIGSEGV, Segmentation fault.
0x08050b76 in FT_Activate_Size (size=0x10000)
    at /home/ft/freetype2/src/base/ftobjs.c:1773
1773        face = size->face;
(gdb) p size
$1 = 0x10000
(gdb) p *size
Cannot access memory at address 0x10000
(gdb) bt
#0  0x08050b76 in FT_Activate_Size (size=0x10000)
    at /home/ft/freetype2/src/base/ftobjs.c:1773
#1  0x0808fa45 in t42_check_size_change (face=0x80ba288)
    at /home/ft/freetype2/src/type42/t42objs.c:716
#2  0x0808fc4f in T42_GlyphSlot_Load (glyph=0x80bf388, size=0x80bf4c0, 
    glyph_index=82, load_flags=1)
    at /home/ft/freetype2/src/type42/t42objs.c:803
#3  0x0804f1ce in FT_Load_Glyph (face=0x80b6358, glyph_index=82, load_flags=1)
    at /home/ft/freetype2/src/base/ftobjs.c:469
#4  0x08054e18 in ah_hinter_compute_widths (hinter=0x80af230)
    at /home/ft/freetype2/src/autohint/ahglobal.c:318
#5  0x08055035 in ah_hinter_compute_globals (hinter=0x80af230)
    at /home/ft/freetype2/src/autohint/ahglobal.c:390
#6  0x080564be in ah_hinter_new_face_globals (hinter=0x80af230, 
    face=0x80b6358, globals=0x0)
    at /home/ft/freetype2/src/autohint/ahhint.c:977
#7  0x08056f13 in ah_hinter_load_glyph (hinter=0x80af230, slot=0x80bf388, 
    size=0x80bf4c0, glyph_index=0, load_flags=8)
    at /home/ft/freetype2/src/autohint/ahhint.c:1351
#8  0x08057135 in ft_autohinter_load_glyph (module=0x80af210, slot=0x80bf388, 
    size=0x80bf4c0, glyph_index=0, load_flags=8)
    at /home/ft/freetype2/src/autohint/ahmodule.c:74
#9  0x0804f1a0 in FT_Load_Glyph (face=0x80b6358, glyph_index=0, load_flags=8)
    at /home/ft/freetype2/src/base/ftobjs.c:463
#10 0x0805e020 in ftc_image_node_init (inode=0x80bf648, gquery=0xbffff2c4, 
    cache=0x80b0940) at /home/ft/freetype2/src/cache/ftcimage.c:143
#11 0x0805dc41 in ftc_cache_lookup (cache=0x80b0940, query=0xbffff2c4, 
    anode=0xbffff2c0) at /home/ft/freetype2/src/cache/ftccache.c:893
#12 0x0805e360 in FTC_ImageCache_Lookup (cache=0x80b0940, desc=0x80a302c, 
    gindex=0, aglyph=0xbffff324, anode=0x0)
    at /home/ft/freetype2/src/cache/ftcimage.c:337
#13 0x08049c1a in get_glyph_bitmap (Index=0, target=0xbffff374, 
    left=0xbffff368, top=0xbffff364, x_advance=0xbffff360, 
    y_advance=0xbffff35c, aglyf=0xbffff390) at src/ftcommon.i:561
#14 0x08049e44 in Render_All (first_index=0) at src/ftview.c:59
#15 0x0804aacf in main (argc=0, argv=0xbffff480) at src/ftview.c:511
#16 0x4011f7ee in __libc_start_main () from /lib/libc.so.6



reply via email to

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