[cairo] pangocairo misbehaves on Mac OS X 10.5 (using Quartz/ATSUI, no Xlibs)

Alex Shulgin alexander.shulgin at yessoftware.com
Mon Dec 7 09:41:54 PST 2009


Alex Shulgin wrote:
> Hi,
> 
> I have this really simple test program which is using pangocairo to 
> render some text in an image surface.  And it crashes constantly on Mac 
> OS X 10.5.8.

Here's the stacktrace if it helps:

Program received signal SIGABRT, Aborted.
0x90aa4e42 in __kill ()
(gdb) bt
#0  0x90aa4e42 in __kill ()
#1  0x90aa4e34 in kill$UNIX2003 ()
#2  0x90b1723a in raise ()
#3  0x90b23679 in abort ()
#4  0x90b183db in __assert_rtn ()
#5  0x000adb7a in _cairo_error (status=<value temporarily unavailable, 
due to optimizations>) at cairo.c:87
#6  0x000ca172 in _cairo_scaled_font_show_glyphs (scaled_font=0x676210, 
op=CAIRO_OPERATOR_OVER, pattern=0x677bc0, surface=0x6484b0, 
source_x=253, source_y=2, dest_x=253, dest_y=2, width=58, height=72, 
glyphs=0xbfffdbac, num_glyphs=<value temporarily unavailable, due to 
optimizations>) at cairo-scaled-font.c:1964
#7  0x000d1e7d in _cairo_surface_old_show_glyphs_draw_func 
(closure=0xbfffd244, op=CAIRO_OPERATOR_OVER, src=0x677bc0, dst=0x6484b0, 
dst_x=0, dst_y=0, extents=0xbfffd234) at cairo-surface-fallback.c:965
#8  0x000d0b57 in _clip_and_composite (clip=0x0, op=CAIRO_OPERATOR_OVER, 
src=0x677bc0, draw_func=0xd1cf0 
<_cairo_surface_old_show_glyphs_draw_func>, draw_closure=0xbfffd244, 
dst=0x6484b0, extents=0xbfffd234) at cairo-surface-fallback.c:395
#9  0x000d1f89 in _cairo_surface_fallback_show_glyphs (surface=0x6484b0, 
op=CAIRO_OPERATOR_OVER, source=0x677bc0, glyphs=0xbfffdbac, 
num_glyphs=6, scaled_font=0x676210) at cairo-surface-fallback.c:1019
#10 0x000cfbcf in _cairo_surface_show_text_glyphs (surface=0xbfffd234, 
op=CAIRO_OPERATOR_OVER, source=0xbfffe5a4, utf8=0x0, utf8_len=0, 
glyphs=0xbfffdbac, num_glyphs=<value temporarily unavailable, due to 
optimizations>, clusters=0xbfffd3ac, num_clusters=0, cluster_flags=0, 
scaled_font=0x676210) at cairo-surface.c:2325
#11 0x000b6825 in _cairo_gstate_show_text_glyphs (gstate=0xbfffd234, 
utf8=0x0, utf8_len=0, glyphs=0xbfffe738, num_glyphs=6, clusters=0x0, 
num_clusters=0, cluster_flags=0) at cairo-gstate.c:1657
#12 0x000af92d in cairo_show_glyphs (cr=0x0, glyphs=0xbfffe738, 
num_glyphs=6) at cairo.c:3178
#13 0x0001a3a1 in pango_cairo_renderer_show_text_glyphs 
(renderer=0x5ff028, text=0x0, text_len=0, glyphs=0x77b630, clusters=0x0, 
num_clusters=0, backward=0, font=0x77f4e8, x=258704, y=73482) at 
pangocairo-render.c:367
#14 0x0001a5a5 in pango_cairo_renderer_draw_glyphs (renderer=0x0, 
font=0x90aa4e42, glyphs=0x90aa4e42, x=-1867887038, y=-1867887038) at 
pangocairo-render.c:383
#15 0x0007121a in pango_renderer_draw_glyphs (renderer=0x5ff028, 
font=0x77f4e8, glyphs=0x77b630, x=258704, y=73482) at pango-renderer.c:645
#16 0x000727bd in pango_renderer_draw_layout_line (renderer=0x5ff028, 
line=0x780350, x=0, y=73482) at pango-renderer.c:574
#17 0x00072a09 in pango_renderer_draw_layout (renderer=0x5ff028, 
layout=0x5fe120, x=0, y=0) at pango-renderer.c:198
#18 0x0001b36a in _pango_cairo_do_layout (cr=0x818000, layout=0x5fe120, 
do_path=0) at pangocairo-render.c:878
#19 0x00001efb in main ()

--
Alex



More information about the cairo mailing list