Hi! This sounds like the same problem I had:

http://sourceforge.net/p/liferea/bugs/1076/

Lars suggested that it was a WebKitGTK+ problem, and indeed Epiphany also crashed on closing this page. You might want to try this. I therefore submitted a bug on the Ubuntu WebKitGTK+ package instead, maybe there should be an upstream bug report. If there isn't already.

Regards, Simon

Den 1 jul 2013 16.51, "Rich Coe" <rcoe@wi.rr.com> skrev:

I'm getting a BadDrawable error after closing a tab.
Since it was reproducible, I turned on GDK_SYNCRONIZE and got a reasonable
traceback.

A google search on 'xerror _cairo_xlib_surface_put_shm' didn't turn up anything.

Any ideas on how to debug the issue?
I'm guessing trying to find out the origin of 0x4c03896 (79706262).

Thanks,
Rich


(liferea:8830): Gdk-ERROR **: The program 'liferea' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 76649 error_code 9 request_code 62 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


Breakpoint 1, gdk_x_error (xdisplay=0x818e00, error=0x7fffeaf6c420) at gdkmain-x11.c:268
268     gdkmain-x11.c: No such file or directory.
(gdb) where
#0  gdk_x_error (xdisplay=0x818e00, error=0x7fffeaf6c420) at gdkmain-x11.c:268
#1  0x00007fdf8b298bd6 in _XError (dpy=dpy@entry=0x818e00, rep=rep@entry=0x2902330) at XlibInt.c:1583
#2  0x00007fdf8b295e21 in handle_error (dpy=dpy@entry=0x818e00, err=err@entry=0x2902330,
    in_XReply=in_XReply@entry=1) at xcb_io.c:212
#3  0x00007fdf8b295e65 in handle_response (dpy=dpy@entry=0x818e00, response=0x2902330,
    in_XReply=in_XReply@entry=1) at xcb_io.c:324
#4  0x00007fdf8b296a58 in _XReply (dpy=dpy@entry=0x818e00, rep=rep@entry=0x7fffeaf6c5c0, extra=extra@entry=0,
    discard=discard@entry=1) at xcb_io.c:626
#5  0x00007fdf8b29240d in XSync (dpy=0x818e00, discard=discard@entry=0) at Sync.c:44
#6  0x00007fdf8b29249b in _XSyncFunction (dpy=<optimized out>) at Synchro.c:35
#7  0x00007fdf8b273c0a in XCopyArea (dpy=0x818e00, src_drawable=79706266, dst_drawable=79706262, gc=0x14bcf10,
    src_x=0, src_y=0, width=955, height=700, dst_x=0, dst_y=0) at CopyArea.c:61
#8  0x00007fdf8feda9a4 in _cairo_xlib_surface_put_shm (surface=0x2af2bb0) at cairo-xlib-surface-shm.c:1032
#9  0x00007fdf8fed6349 in _cairo_xlib_surface_flush (abstract_surface=0x2af2bb0, flags=3942040608)
    at cairo-xlib-surface.c:1449
#10 0x00007fdf8fea8bfd in _cairo_surface_finish_snapshots (surface=0x2af2bb0) at cairo-surface.c:994
#11 *INT_cairo_surface_destroy (surface=0x2af2bb0) at cairo-surface.c:938
#12 INT_cairo_surface_destroy (surface=0x2af2bb0) at cairo-surface.c:924
#13 0x00007fdf9343deea in ?? () from /usr/lib64/libwebkitgtk-3.0.so.0
#14 0x00007fdf926fc0d8 in ?? () from /usr/lib64/libwebkitgtk-3.0.so.0
#15 0x00007fdf8f052988 in g_object_unref (_object=0x147e4f0) at gobject.c:3024
#16 0x00007fdf9108e6ce in gtk_scrolled_window_forall (container=0x828af0 [GtkScrolledWindow],
    include_internals=0, callback=0x7fdf9114fa90 <gtk_widget_destroy>, callback_data=0x0)
    at gtkscrolledwindow.c:1581
#17 0x00007fdf90f8f2f2 in gtk_container_destroy (widget=0x828af0 [GtkScrolledWindow]) at gtkcontainer.c:1377
#18 0x00007fdf8f04d96e in g_closure_invoke (closure=0x7e2d70, return_value=0x0, n_param_values=1, param_values=
    0x7fffeaf6d170, invocation_hint=0x7fffeaf6d110) at gclosure.c:777
