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

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 14 08:43:07 UTC 2018


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

--- Comment #16 from Martin Stransky <stransky at redhat.com> ---
With the latest patch applied I still see a crash:

#6  0x00007fcd1de3aaf0 in <signal handler called> () at /lib64/libpthread.so.0
#7  0x00007fcd1671ee79 in wl_proxy_marshal (proxy=0x0, opcode=2) at
src/wayland-client.c:692
#8  0x00007fcd1a3f4b79 in wl_surface_damage (wl_surface=0x0, x=0, y=0,
width=1185, height=113)
    at /usr/include/wayland-client-protocol.h:3478
#9  0x00007fcd1a3f71b7 in gdk_window_impl_wayland_end_paint
(window=0x7fcce96f7950 [GdkWaylandWindow])
    at gdkwindow-wayland.c:952
#10 0x00007fcd1a3814e5 in gdk_window_end_paint_internal (window=0x7fcce96f7950
[GdkWaylandWindow]) at gdkwindow.c:3021
#11 0x00007fcd1a381ca8 in gdk_window_end_draw_frame (window=0x7fcce96f7950
[GdkWaylandWindow], context=0x7fcce00eab80 [GdkDrawingContext]) at
gdkwindow.c:3289
#12 0x00007fcd1ab20f61 in gtk_widget_render (widget=0x7fcce896fe60 [GtkWindow],
window=0x7fcce96f7950 [GdkWaylandWindow], region=0x7fccf5417260) at
gtkwidget.c:17522
#13 0x00007fcd1a92fbc0 in gtk_main_do_event (event=0x7ffcac200800) at
gtkmain.c:1834
#14 0x00007fcd1a3678d2 in _gdk_event_emit (event=0x7ffcac200800) at
gdkevents.c:73
#15 0x00007fcd1a382b78 in _gdk_window_process_updates_recurse_helper
(window=0x7fcce96f7950 [GdkWaylandWindow], expose_region=0x7fccf54034e0) at
gdkwindow.c:3853
#16 0x00007fcd1a382e38 in _gdk_window_process_updates_recurse
(window=0x7fcce96f7950 [GdkWaylandWindow], expose_region=0x7fccf54034e0) at
gdkwindow.c:3910
#17 0x00007fcd1a390bc4 in gdk_window_impl_process_updates_recurse
(window=0x7fcce96f7950 [GdkWaylandWindow], region=0x7fccf54034e0) at
gdkwindowimpl.c:333
#18 0x00007fcd1a3830cc in gdk_window_process_updates_internal
(window=0x7fcce96f7950 [GdkWaylandWindow]) at gdkwindow.c:3999
#19 0x00007fcd1a38358d in gdk_window_process_updates_with_mode
(window=0x7fcce96f7950 [GdkWaylandWindow], recurse_mode=2)
    at gdkwindow.c:4193
#20 0x00007fcd1a38f78d in gdk_window_paint_on_clock (clock=0x7fccc7d2d860
[GdkFrameClockIdle], data=0x7fcce96f7950)
    at gdkwindow.c:11700
#24 0x00007fcd17cd066f in <emit signal ??? on instance 0x7fccc7d2d860
[GdkFrameClockIdle]> (instance=<optimized out>, signal_id=<optimized out>,
detail=<optimized out>) at gsignal.c:3447
    #21 0x00007fcd17cb473d in g_closure_invoke (closure=0x7fcce0126850,
return_value=0x0, n_param_values=1, param_values=0x7ffcac200b60,
invocation_hint=0x7ffcac200ae0) at gclosure.c:804
    #22 0x00007fcd17cc74de in signal_emit_unlocked_R
(node=node at entry=0x7fccfd006220, detail=detail at entry=0,
instance=instance at entry=0x7fccc7d2d860,
emission_return=emission_return at entry=0x0,
instance_and_params=instance_and_params at entry=0x7ffcac200b60) at gsignal.c:3635
    #23 0x00007fcd17ccfd05 in g_signal_emit_valist (instance=0x7fccc7d2d860,
