Segfault when a graphics tablet is attached
I think this happened when coming back from another VT.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 wl_resource_post_event (resource=resource@entry=0xffffffffffffffe0, opcode=opcode@entry=18) at ../wayland/src/wayland-server.c:254
254 ../wayland/src/wayland-server.c: No such file or directory.
[Current thread is 1 (Thread 0x7f76d584dd00 (LWP 886416))]
(gdb) bt
#0 wl_resource_post_event (resource=resource@entry=0xffffffffffffffe0, opcode=opcode@entry=18) at ../wayland/src/wayland-server.c:254
#1 0x00007f76d59ea023 in zwp_tablet_tool_v2_send_frame (time=<optimized out>, resource_=0xffffffffffffffe0) at protocol/tablet-unstable-v2-server-protocol.h:1075
#2 weston_tablet_tool_send_frame (tool=0x564502f047d0, time=<optimized out>) at ../libweston/input.c:1751
#3 0x00007f76d5a4adb5 in idle_notify_tablet_tool_frame (data=0x564502f047d0) at ../libweston/libinput-device.c:582
#4 0x00007f76d59a2b03 in wl_event_loop_dispatch_idle (loop=loop@entry=0x56450263a480) at ../wayland/src/event-loop.c:969
#5 0x00007f76d59a2ddd in wl_event_loop_dispatch (loop=0x56450263a480, timeout=<optimized out>, timeout@entry=-1) at ../wayland/src/event-loop.c:1109
#6 0x00007f76d599fef7 in wl_display_run (display=display@entry=0x56450263a390) at ../wayland/src/wayland-server.c:1493
#7 0x00007f76d5a734cb in wet_main (argc=<optimized out>, argv=0x7ffff3078ee8, test_data=0x0) at ../compositor/main.c:4244
#8 0x00007f76d5627cd0 in () at /usr/lib/libc.so.6
#9 0x00007f76d5627d8a in __libc_start_main () at /usr/lib/libc.so.6
#10 0x0000564501a48055 in _start ()