#19 0x00007fdf8f05f155 in signal_emit_unlocked_R (node=node@entry=0x7e3210, detail=detail@entry=0,
    instance=instance@entry=0x828af0, emission_return=emission_return@entry=0x0,
    instance_and_params=instance_and_params@entry=0x7fffeaf6d170) at gsignal.c:3667
#20 0x00007fdf8f066de5 in g_signal_emit_valist (instance=0x828af0, signal_id=<optimized out>, detail=0,
    var_args=var_args@entry=0x7fffeaf6d3b8) at gsignal.c:3300
#21 0x00007fdf8f066f82 in g_signal_emit (instance=instance@entry=0x828af0, signal_id=<optimized out>,
    detail=detail@entry=0) at gsignal.c:3356
#22 0x00007fdf9115b560 in gtk_widget_dispose (object=0x828af0 [GtkScrolledWindow]) at gtkwidget.c:10270
#23 0x00007fdf8f053a90 in g_object_run_dispose (object=0x828af0 [GtkScrolledWindow]) at gobject.c:1062
#24 0x00007fdf90f4967a in gtk_box_forall (container=<optimized out>, include_internals=<optimized out>,
    callback=0x7fdf9114fa90 <gtk_widget_destroy>, callback_data=0x0) at gtkbox.c:1875
#25 0x00007fdf90f8f2f2 in gtk_container_destroy (widget=0x2667490 [GtkBox]) at gtkcontainer.c:1377
#26 0x00007fdf8f04da30 in g_closure_invoke (closure=0x7e2d70, return_value=0x0, n_param_values=1, param_values=
    0x7fffeaf6d6e0, invocation_hint=0x7fffeaf6d680) at gclosure.c:777
#27 0x00007fdf8f05f155 in signal_emit_unlocked_R (node=node@entry=0x7e3210, detail=detail@entry=0,
    instance=instance@entry=0x2667490, emission_return=emission_return@entry=0x0,
    instance_and_params=instance_and_params@entry=0x7fffeaf6d6e0) at gsignal.c:3667
#28 0x00007fdf8f066de5 in g_signal_emit_valist (instance=0x2667490, signal_id=<optimized out>, detail=0,
    var_args=var_args@entry=0x7fffeaf6d928) at gsignal.c:3300
#29 0x00007fdf8f066f82 in g_signal_emit (instance=instance@entry=0x2667490, signal_id=<optimized out>,
    detail=detail@entry=0) at gsignal.c:3356
#30 0x00007fdf9115b560 in gtk_widget_dispose (object=0x2667490 [GtkBox]) at gtkwidget.c:10270
#31 0x00007fdf8f0528f4 in g_object_unref (_object=0x2667490) at gobject.c:2987
#32 0x00007fdf8f050eb1 in g_cclosure_marshal_VOID__OBJECTv (closure=0x7f8ff0, return_value=<optimized out>,
    instance=0x828370, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>,
    param_types=0x7f9020) at gmarshal.c:1316
#33 0x00007fdf8f04dcf7 in _g_closure_invoke_va (closure=0x7f8ff0, return_value=0x0, instance=0x828370, args=
    0x7fffeaf6dd58, n_params=1, param_types=0x7f9020) at gclosure.c:840
#34 0x00007fdf8f066416 in g_signal_emit_valist (instance=0x828370, signal_id=<optimized out>, detail=0,
    var_args=var_args@entry=0x7fffeaf6dd58) at gsignal.c:3211
#35 0x00007fdf8f066f82 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>,
    detail=<optimized out>) at gsignal.c:3356
#36 0x0000000000440a7d in browser_tabs_close_tab (tab=0x23f20b0) at browser_tabs.c:193
#37 0x00007fdf8f04dcf7 in _g_closure_invoke_va (closure=0x27fc3a0, return_value=0x0, instance=0x14a2530, args=
    0x7fffeaf6e138, n_params=0, param_types=0x0) at gclosure.c:840
#38 0x00007fdf8f066416 in g_signal_emit_valist (instance=0x14a2530, signal_id=<optimized out>, detail=0,
    var_args=var_args@entry=0x7fffeaf6e138) at gsignal.c:3211
#39 0x00007fdf8f066f82 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>,
    detail=<optimized out>) at gsignal.c:3356
