[cairo] segment fault when rendering text with space charactors
onto glitz surface.
sunmoon1997
sunmoon1997 at gmail.com
Tue Aug 9 03:03:46 PDT 2005
hi,
When i try to render text with space characters onto glitz surface,
my program segment fault:(. Did i do something wrong or it's a bug of
cairo .GDB backtrace show follows:
gdb> bt
#0 0xb7f2a295 in _cairo_glitz_area_find (area=0x0, width=0x0,
height=0x0, kick_out=0x0, closure=0x820c3b0) at cairo-glitz-surface.c:1384
#1 0xb7f2a504 in _cairo_glitz_area_find (area=0x820d6a0, width=0x0,
height=0x0, kick_out=0x0, closure=0x820c3b0) at cairo-glitz-surface.c:1444
#2 0xb7f2a594 in _cairo_glitz_area_find (area=0x820d458, width=0x0,
height=0x0, kick_out=0x0, closure=0x820c3b0) at cairo-glitz-surface.c:1462
#3 0xb7f2a594 in _cairo_glitz_area_find (area=0x820c6b0, width=0x0,
height=0x0, kick_out=0x0, closure=0x820c3b0) at cairo-glitz-surface.c:1462
#4 0xb7f2a594 in _cairo_glitz_area_find (area=0x811d2a0, width=0x0,
height=0x0, kick_out=0x0, closure=0x820c3b0) at cairo-glitz-surface.c:1462
#5 0xb7f2abe4 in _cairo_glitz_cache_glyph (cache=0x8121268,
entry=0x820c3b0, image_entry=0x820b5d0) at cairo-glitz-surface.c:1767
#6 0xb7f2b4f9 in _cairo_glitz_surface_show_glyphs
(scaled_font=0x811c410, op=CAIRO_OPERATOR_OVER, pattern=0xbfe51290,
abstract_surface=0x8111060, src_x=0x78, src_y=0xa7, dst_x=0x78,
dst_y=0xa7, width=0x63, height=0xd, glyphs=0x820bd90, num_glyphs=0xb) at
cairo-glitz-surface.c:1983
#7 0xb7f0f5e1 in _cairo_surface_show_glyphs (scaled_font=0x811c410,
operator=CAIRO_OPERATOR_OVER, pattern=0xbfe51290, dst=0x8111060,
source_x=0x78, source_y=0xa7, dest_x=0x78, dest_y=0xa7, width=0x63,
height=0xd, glyphs=0x820bd90, num_glyphs=0xb) at cairo-surface.c:1401
#8 0xb7f01407 in _cairo_scaled_font_show_glyphs (scaled_font=0x811c410,
operator=CAIRO_OPERATOR_OVER, pattern=0xbfe51290, surface=0x8111060,
source_x=0x78, source_y=0xa7, dest_x=0x78, dest_y=0xa7, width=0x63,
height=0xd, glyphs=0x820bd90, num_glyphs=0xb) at cairo-font.c:933
#9 0xb7f056c6 in _cairo_gstate_show_glyphs_draw_func
(closure=0xbfe51260, operator=CAIRO_OPERATOR_OVER, src=0xbfe51290,
dst=0x8111060, dst_x=0x0, dst_y=0x0, extents=0xbfe51278) at
cairo-gstate.c:1894
#10 0xb7f03b9a in _cairo_gstate_clip_and_composite (clip=0x8114bf4,
operator=CAIRO_OPERATOR_OVER, src=0xbfe51290, draw_func=0xb7f0553e
<_cairo_gstate_show_glyphs_draw_func>, draw_closure=0xbfe51260,
dst=0x8111060, extents=0xbfe51278) at cairo-gstate.c:953
#11 0xb7f05998 in _cairo_gstate_show_glyphs (gstate=0x8114b70,
glyphs=0x811d050, num_glyphs=0xb) at cairo-gstate.c:1972
#12 0xb7efd264 in cairo_show_text (cr=0x81110a8, utf8=0x804a437 "Hello
World") at cairo.c:2009
#13 0x0804a1ce in main (argc=0x1, argv=0xbfe51674) at cairo-glitz.c:283
Many thanks
Jinghua Luo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-glitz.c
Type: text/x-csrc
Size: 7911 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050809/be876fc5/cairo-glitz.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mm.png
Type: image/png
Size: 58276 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050809/be876fc5/mm.png
More information about the cairo
mailing list