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

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 31 12:58:15 UTC 2018


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

--- Comment #1 from Martin Stransky <stransky at redhat.com> ---
I see another crash with this patch applied:

(gdb) p    impl->display_server.wl_surface
$2 = (struct wl_surface *) 0x0

It also comes from the expose event handler, bt:

#8  0x00007f9f66b3a52f in wl_surface_damage (height=<optimized out>,
width=<optimized out>, y=<optimized out>, x=<optimized out>,
wl_surface=<optimized out>) at /usr/include/wayland-client-protocol.h:3478
#9  0x00007f9f66b3a52f in gdk_window_impl_wayland_end_paint
(window=0x7f9f2b3c4830 [GdkWaylandWindow])
    at gdkwindow-wayland.c:952
#10 0x00007f9f66aee8bb in gdk_window_end_paint_internal
(window=window at entry=0x7f9f2b3c4830 [GdkWaylandWindow])
    at gdkwindow.c:3021
#11 0x00007f9f66aeec88 in gdk_window_end_draw_frame
(window=window at entry=0x7f9f2b3c4830 [GdkWaylandWindow],
context=context at entry=0x7f9f408735b0 [GdkDrawingContext]) at gdkwindow.c:3289
#12 0x00007f9f671276e3 in gtk_widget_render (widget=widget at entry=0x7f9f344d0e60
[GtkWindow], window=0x7f9f2b3c4830 [GdkWaylandWindow], region=<optimized out>)
at gtkwidget.c:17522
#13 0x00007f9f66fc7a49 in gtk_main_do_event (event=<optimized out>) at
gtkmain.c:1834
#14 0x00007f9f66ad5305 in _gdk_event_emit (event=event at entry=0x7fffc1dfbf80) at
gdkevents.c:73
#15 0x00007f9f66ae5655 in _gdk_window_process_updates_recurse_helper
(window=0x7f9f2b3c4830 [GdkWaylandWindow], expose_region=<optimized out>) at
gdkwindow.c:3852
#16 0x00007f9f66ae6856 in gdk_window_process_updates_internal
(window=0x7f9f2b3c4830 [GdkWaylandWindow]) at gdkwindow.c:3998
#17 0x00007f9f66ae6a50 in gdk_window_process_updates_with_mode
(window=<optimized out>, recurse_mode=<optimized out>)
    at gdkwindow.c:4192
#21 0x00007f9f6444266f in <emit signal ??? on instance 0x7f9f3fff2430
[GdkFrameClockIdle]> (instance=instance at entry=0x7f9f3fff2430,
signal_id=<optimized out>, detail=detail at entry=0) at gsignal.c:3447
    #18 0x00007f9f6442673d in g_closure_invoke (closure=0x7f9f344cde40,
return_value=0x0, n_param_values=1, param_values=0x7fffc1dfc260,
invocation_hint=0x7fffc1dfc1e0) at gclosure.c:804
    #19 0x00007f9f644394de in signal_emit_unlocked_R
(node=node at entry=0x7f9f49804220, detail=detail at entry=0,
instance=instance at entry=0x7f9f3fff2430,
emission_return=emission_return at entry=0x0,
instance_and_params=instance_and_params at entry=0x7fffc1dfc260) at gsignal.c:3635
    #20 0x00007f9f64441d05 in g_signal_emit_valist (instance=0x7f9f3fff2430,
signal_id=<optimized out>, detail=0, var_args=var_args at entry=0x7fffc1dfc430) at
gsignal.c:3391
#22 0x00007f9f66ade13f in _gdk_frame_clock_emit_paint
(frame_clock=frame_clock at entry=0x7f9f3fff2430 [GdkFrameClockIdle])
    at gdkframeclock.c:640
#23 0x00007f9f66ade871 in gdk_frame_clock_paint_idle (data=0x7f9f3fff2430) at
gdkframeclockidle.c:430
#24 0x00007f9f66ac99d0 in gdk_threads_dispatch (data=data at entry=0x7f9f36415460)
at gdk.c:743
#25 0x00007f9f6414e5dd in g_timeout_dispatch (source=0x7f9f3fe13cf0,
callback=0x7f9f66ac99b0 <gdk_threads_dispatch>, user_data=0x7f9f36415460) at
gmain.c:4615
#26 0x00007f9f6414db77 in g_main_dispatch (context=0x7f9f693a5f50) at
gmain.c:3142

-- 
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/20180131/47898de8/attachment.html>


More information about the wayland-bugs mailing list