Re: Pixman run time error

Kalev Lember <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
2013-06-30 13:11, Kalev Lember skrev:
> L Alves <lalves.rs <at> gmail.com> writes:
>> The problem occurs also in the main 
>> window when we try to make the resize. I decreased the libpixman version
>> to the 0.26.0 in use and recompile also the cairo (1.12.14), and now it
>> works apparently OK.
> 
> I ran into the same issue a few weeks ago. I ended up capturing the
> backtrace from the crash, but haven't investigated it further. Here's
> the backtrace, if anyone is interested:
> 
> Program received signal SIGSEGV, Segmentation fault.

Pff, gmane ruined all the formatting here. Let me try it again with a
real mailer this time. Sorry for sending it twice.

(gdb) bt
#0  sse2_composite_over_n_8_8888 (imp=0x7c31d8, info=0x28a8bc) at ../../pixman/pixman-sse2.c:3275
#1  0x653486a6 in pixman_composite_glyphs_no_mask (op=PIXMAN_OP_OVER, src=0x33dc580, dest=0x33dbd58, src_x=0,
    src_y=0, dest_x=0, dest_y=0, cache=0x33a3500, n_glyphs=1, glyphs=0x28a9a0) at ../../pixman/pixman-glyph.c:486
#2  0x68de331d in composite_glyphs (_dst=0x33dc318, op=CAIRO_OPERATOR_OVER, _src=0x33dc460, src_x=0, src_y=0,
    dst_x=0, dst_y=0, info=0x28b268) at ../../src/cairo-image-compositor.c:880
#3  0x68e320cc in clip_and_composite (compositor=compositor@entry=0x68e90260 <compositor.27633>,
    extents=extents@entry=0x28b2e8, draw_func=draw_func@entry=0x68e301c0 <composite_glyphs>,
    mask_func=mask_func@entry=0x0, draw_closure=draw_closure@entry=0x28b268, need_clip=0)
    at ../../src/cairo-traps-compositor.c:1038
#4  0x68e3230f in _cairo_traps_compositor_glyphs (_compositor=0x68e90260 <compositor.27633>, extents=0x28b2e8,
    scaled_font=0x334bc98, glyphs=0x33dbe20, num_glyphs=1, overlap=0) at ../../src/cairo-traps-compositor.c:2316
#5  0x68dd8ccf in _cairo_compositor_glyphs (compositor=0x68e90260 <compositor.27633>,
    surface=surface@entry=0x33dc318, op=op@entry=CAIRO_OPERATOR_OVER, source=source@entry=0x28b730,
    glyphs=glyphs@entry=0x33dbe20, num_glyphs=num_glyphs@entry=1, scaled_font=scaled_font@entry=0x334bc98,
    clip=clip@entry=0x33d4d68) at ../../src/cairo-compositor.c:250
#6  0x68de9b09 in _cairo_image_surface_glyphs (abstract_surface=0x33dc318, op=CAIRO_OPERATOR_OVER, source=0x28b730,
    glyphs=0x33dbe20, num_glyphs=1, scaled_font=0x334bc98, clip=0x33d4d68) at ../../src/cairo-image-surface.c:996
#7  0x68e2011b in _cairo_surface_show_text_glyphs (surface=surface@entry=0x33dc318, op=op@entry=CAIRO_OPERATOR_OVER,
    source=source@entry=0x28b730, utf8=utf8@entry=0x0, utf8_len=utf8_len@entry=0, glyphs=glyphs@entry=0x33dbe20,
    num_glyphs=num_glyphs@entry=1, clusters=clusters@entry=0x0, num_clusters=num_clusters@entry=0,
    cluster_flags=cluster_flags@entry=(unknown: 0), scaled_font=scaled_font@entry=0x334bc98,
    clip=clip@entry=0x33d4d68) at ../../src/cairo-surface.c:2503
#8  0x68e24f5c in _cairo_surface_offset_glyphs (surface=surface@entry=0x33dc318, x=244, y=8, op=CAIRO_OPERATOR_OVER,
    source=0x28b730, source@entry=0x28b968, scaled_font=scaled_font@entry=0x334bc98, glyphs=glyphs@entry=0x33dbd28,
    num_glyphs=num_glyphs@entry=1, clip=0x33a34a8) at ../../src/cairo-surface-offset.c:296
#9  0x68ddbdff in _cairo_fallback_compositor_glyphs (_compositor=0x68e7d718 <_cairo_fallback_compositor>,
    extents=0x28b8e8, scaled_font=0x334bc98, glyphs=0x33dbd28, num_glyphs=1, overlap=0)
    at ../../src/cairo-fallback-compositor.c:166
