[cairo-bugs] [Bug 4808] New: SEGV in _cairo_ft_scaled_glyph_init

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 18 19:39:57 PDT 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=4808          
     
           Summary: SEGV in _cairo_ft_scaled_glyph_init
           Product: cairo
           Version: 1.1.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ft font backend
        AssignedTo: otaylor at redhat.com
        ReportedBy: goweol at gmail.com
         QAContact: cairo-bugs at cairographics.org


My small gtk program killed by SEGV.

$ LD_PRELOAD=./libcairo.so.2.3.0 gdb gtkdic
GNU gdb Red Hat Linux (6.3.0.0-1.3rh)
Copyright 2004 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.
This GDB was configured as "athlon-redhat-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /usr/bin/gtkdic
Reading symbols from shared object read from target memory...(no debugging
symbols found)...done.
Loaded system supplied DSO at 0xffffe000

Program received signal SIGSEGV, Segmentation fault.
0xb7f41ff3 in _cairo_ft_scaled_glyph_init (abstract_font=0x8410158,
    scaled_glyph=0x8426830, info=CAIRO_SCALED_GLYPH_INFO_SURFACE)
    at cairo-ft-font.c:1084
1084        (*surface)->base.device_x_offset = glyphslot->bitmap_left;
(gdb) bt
#0  0xb7f41ff3 in _cairo_ft_scaled_glyph_init (abstract_font=0x8410158,
    scaled_glyph=0x8426830, info=CAIRO_SCALED_GLYPH_INFO_SURFACE)
    at cairo-ft-font.c:1084
#1  0xb7f32281 in _cairo_scaled_glyph_lookup (scaled_font=0x8410158, index=32,
    info=Variable "info" is not available.
) at cairo-scaled-font.c:1174
#2  0xb7f4f5da in _cairo_xlib_surface_show_glyphs (scaled_font=0x8410158,
    operator=CAIRO_OPERATOR_OVER, pattern=0xbf9afee4,
    abstract_surface=0x84080b0, source_x=128, source_y=8, dest_x=128,
    dest_y=8, width=231, height=17, glyphs=0x8448ab0, num_glyphs=22)
    at cairo-xlib-surface.c:2450
#3  0xb7f34cf4 in _cairo_surface_show_glyphs (scaled_font=0x0,
    operator=CAIRO_OPERATOR_CLEAR, pattern=0x0, dst=0x84080b0, source_x=0,
    source_y=0, dest_x=0, dest_y=0, width=0, height=0, glyphs=0x0,
    num_glyphs=0) at cairo-surface.c:1626
#4  0xb7f270b4 in _cairo_gstate_show_glyphs_draw_func (closure=0xbf9aff94,
    operator=CAIRO_OPERATOR_OVER, src=0xbf9afee4, dst=0x84080b0, dst_x=0,
    dst_y=0, extents=0xbf9affa0) at cairo-gstate.c:2026
#5  0xb7f273c5 in _cairo_gstate_clip_and_composite (clip=0x84489dc,
    operator=CAIRO_OPERATOR_OVER, src=0xbf9afee4,
    draw_func=0xb7f26ff8 <_cairo_gstate_show_glyphs_draw_func>,
    draw_closure=0xbf9aff94, dst=0x84080b0, extents=0xbf9affa0)
    at cairo-gstate.c:1094
#6  0xb7f29a5c in _cairo_gstate_show_glyphs (gstate=0x8448958,
---Type <return> to continue, or q <return> to quit---
    glyphs=0xbf9b001c, num_glyphs=22) at cairo-gstate.c:2108
#7  0xb7f232fa in cairo_show_glyphs (cr=0x8406cb8, glyphs=0x0, num_glyphs=0)
    at cairo.c:2158
#8  0xb7abf1bd in pango_cairo_renderer_draw_glyphs ()
   from /usr/lib/libpangocairo-1.0.so.0
#9  0x08406f48 in ?? ()
#10 0xbf9b0044 in ?? ()
#11 0xbf9b0018 in ?? ()
#12 0xb7f31260 in _cairo_polygon_fini (polygon=0xbf9b001c)
    at cairo-polygon.c:60
Previous frame inner to this frame (corrupt stack?)
(gdb) p surface
$1 = (cairo_image_surface_t *) 0x0          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list