freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] gnome browsers segfault


From: Masatake YAMATO
Subject: Re: [Devel] gnome browsers segfault
Date: Mon, 10 May 2004 13:05:50 +0900 (JST)

Egmont, thank you.

    $ diff galeon-with-ft-2.1.7 galeon-with-ft-2.1.8 
    208c208
    < tt_face_load_sfnt_header: 0x41d428e0, 0
    ---
    > tt_face_load_sfnt_header: 0x41d4c2b8, 0
    217c217
    < tt_face_load_sfnt_header: 0x41d428e0, 0
    ---
    > tt_face_load_sfnt_header: 0x41d4c2b8, 0
    254c254
    < tt_face_load_sfnt_header: 0x86ba1e0, 0
    ---
    > tt_face_load_sfnt_header: 0x86ad3b8, 0
    10755,10761c10755,10759
    < rec 11 - pres 11
    < load_glyph 2 ---BIT_ORDER 0 ; BYTE_ORDER 0 ; GLYPH_PAD 4
    <  --- ok
    < load_glyph 90 ---BIT_ORDER 0 ; BYTE_ORDER 0 ; GLYPH_PAD 4
    <  --- ok
    < FT_Stream_Open: opened `/usr/share/fonts/100dpi/timBI12.pcf' (71516 
bytes) successfully
    < tt_face_load_sfnt_header: 0x41d8a640, 0
    ---
    > rec 12 - pres 11
    > size WRONG
    > PCF_Face_Done: done face
    > FT_Stream_Open: opened `/usr/share/fonts/100dpi/helvR08.pcf' (64384 
bytes) successfully
    > tt_face_load_sfnt_header: 0x86ad598, 0
    10766,10773c10764,10771
    < Table 0: type=prop   format=0x0002 size=0x0003B4 (     948) offset=0x0088
    < Table 1: type=accl   format=0x0002 size=0x000064 (     100) offset=0x043C
    < Table 2: type=mtrcs  format=0x0102 size=0x000E28 (    3624) offset=0x04A0
    < Table 3: type=bmps   format=0x0002 size=0x00915C (   37212) offset=0x12C8
    < Table 4: type=enc    format=0x0002 size=0x004610 (   17936) offset=0xA424
    < Table 5: type=swidth format=0x0002 size=0x000B54 (    2900) offset=0xEA34
    < Table 6: type=names  format=0x0002 size=0x0021A4 (    8612) offset=0xF588
    < Table 7: type=accel  format=0x0002 size=0x000064 (     100) offset=0x1172C
    ---
    > Table 0: type=prop   format=0x0002 size=0x0003AC (     940) offset=0x0088
    > Table 1: type=accl   format=0x0002 size=0x000064 (     100) offset=0x0434
    > Table 2: type=mtrcs  format=0x0102 size=0x000ECC (    3788) offset=0x0498
    > Table 3: type=bmps   format=0x0002 size=0x0072D0 (   29392) offset=0x1364
    > Table 4: type=enc    format=0x0002 size=0x004610 (   17936) offset=0x8634
    > Table 5: type=swidth format=0x0002 size=0x000BD8 (    3032) offset=0xCC44
    > Table 6: type=names  format=0x0002 size=0x002334 (    9012) offset=0xD81C
    > Table 7: type=accel  format=0x0002 size=0x000064 (     100) offset=0xFB50
    10776,74827c10774,11462
    < get_prop: string_size = 690
    < 0 : width=13, lsb=0, rsb=13, ascent=11, descent=0, swidth=0
    < 1 : width=4, lsb=0, rsb=1, ascent=1, descent=0, swidth=0
    [repeating < 2, < 3, < 4...]

Something to do with pcf?
I read pcfdrivr.c, ftobjs.c and ChangeLog briefly, but I cannot find something 
wrong.

> I'd gladly sent these if I knew how to, but unfortunately I have
> absolutely no experience with any debuggers. So in case you need it,
> please tell me precisely in a few words what to do.

O.K. 
Run gdb with the web browser linked to freetype-2.1.7 like:

    $ gdb galeon

You will get following output and gdb prompt:

    GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
    Copyright 2003 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain 
conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB.  Type "show warranty" for details.
    ...

    (gdb) 

At gdb prompt, call `run' gdb command and wait to crash:

   (gdb) run

...After crashing you will get gdb prompt again. Call `where' gdb command.
you will get the backtrace. Please send it.

    (gdb) where
    ...

If the target web browser calls fork system call internal, it becomes hard to 
get
backtrace. We have to make gdb tracking child process.
I will also try to reproduce the crash.

BTW, could you tell me OS, you are using. Mine is Fedora Core 1.

Masatake YAMATO



reply via email to

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