#10 0x68dd8ccf in _cairo_compositor_glyphs (compositor=0x68e7d718 <_cairo_fallback_compositor>,
    surface=surface@entry=0x33d4a28, op=op@entry=CAIRO_OPERATOR_OVER, source=source@entry=0x28bfb8,
    glyphs=glyphs@entry=0x33dbd28, num_glyphs=num_glyphs@entry=1, scaled_font=scaled_font@entry=0x334bc98,
    clip=clip@entry=0x33c3990) at ../../src/cairo-compositor.c:250
#11 0x68e47399 in _cairo_win32_display_surface_glyphs (surface=0x33d4a28, op=CAIRO_OPERATOR_OVER, source=0x28bfb8,
    glyphs=0x33dbd28, num_glyphs=1, scaled_font=0x334bc98, clip=0x33c3990)
    at ../../src/win32/cairo-win32-display-surface.c:865
#12 0x68e2011b in _cairo_surface_show_text_glyphs (surface=surface@entry=0x33d4a28, op=op@entry=CAIRO_OPERATOR_OVER,
    source=source@entry=0x28bfb8, utf8=utf8@entry=0x0, utf8_len=utf8_len@entry=0, glyphs=glyphs@entry=0x33dbd28,
    num_glyphs=num_glyphs@entry=1, clusters=clusters@entry=0x0, num_clusters=num_clusters@entry=0,
    cluster_flags=cluster_flags@entry=(unknown: 0), scaled_font=scaled_font@entry=0x334bc98,
    clip=clip@entry=0x33c3990) at ../../src/cairo-surface.c:2503
#13 0x68e24e3e in _cairo_surface_offset_glyphs (surface=0x33d4a28, x=0, y=0, op=op@entry=CAIRO_OPERATOR_OVER,
    source=source@entry=0x28bfb8, scaled_font=scaled_font@entry=0x334bc98, glyphs=glyphs@entry=0x28c2e0,
    num_glyphs=num_glyphs@entry=1, clip=clip@entry=0x33c3990) at ../../src/cairo-surface-offset.c:296
#14 0x68e2563d in _cairo_surface_subsurface_glyphs (abstract_surface=0x33d48d0, op=CAIRO_OPERATOR_OVER,
    source=0x28bfb8, glyphs=0x28c2e0, num_glyphs=1, scaled_font=0x334bc98, clip=0x33a3458)
    at ../../src/cairo-surface-subsurface.c:215
#15 0x68e2011b in _cairo_surface_show_text_glyphs (surface=0x33d48d0, op=op@entry=CAIRO_OPERATOR_OVER,
    source=source@entry=0x28bfb8, utf8=0x0, utf8_len=0, glyphs=0x28c2e0, num_glyphs=1, clusters=0x0, num_clusters=0,
    cluster_flags=(unknown: 0), scaled_font=0x334bc98, clip=0x33a3458) at ../../src/cairo-surface.c:2503
#16 0x68de1dc5 in _cairo_gstate_show_text_glyphs (gstate=0x33daf40, glyphs=0x28d370, num_glyphs=1, info=0x0)
    at ../../src/cairo-gstate.c:2008
#17 0x68dd3e1e in cairo_show_glyphs (cr=0x3356c28, glyphs=glyphs@entry=0x28d370, num_glyphs=num_glyphs@entry=1)
    at ../../src/cairo.c:3315
#18 0x6d4c468c in pango_cairo_renderer_show_text_glyphs (renderer=renderer@entry=0x3378060, text=text@entry=0x0,
    text_len=text_len@entry=0, clusters=clusters@entry=0x0, num_clusters=num_clusters@entry=0,
    backward=backward@entry=0, font=font@entry=0x3337008, x=x@entry=0, y=y@entry=13312, glyphs=0x1f30ad0,
    glyphs=0x1f30ad0) at ../../pango/pangocairo-render.c:367
#19 0x6d4c497e in pango_cairo_renderer_draw_glyphs (renderer=0x3378060, font=0x3337008, glyphs=0x1f30ad0, x=0,
    y=13312) at ../../pango/pangocairo-render.c:383
#20 0x65599e57 in pango_renderer_draw_glyphs (renderer=0x3378060, font=0x3337008, glyphs=0x1f30ad0, x=0, y=13312)
    at ../../pango/pango-renderer.c:641
#21 0x6559a9b0 in pango_renderer_draw_layout_line (renderer=renderer@entry=0x3378060, line=line@entry=0x3339140, x=0,
    y=13312) at ../../pango/pango-renderer.c:570
