#0  0x00007f8b04eb604f in raise () at /usr/lib/libc.so.6
#1  0x00007f8b04eb747a in abort () at /usr/lib/libc.so.6
#2  0x00007f8b052a66f5 in g_assertion_message (domain=domain@entry=0x7f8b04a0d62e "Gdk", file=file@entry=0x7f8b04a355b1 "gdkwindow-wayland.c", line=line@entry=742, func=func@entry=0x7f8b04a35440 <__func__.66348> "gdk_wayland_window_attach_image", message=message@entry=0x47b47c0 "assertion failed: (_gdk_wayland_is_shm_surface (impl->staging_cairo_surface))") at gtestutils.c:2429
        lstr = "742\000\000\000\000\000\310V\243\004\213\177\000\000\224\202-\005\213\177\000\000\000\000\000\000\000\000\000"
        s = 0x41b4970 "PO{\004"
#3  0x00007f8b052a678a in g_assertion_message_expr (domain=domain@entry=0x7f8b04a0d62e "Gdk", file=file@entry=0x7f8b04a355b1 "gdkwindow-wayland.c", line=line@entry=742, func=func@entry=0x7f8b04a35440 <__func__.66348> "gdk_wayland_window_attach_image", expr=expr@entry=0x7f8b04a356c8 "_gdk_wayland_is_shm_surface (impl->staging_cairo_surface)")
    at gtestutils.c:2452
        s = 0x47b47c0 "assertion failed: (_gdk_wayland_is_shm_surface (impl->staging_cairo_surface))"
#4  0x00007f8b04a083f6 in gdk_wayland_window_attach_image (window=window@entry=0x3f9b1a0 [GdkWaylandWindow]) at gdkwindow-wayland.c:742
        display = <optimized out>
        impl = <optimized out>
        __func__ = "gdk_wayland_window_attach_image"
#5  0x00007f8b04a09fa3 in gdk_window_impl_wayland_end_paint (window=0x3f9b1a0 [GdkWaylandWindow]) at gdkwindow-wayland.c:910
        impl = 0x45870d0 [GdkWindowImplWayland]
        rect = {x = 8, y = 0, width = 57844768, height = 0}
        i = <optimized out>
        n = <optimized out>
#6  0x00007f8b049b6343 in gdk_window_end_paint_internal (window=window@entry=0x3f9b1a0 [GdkWaylandWindow]) at gdkwindow.c:3000
        composited = <optimized out>
        impl_class = <optimized out>
        clip_box = {x = 0, y = 0, width = 0, height = 0}
        cr = <optimized out>
        __func__ = "gdk_window_end_paint_internal"
#7  0x00007f8b049b670f in gdk_window_end_draw_frame (window=window@entry=0x3f9b1a0 [GdkWaylandWindow], context=context@entry=0x4623ef0 [GdkDrawingContext]) at gdkwindow.c:3268
        impl_class = <optimized out>
        __func__ = "gdk_window_end_draw_frame"
#8  0x00007f8b05f72059 in gtk_widget_render (widget=widget@entry=0x372a420 [EMsgComposer], window=0x3f9b1a0 [GdkWaylandWindow], region=<optimized out>) at gtkwidget.c:17502
        context = 0x4623ef0 [GdkDrawingContext]
        cr = 0x382b030
        x = <optimized out>
        y = <optimized out>
        is_double_buffered = 1
#9  0x00007f8b05dcb926 in gtk_main_do_event (event=0x7ffcdf336050) at gtkmain.c:1813
        event_widget = 0x372a420 [EMsgComposer]
        grab_widget = 0x372a420 [EMsgComposer]
        topmost_widget = <optimized out>
        rewritten_event = <optimized out>
        device = 0x0
        tmp_list = <optimized out>
        __func__ = "gtk_main_do_event"