signal_id=<optimized out>, detail=0, var_args=var_args at entry=0x7ffcac200d30) at
gsignal.c:3391
#25 0x00007fcd1a3745c8 in _gdk_frame_clock_emit_paint
(frame_clock=0x7fccc7d2d860 [GdkFrameClockIdle]) at gdkframeclock.c:640
#26 0x00007fcd1a3750ac in gdk_frame_clock_paint_idle (data=0x7fccc7d2d860) at
gdkframeclockidle.c:430

it comes from expose event.

(gdb) p* window
$3 = {
  parent_instance = {
    g_type_instance = {
      g_class = 0x7fcd1cd616b0
    }, 
    ref_count = 11, 
    qdata = 0x7fcce02d9780
  }, 
  impl = 0x7fcce91d9000 [GdkWindowImplWayland], 
  parent = 0x7fcd1cdbe050 [GdkWaylandWindow], 
  transient_for = 0x7fcce977c5d0 [GdkWaylandWindow], 
  visual = 0x7fcd1cdb6440 [GdkWaylandVisual], 
  user_data = 0x7fcce896fe60, 
  x = 23, 
  y = 88, 
  event_mask = 6553366, 
  window_type = 3 '\003', 
  depth = 32 ' ', 
  resize_count = 0 '\000', 
  toplevel_window_type = -1 '\377', 
  filters = 0x0, 
  children = 0x7fcce96f7b40 = {0x7fcce96f7ae0}, 
  children_list_node = {data=0x7fcce96f7950, next=0x7fcce96f7500, prev=0x0}, 
  native_children = 0x0, 
  background = 0x7fccc8743d40, 
  current_paint = {
    surface = 0x7fccc7d51980, 
    region = 0x7fccf54172a0, 
    flushed_region = 0x7fccf54172e0, 
    need_blend_region = 0x7fccf54173e0, 
    surface_needs_composite = 0, 
    use_gl = 0
  }, 
  gl_paint_context = 0x0, 
  update_area = 0x0, 
  update_freeze_count = 0, 
  active_update_area = 0x7fccea6fcb40, 
  old_updated_area = {0x0, 0x0}, 
  old_state = GDK_WINDOW_STATE_FOCUSED, 
  state = (GDK_WINDOW_STATE_WITHDRAWN | GDK_WINDOW_STATE_FOCUSED), 
  alpha = 255 '\377', 
  fullscreen_mode = 0 '\000', 
  input_only = 0, 
  pass_through = 0, 
  modal_hint = 0, 
  composited = 0, 
  has_alpha_background = 0, 
  destroyed = 0, 
  accept_focus = 1, 
  focus_on_map = 1, 
  shaped = 0, 
  support_multidevice = 0, 
  synthesize_crossing_event_queued = 1, 
  effective_visibility = 3, 
  visibility = 2, 
  native_visibility = 0, 
  viewable = 0, 
  applied_shape = 0, 
  in_update = 1, 
  geometry_dirty = 1, 
  event_compression = 1, 
  frame_clock_events_paused = 0, 
  impl_window = 0x7fcce96f7950 [GdkWaylandWindow], 
  update_and_descendants_freeze_count = 0, 
  abs_x = 0, 
  abs_y = 0, 
  width = 1185, 
  height = 113, 
  shadow_top = 0, 
  shadow_left = 0, 
  shadow_right = 0, 
  shadow_bottom = 0, 
  num_offscreen_children = 0, 
  clip_region = 0x7fccf54177c0, 
  cursor = 0x0, 
  device_cursor = 0x7fccdae657c0 = {
    [0x5e1] = 0x5e1
  }, 
  shape = 0x0, 
  input_shape = 0x0, 
  devices_inside = 0x0, 
  device_events = 0x0, 
  source_event_masks = 0x0, 
  device_added_handler_id = 0, 
  device_changed_handler_id = 0, 
  frame_clock = 0x7fccc7d2d860 [GdkFrameClockIdle], 
  invalidate_handler = 0x0, 
  drawing_context = 0x7fcce00eab80 [GdkDrawingContext], 
  opaque_region = 0x0
}

-- 
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/20180214/f0d969ce/attachment-0001.html>


More information about the wayland-bugs mailing list