#22 0x6559aba7 in pango_renderer_draw_layout (renderer=0x3378060, layout=0x332f250, x=0, y=0)
    at ../../pango/pango-renderer.c:194
#23 0x6d4c4b0b in _pango_cairo_do_layout (cr=0x3356c28, layout=0x332f250, do_path=0)
    at ../../pango/pangocairo-render.c:877
#24 0x665e918e in gtk_theming_engine_render_layout (engine=0x1e94288, cr=0x3356c28, x=245, y=4, layout=0x332f250)
    at ../../gtk/gtkthemingengine.c:2037
#25 0x665a30fd in gtk_render_layout (context=context@entry=0x1e96bf0, cr=cr@entry=0x3356c28, x=245, y=4,
    layout=0x332f250) at ../../gtk/gtkstylecontext.c:4092
#26 0x66512ace in gtk_label_draw (widget=0x1f0d208, cr=0x3356c28) at ../../gtk/gtklabel.c:3997
#27 0x6651f497 in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x1ed2460, return_value=0x28e068, instance=0x1f0d208,
    args=0x28e144 "(l5\003tį(", marshal_data=0x665129c0 <gtk_label_draw>, n_params=1, param_types=0x1ed2510)
    at ../../gtk/gtkmarshalers.c:130
#28 0x666417a3 in gtk_widget_draw_marshallerv (closure=0x1ed2460, return_value=0x28e068, instance=0x1f0d208,
    args=0x28e144 "(l5\003tį(", marshal_data=0x665129c0 <gtk_label_draw>, n_params=1, param_types=0x1ed2510)
    at ../../gtk/gtkwidget.c:906
#29 0x63a45f9f in _g_closure_invoke_va (closure=0x1ed2460, return_value=0x28e068, instance=0x1f0d208,
    args=0x28e144 "(l5\003tį(", n_params=1, param_types=0x1ed2510) at ../../gobject/gclosure.c:840
#30 0x63a5cc43 in g_signal_emit_valist (instance=instance@entry=0x1f0d208, signal_id=signal_id@entry=33,
    detail=detail@entry=0, var_args=var_args@entry=0x28e144 "(l5\003tį(") at ../../gobject/gsignal.c:3234
#31 0x63a5d737 in g_signal_emit (instance=0x1f0d208, signal_id=33, detail=0) at ../../gobject/gsignal.c:3384
#32 0x66642a3c in _gtk_widget_draw_internal (widget=widget@entry=0x1f0d208, cr=cr@entry=0x3356c28,
    clip_to_size=<optimized out>, clip_to_size@entry=1) at ../../gtk/gtkwidget.c:6165
#33 0x6648a5d1 in gtk_container_propagate_draw (container=0x1f5a1d0, child=0x1f0d208, cr=0x3356c28)
    at ../../gtk/gtkcontainer.c:3375
#34 0x665456ba in gtk_notebook_draw (widget=0x1f5a1d0, cr=0x3356c28) at ../../gtk/gtknotebook.c:2618
#35 0x6651f497 in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x1ed2460, return_value=0x28e3e8, instance=0x1f5a1d0,
    args=0x28e4c4 "(l5\003ōä(", marshal_data=0x66545450 <gtk_notebook_draw>, n_params=1, param_types=0x1ed2510)
    at ../../gtk/gtkmarshalers.c:130
#36 0x666417a3 in gtk_widget_draw_marshallerv (closure=0x1ed2460, return_value=0x28e3e8, instance=0x1f5a1d0,
    args=0x28e4c4 "(l5\003ōä(", marshal_data=0x66545450 <gtk_notebook_draw>, n_params=1, param_types=0x1ed2510)
    at ../../gtk/gtkwidget.c:906
#37 0x63a45f9f in _g_closure_invoke_va (closure=0x1ed2460, return_value=0x28e3e8, instance=0x1f5a1d0,
    args=0x28e4c4 "(l5\003ōä(", n_params=1, param_types=0x1ed2510) at ../../gobject/gclosure.c:840
#38 0x63a5cc43 in g_signal_emit_valist (instance=instance@entry=0x1f5a1d0, signal_id=signal_id@entry=33,
    detail=detail@entry=0, var_args=var_args@entry=0x28e4c4 "(l5\003ōä(") at ../../gobject/gsignal.c:3234
#39 0x63a5d737 in g_signal_emit (instance=0x1f5a1d0, signal_id=33, detail=0) at ../../gobject/gsignal.c:3384
#40 0x66642a3c in _gtk_widget_draw_internal (widget=widget@entry=0x1f5a1d0, cr=cr@entry=0x3356c28,
    clip_to_size=<optimized out>, clip_to_size@entry=1) at ../../gtk/gtkwidget.c:6165