#10 0x00007f8b04994bf5 in _gdk_event_emit (event=event@entry=0x7ffcdf336050) at gdkevents.c:73
#11 0x00007f8b049a77c8 in _gdk_window_process_updates_recurse_helper (window=0x3f9b1a0 [GdkWaylandWindow], expose_region=<optimized out>) at gdkwindow.c:3831
        event = 
            {type = GDK_EXPOSE, any = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000'}, expose = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', area = {x = 0, y = 0, width = 1692, height = 964}, region = 0x2f15b20, count = 0}, visibility = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', state = GDK_VISIBILITY_UNOBSCURED}, motion = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', time = 0, x = 3.5904168783132408e-311, y = 4.7627928259096167e-321, axes = 0x2f15b20, state = 0, is_hint = 0, device = 0x3f9b1a0 [GdkWaylandWindow], x_root = 1.5738291189690739e-316, y_root = 6.9285322911994387e-310}, button = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', time = 0, x = 3.5904168783132408e-311, y = 4.7627928259096167e-321, axes = 0x2f15b20, state = 0, button = 0, device = 0x3f9b1a0 [GdkWaylandWindow], x_root = 1.5738291189690739e-316, y_root = 6.9285322911994387e-310}, touch = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', time = 0, x = 3.5904168783132408e-311, y = 4.7627928259096167e-321, axes = 0x2f15b20, state = 0, sequence = 0x3f9b1a0, emulating_pointer = 31854656, device = 0x7f8b04a02263, x_root = 3.6620920364685873e-316, y_root = 6.9285325493578788e-310}, scroll = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', time = 0, x = 3.5904168783132408e-311, y = 4.7627928259096167e-321, state = 49371936, direction = GDK_SCROLL_UP, device = 0x0, x_root = 3.295199678371911e-316, y_root = 1.5738291189690739e-316, delta_x = 6.9285322911994387e-310, delta_y = 3.6620920364685873e-316, is_stop = 0}, key = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', time = 0, state = 0, keyval = 1692, length = 964, string = 0x2f15b20 "\002", hardware_keycode = 0, group = 0 '\000', is_modifier = 0}, crossing = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', subwindow = 0x69c00000000, time = 964, x = 2.4392977446272691e-316, y = 0, x_root = 3.295199678371911e-316, y_root = 1.5738291189690739e-316, mode = 77603427, detail = 32651, focus = 74121568, state = 0}, focus_change = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', in = 0}, configure = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', x = 0, y = 0, width = 1692, height = 964}, property = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', atom = 0x69c00000000, time = 964, state = 0}, selection = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', selection = 0x69c00000000, target = 0x3c4, property = 0x2f15b20, time = 0, requestor = 0x3f9b1a0 [GdkWaylandWindow]}, owner_change = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', owner = 0x69c00000000, reason = (unknown: 964), selection = 0x2f15b20, time = 0, selection_time = 0}, proximity = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', time = 0, device = 0x69c00000000}, dnd = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', context = 0x69c00000000, time = 964, x_root = 0, y_root = 0}, window_state = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', changed_mask = (unknown: 0), new_window_state = (unknown: 0)}, setting = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', action = GDK_SETTING_ACTION_NEW, name = 0x69c00000000 <error: Cannot access memory at address 0x69c00000000>}, grab_broken = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', keyboard = 0, implicit = 0, grab_window = 0x3c4}, touchpad_swipe = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', phase = 0 '\000', n_fingers = 0 '\000', time = 0, x = 3.5904168783132408e-311, y = 4.7627928259096167e-321, dx = 2.4392977446272691e-316, dy = 0, x_root = 3.295199678371911e-316, y_root = 1.5738291189690739e-316, state = 77603427}, touchpad_pinch = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', phase = 0 '\000', n_fingers = 0 '\000', time = 0, x = 3.5904168783132408e-311, y = 4.7627928259096167e-321, dx = 2.4392977446272691e-316, dy = 0, angle_delta = 3.295199678371911e-316, scale = 1.5738291189690739e-316, x_root = 6.9285322911994387e-310, y_root = 3.6620920364685873e-316, state = 82828612}, pad_button = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', time = 0, group = 0, button = 1692, mode = 964}, pad_axis = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', time = 0, group = 0, index = 1692, mode = 964, value = 2.4392977446272691e-316}, pad_group_mode = {type = GDK_EXPOSE, window = 0x3f9b1a0 [GdkWaylandWindow], send_event = 0 '\000', time = 0, group = 0, mode = 1692}}
        child = <optimized out>
        clipped_expose_region = 0x2f15b20
        children = <optimized out>
        i = <optimized out>
        n_children = <optimized out>
        l = <optimized out>
        last_link = <optimized out>
