[Wayland-bugs] [Bug 773274] [Wayland] Crash under gdk_wayland_window_attach_image()

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 1 08:46:34 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=773274

--- Comment #7 from Jiri Eischmann <jiri at eischmann.cz> ---
I managed to reproduce the crash even with the quoted method of forwarding when
there was an attached file present in the original message. The quoted method
doesn't crash if you forward a message without an attachment.

I get the same error:
Gdk:ERROR:gdkwindow-wayland.c:742:gdk_wayland_window_attach_image: assertion
failed: (_gdk_wayland_is_shm_surface (impl->staging_cairo_surface))

No other error.

Backtrace:

#0  0x00007fffeb97692f in raise () at /lib64/libc.so.6
#1  0x00007fffeb97852a in abort () at /lib64/libc.so.6
#2  0x00007fffebd77cc5 in g_assertion_message
(domain=domain at entry=0x7fffed471c4e "Gdk", file=file at entry=0x7fffed4996d1
"gdkwindow-wayland.c", line=line at entry=742, func=func at entry=0x7fffed499560
"gdk_wayland_window_attach_image", message=message at entry=0x5555589d04c0
"assertion failed: (_gdk_wayland_is_shm_surface
(impl->staging_cairo_surface))") at gtestutils.c:2429
#3  0x00007fffebd77d5a in g_assertion_message_expr (domain=0x7fffed471c4e
"Gdk", file=0x7fffed4996d1 "gdkwindow-wayland.c", line=742, func=0x7fffed499560
"gdk_wayland_window_attach_image", expr=<optimized out>)
    at gtestutils.c:2452
#4  0x00007fffed46dbe6 in gdk_wayland_window_attach_image () at
/lib64/libgdk-3.so.0
#5  0x00007fffed46de1b in gdk_window_impl_wayland_end_paint () at
/lib64/libgdk-3.so.0
#6  0x00007fffed423cc3 in gdk_window_end_paint_internal () at
/lib64/libgdk-3.so.0
#7  0x00007fffed42401f in gdk_window_end_draw_frame () at /lib64/libgdk-3.so.0
#8  0x00007fffeda54343 in gtk_widget_render () at /lib64/libgtk-3.so.0
#9  0x00007fffed8f313a in gtk_main_do_event () at /lib64/libgtk-3.so.0
#10 0x00007fffed40a435 in _gdk_event_emit () at /lib64/libgdk-3.so.0
#11 0x00007fffed41aad8 in _gdk_window_process_updates_recurse_helper () at
/lib64/libgdk-3.so.0
#12 0x00007fffed41bcd6 in gdk_window_process_updates_internal () at
/lib64/libgdk-3.so.0
#13 0x00007fffed41bed4 in gdk_window_process_updates_with_mode () at
/lib64/libgdk-3.so.0
#17 0x00007fffec04443f in <emit signal ??? on instance 0x55555580c7a0
[GdkFrameClockIdle]> (instance=<optimized out>, signal_id=<optimized out>,
detail=<optimized out>) at gsignal.c:3447
    #14 0x00007fffec0293e5 in g_closure_invoke (closure=0x55555b95bd30,
return_value=return_value at entry=0x0, n_param_values=1,
param_values=param_values at entry=0x7fffffffd960,
invocation_hint=invocation_hint at entry=0x7fffffffd8e0)
    at gclosure.c:804
    #15 0x00007fffec03b432 in signal_emit_unlocked_R
(node=node at entry=0x5555557e5e30, detail=detail at entry=0,
instance=instance at entry=0x55555580c7a0,
emission_return=emission_return at entry=0x0,
instance_and_params=instance_and_params at entry=0x7fffffffd960) at gsignal.c:3635
    #16 0x00007fffec04405f in g_signal_emit_valist (instance=<optimized out>,
signal_id=<optimized out>, detail=<optimized out>,
var_args=var_args at entry=0x7fffffffdb20) at gsignal.c:3391
#18 0x00007fffed413ab9 in gdk_frame_clock_paint_idle () at /lib64/libgdk-3.so.0
#19 0x00007fffed3fecf8 in gdk_threads_dispatch () at /lib64/libgdk-3.so.0
#20 0x00007fffebd5188d in g_timeout_dispatch (source=0x55555a352eb0,
callback=0x7fffed3fecd0 <gdk_thr----------------------Type <return> to
continue, or q <return> to quit---Python Exception <class 'KeyboardInterrupt'>
Quit: 
#21 0x00007fffebd50e42 in g_main_dispatch (context=0x55555579edd0) at
gmain.c:3203
#22 0x00007fffebd50e42 in g_main_context_dispatch
(context=context at entry=0x55555579edd0) at gmain.c:3856
#23 0x00007fffebd511c0 in g_main_context_iterate (context=0x55555579edd0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3929
#24 0x00007fffebd514e2 in g_main_loop_run (loop=0x555556afa4a0) at gmain.c:4125
#25 0x00007fffed8f2325 in gtk_main () at /lib64/libgtk-3.so.0
#26 0x0000555555557db9 in main (argc=<optimized out>, argv=<optimized out>) at
main.c:662

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20161101/78cf23ab/attachment-0001.html>


More information about the wayland-bugs mailing list