#41 0x6648a5d1 in gtk_container_propagate_draw (container=0x1f00000, child=child@entry=0x1f5a1d0, cr=0x3356c28)
    at ../../gtk/gtkcontainer.c:3375
#42 0x6648a630 in gtk_container_draw_child (child=0x1f5a1d0, client_data=0x28e600) at ../../gtk/gtkcontainer.c:3222
#43 0x6644347a in gtk_box_forall (container=0x1f00000, include_internals=1,
    callback=0x6648a610 <gtk_container_draw_child>, callback_data=0x28e600) at ../../gtk/gtkbox.c:1865
#44 0x66488da3 in gtk_container_forall (container=0x1f00000, callback=0x6648a610 <gtk_container_draw_child>,
    callback_data=0x28e600) at ../../gtk/gtkcontainer.c:2047
#45 0x66488f7b in gtk_container_draw (widget=0x1f00000, cr=0x3356c28) at ../../gtk/gtkcontainer.c:3239
#46 0x6651f497 in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x1ed2460, return_value=0x28e748, instance=0x1f00000,
    args=0x28e824 "(l5\003Tč(", marshal_data=0x66488f50 <gtk_container_draw>, n_params=1, param_types=0x1ed2510)
    at ../../gtk/gtkmarshalers.c:130
#47 0x666417a3 in gtk_widget_draw_marshallerv (closure=0x1ed2460, return_value=0x28e748, instance=0x1f00000,
    args=0x28e824 "(l5\003Tč(", marshal_data=0x66488f50 <gtk_container_draw>, n_params=1, param_types=0x1ed2510)
    at ../../gtk/gtkwidget.c:906
#48 0x63a45f9f in _g_closure_invoke_va (closure=0x1ed2460, return_value=0x28e748, instance=0x1f00000,
    args=0x28e824 "(l5\003Tč(", n_params=1, param_types=0x1ed2510) at ../../gobject/gclosure.c:840
#49 0x63a5cc43 in g_signal_emit_valist (instance=instance@entry=0x1f00000, signal_id=signal_id@entry=33,
    detail=detail@entry=0, var_args=var_args@entry=0x28e824 "(l5\003Tč(") at ../../gobject/gsignal.c:3234
#50 0x63a5d737 in g_signal_emit (instance=0x1f00000, signal_id=33, detail=0) at ../../gobject/gsignal.c:3384
#51 0x66642a3c in _gtk_widget_draw_internal (widget=widget@entry=0x1f00000, cr=cr@entry=0x3356c28,
    clip_to_size=<optimized out>, clip_to_size@entry=1) at ../../gtk/gtkwidget.c:6165
#52 0x6648a5d1 in gtk_container_propagate_draw (container=0x1e9d058, child=child@entry=0x1f00000, cr=0x3356c28)
    at ../../gtk/gtkcontainer.c:3375
#53 0x6648a630 in gtk_container_draw_child (child=0x1f00000, client_data=0x28e930) at ../../gtk/gtkcontainer.c:3222
#54 0x66488da3 in gtk_container_forall (container=0x1e9d058, callback=0x6648a610 <gtk_container_draw_child>,
    callback_data=0x28e930) at ../../gtk/gtkcontainer.c:2047
#55 0x66488f7b in gtk_container_draw (widget=0x1e9d058, cr=0x3356c28) at ../../gtk/gtkcontainer.c:3239
#56 0x6665b336 in gtk_window_draw (widget=0x1e9d058, cr=0x3356c28) at ../../gtk/gtkwindow.c:7575
#57 0x6651f497 in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x1ed2460, return_value=0x28ead8, instance=0x1e9d058,
    args=0x28ebb4 "(l5\003äė(", marshal_data=0x6665b2f0 <gtk_window_draw>, n_params=1, param_types=0x1ed2510)
    at ../../gtk/gtkmarshalers.c:130
#58 0x666417a3 in gtk_widget_draw_marshallerv (closure=0x1ed2460, return_value=0x28ead8, instance=0x1e9d058,
    args=0x28ebb4 "(l5\003äė(", marshal_data=0x6665b2f0 <gtk_window_draw>, n_params=1, param_types=0x1ed2510)
    at ../../gtk/gtkwidget.c:906
#59 0x63a4602a in _g_closure_invoke_va (closure=0x1ed2460, return_value=0x28ead8, instance=0x1e9d058,
    args=0x28ebb4 "(l5\003äė(", n_params=1, param_types=0x1ed2510) at ../../gobject/gclosure.c:840