#12 0x00007f8b049aa3f6 in gdk_window_process_updates_internal (window=0x3f9b1a0 [GdkWaylandWindow]) at gdkwindow.c:3977
        expose_region = 0x2e81240
        impl_class = 0x1e65b70
        toplevel = <optimized out>
        display = <optimized out>
        __func__ = "gdk_window_process_updates_internal"
#13 0x00007f8b049aa637 in gdk_window_process_updates_with_mode (recurse_mode=2, window=<optimized out>) at gdkwindow.c:4174
        impl_window = 0x3f9b1a0 [GdkWaylandWindow]
        list = 0x46b0160
        i = <optimized out>
        window = <optimized out>
#14 0x00007f8b049aa637 in gdk_window_paint_on_clock (clock=<optimized out>, data=<optimized out>) at gdkwindow.c:11676
        window = <optimized out>
#18 0x00007f8b055796e7 in <emit signal ??? on instance 0x26bd990 [GdkFrameClockIdle]> (instance=instance@entry=0x26bd990, signal_id=<optimized out>, detail=detail@entry=0)
    at gsignal.c:3447
Python Exception <class 'gdb.error'> Attempt to dereference a generic pointer.: 
#19 0x00007f8b0499e5df in _gdk_frame_clock_emit_paint (frame_clock=frame_clock@entry=0x26bd990 [GdkFrameClockIdle]) at gdkframeclock.c:640
#20 0x00007f8b0499ed0e in gdk_frame_clock_paint_idle (data=0x26bd990) at gdkframeclockidle.c:430
        clock = 0x26bd990 [GdkFrameClockIdle]
        clock_idle = 0x26bd990 [GdkFrameClockIdle]
        priv = 0x26bd8b0
        skip_to_resume_events = 0
        timings = 0x7f8ae4055060
        __func__ = "gdk_frame_clock_paint_idle"
#21 0x00007f8b049889b8 in gdk_threads_dispatch (data=0x45b4aa0, data@entry=<error reading variable: value has been optimized out>) at gdk.c:743
        dispatch = 0x45b4aa0
        ret = 0
#22 0x00007f8b05277349 in g_timeout_dispatch (source=0x461ce40, callback=<optimized out>, user_data=<optimized out>) at gmain.c:4674
        timeout_source = 0x461ce40
        again = <optimized out>
#23 0x00007f8b0527677a in g_main_dispatch (context=0x1e5a200) at gmain.c:3203
        dispatch = 0x7f8b05277330 <g_timeout_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x45b4aa0
        callback = 0x7f8b04988990 <gdk_threads_dispatch>
        cb_funcs = <optimized out>
        cb_data = 0x461cee0
        need_destroy = <optimized out>
        source = 0x461ce40
        i = 1
#24 0x00007f8b0527677a in g_main_context_dispatch (context=context@entry=0x1e5a200) at gmain.c:3856
#25 0x00007f8b05276b50 in g_main_context_iterate (context=0x1e5a200, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3929
        max_priority = 120
        timeout = 0
        some_ready = 1
        nfds = 5
        allocated_nfds = 5
        fds = <optimized out>
#26 0x00007f8b05276e72 in g_main_loop_run (loop=0x25a5ae0) at gmain.c:4125
        __func__ = "g_main_loop_run"
#27 0x00007f8b05dca495 in gtk_main () at gtkmain.c:1301
        loop = 0x25a5ae0
#28 0x00000000004039fd in main (argc=<optimized out>, argv=<optimized out>) at main.c:659
        settings = <optimized out>
        success = <optimized out>
        error = 0x0