#40 0x00007fdf90f552f8 in gtk_real_button_released (button=0x14a2530 [GeditCloseButton]) at gtkbutton.c:1967
#41 0x00007fdf8f04da30 in g_closure_invoke (closure=0x92f0b0, return_value=0x0, n_param_values=1, param_values=
    0x7fffeaf6e420, invocation_hint=0x7fffeaf6e3c0) at gclosure.c:777
#42 0x00007fdf8f05e763 in signal_emit_unlocked_R (node=node@entry=0x92f0e0, detail=detail@entry=0,
    instance=instance@entry=0x14a2530, emission_return=emission_return@entry=0x0,
    instance_and_params=instance_and_params@entry=0x7fffeaf6e420) at gsignal.c:3481
#43 0x00007fdf8f066de5 in g_signal_emit_valist (instance=0x14a2530, signal_id=<optimized out>, detail=0,
    var_args=var_args@entry=0x7fffeaf6e668) at gsignal.c:3300
#44 0x00007fdf8f066f82 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>,
    detail=detail@entry=0) at gsignal.c:3356
#45 0x00007fdf90f54063 in gtk_button_button_release (widget=<optimized out>, event=<optimized out>)
    at gtkbutton.c:1802
#46 gtk_button_button_release (widget=<optimized out>, event=<optimized out>) at gtkbutton.c:1794
#47 0x00007fdf91022fff in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x7f17d0, return_value=0x7fffeaf6e8b0,
    instance=0x14a2530, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>,
    param_types=0x7f1800) at gtkmarshalers.c:130
#48 0x00007fdf8f04dcf7 in _g_closure_invoke_va (closure=0x7f17d0, return_value=0x7fffeaf6e8b0, instance=
    0x14a2530, args=0x7fffeaf6ea78, n_params=1, param_types=0x7f1800) at gclosure.c:840
#49 0x00007fdf8f066416 in g_signal_emit_valist (instance=0x14a2530, signal_id=<optimized out>, detail=0,
    var_args=var_args@entry=0x7fffeaf6ea78) at gsignal.c:3211
#50 0x00007fdf8f066f82 in g_signal_emit (instance=instance@entry=0x14a2530, signal_id=<optimized out>,
    detail=detail@entry=0) at gsignal.c:3356
#51 0x00007fdf911510be in gtk_widget_event_internal (widget=widget@entry=0x14a2530 [GeditCloseButton],
    event=event@entry=0x22badd0) at gtkwidget.c:6303
#52 0x00007fdf911514d9 in gtk_widget_event (widget=widget@entry=0x14a2530 [GeditCloseButton],
    event=event@entry=0x22badd0) at gtkwidget.c:5960
#53 0x00007fdf91020efe in propagate_event_up (topmost=<optimized out>, event=<optimized out>, widget=
    0x14a2530 [GeditCloseButton]) at gtkmain.c:2397
#54 propagate_event (widget=<optimized out>, event=0x22badd0, captured=<optimized out>, topmost=0x0)
    at gtkmain.c:2505
#55 0x00007fdf91022bc3 in gtk_main_do_event (event=0x22badd0) at gtkmain.c:1720
#56 0x00007fdf90a14e82 in gdk_event_source_dispatch (source=source@entry=0x842b90, callback=<optimized out>,
    user_data=<optimized out>) at gdkeventsource.c:358
#57 0x00007fdf8ed8e7d5 in g_main_dispatch (context=0x812340) at gmain.c:2715
#58 g_main_context_dispatch (context=context@entry=0x812340) at gmain.c:3219
#59 0x00007fdf8ed8eb08 in g_main_context_iterate (context=context@entry=0x812340, block=block@entry=1,
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#60 0x00007fdf8ed8ebc4 in g_main_context_iteration (context=0x812340, context@entry=0x0,
    may_block=may_block@entry=1) at gmain.c:3351
#61 0x00007fdf8f32ae5c in g_application_run (application=0x7fdf7c007660 [GtkApplication], argc=argc@entry=0,
    argv=argv@entry=0x0) at gapplication.c:1624
#62 0x000000000041d213 in main (argc=1, argv=0x7fffeaf6f258) at main.c:279

(gdb) p/x error
$3 = {type = 0x0, display = 0x818e00, resourceid = 0x4c03896, serial = 0x2973c, error_code = 0x9,
  request_code = 0x3e, minor_code = 0x0}


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Liferea-devel mailing list
Liferea-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/liferea-devel