#60 0x63a5cc43 in g_signal_emit_valist (instance=instance@entry=0x1e9d058, signal_id=signal_id@entry=33,
    detail=detail@entry=0, var_args=var_args@entry=0x28ebb4 "(l5\003äė(") at ../../gobject/gsignal.c:3234
#61 0x63a5d737 in g_signal_emit (instance=0x1e9d058, signal_id=33, detail=0) at ../../gobject/gsignal.c:3384
#62 0x66642a3c in _gtk_widget_draw_internal (widget=0x1e9d058, cr=0x3356c28, clip_to_size=<optimized out>)
    at ../../gtk/gtkwidget.c:6165
#63 0x6664e65d in gtk_widget_send_expose (widget=widget@entry=0x1e9d058, event=event@entry=0x28ecd8)
    at ../../gtk/gtkwidget.c:6545
#64 0x6651f2d1 in gtk_main_do_event (event=0x28ecd8) at ../../gtk/gtkmain.c:1619
#65 0x70ec9cbf in _gdk_event_emit (event=event@entry=0x28ecd8) at ../../gdk/gdkevents.c:69
#66 0x70edce30 in _gdk_window_process_updates_recurse (window=0x1e980b0, expose_region=0x33a2280)
    at ../../gdk/gdkwindow.c:4006
#67 0x70eda489 in gdk_window_process_updates_internal (window=window@entry=0x1e980b0) at ../../gdk/gdkwindow.c:4194
#68 0x70eda678 in gdk_window_process_updates_with_mode (window=0x1e980b0, recurse_mode=2)
    at ../../gdk/gdkwindow.c:4374
#69 0x63a4602a in _g_closure_invoke_va (closure=0x3355c78, return_value=0x0, instance=0x1e98160, args=0x28efc0 "",
    n_params=0, param_types=0x0) at ../../gobject/gclosure.c:840
#70 0x63a5cc43 in g_signal_emit_valist (instance=instance@entry=0x1e98160, signal_id=signal_id@entry=248,
    detail=detail@entry=0, var_args=var_args@entry=0x28efc0 "") at ../../gobject/gsignal.c:3234
#71 0x63a5db7e in g_signal_emit_by_name (instance=0x1e98160,
    detailed_signal=0x70f0bc28 <__PRETTY_FUNCTION__.27314+88> "paint") at ../../gobject/gsignal.c:3424
#72 0x70ece78f in gdk_frame_clock_paint_idle (data=0x1e98160) at ../../gdk/gdkframeclockidle.c:419
#73 0x70ec1595 in gdk_threads_dispatch (data=data@entry=0x1f52680) at ../../gdk/gdk.c:788
#74 0x685f21b5 in g_timeout_dispatch (source=source@entry=0x33d23c0, callback=0x70ec1550 <gdk_threads_dispatch>,
    user_data=0x1f52680) at ../../glib/gmain.c:4413
#75 0x685f160b in g_main_dispatch (context=0x1ecd238, context@entry=0x332d440) at ../../glib/gmain.c:3054
#76 g_main_context_dispatch (context=context@entry=0x1ecd238) at ../../glib/gmain.c:3630
#77 0x685f193a in g_main_context_iterate (context=context@entry=0x1ecd238, block=block@entry=0,
    dispatch=dispatch@entry=1, self=<optimized out>) at ../../glib/gmain.c:3701
#78 0x685f1b7a in g_main_context_iteration (context=0x1ecd238, may_block=0) at ../../glib/gmain.c:3762
#79 0x70eeace9 in modal_timer_proc (hwnd=hwnd@entry=0x0, msg=msg@entry=0, id=id@entry=0, time=time@entry=0)
    at ../../../gdk/win32/gdkevents-win32.c:1605
#80 0x70eef0a9 in gdk_event_translate (msg=msg@entry=0x28f4bc, ret_valp=ret_valp@entry=0x28f4b8)
    at ../../../gdk/win32/gdkevents-win32.c:2817
#81 0x70eefbdf in inner_window_procedure (lparam=2684500, wparam=0, message=71, hwnd=0x90194)
    at ../../../gdk/win32/gdkevents-win32.c:261
#82 _gdk_win32_window_procedure@16 (hwnd=0x90194, message=71, wparam=0, lparam=2684500)
    at ../../../gdk/win32/gdkevents-win32.c:292
#83 0x770e6238 in gapfnScSendMessage () from C:\Windows\syswow64\user32.dll
#84 0x00090194 in ?? ()
#85 0x00000047 in ?? ()
#86 0x00000000 in ?? ()
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.