Bad memory access in input method
Found with valgrind.
Block allocated at wlr_input_method_v2.c:200
struct wl_resource *im_resource = wl_resource_create(client,
&zwp_input_method_v2_interface, version, input_method_id);
freed by the main loop (object died?), and then written to (8bytes) in wlr_input_method_v2.c:218
in wl_list_insert
wl_list_insert(&im_manager->input_methods,
wl_resource_get_link(input_method->resource));
Perhaps the list is not popped correctly when an input method goes down.