Crash when hovering over window
I got this crash with latest sources. I was not running in debug mode so I don't have the sway log, but here is the stack trace.
I wasn't doing anything remarkable, just moving the mouse to select a window when the crash happened.
#0 0x00007f9eb2b7df5f in wl_list_remove (elm=0x5617f04f3f08) at ../wayland-1.22.0/src/wayland-util.c:56
#1 0x00005617ee107ac2 in unmanaged_handle_dissociate (listener=0x5617f04f3ef0, data=0x0) at ../sway/desktop/xwayland.c:156
surface = 0x5617f04f3e40
#2 0x00007f9eb2b7e01e in wl_signal_emit_mutable (signal=<optimized out>, data=0x0) at ../wayland-1.22.0/src/wayland-server.c:2241
pos = 0x5617f04f3ef0
l = 0x5617f04f3ef0
cursor = {link = {prev = 0x5617f04f3ef0, next = 0x7ffd89be3060}, notify = 0x7f9eb2b7b110 <handle_noop>}
end = {link = {prev = 0x7ffd89be3080, next = 0x5617f0459dc0}, notify = 0x7f9eb2b7b110 <handle_noop>}
#3 0x00007f9eb32c9028 in xwayland_surface_dissociate (xsurface=0x5617f0459bb0) at ../subprojects/wlroots/xwayland/xwm.c:398
#4 0x00007f9eb32ca460 in xwayland_surface_handle_addon_destroy (addon=0x5617f0459c08) at ../subprojects/wlroots/xwayland/xwm.c:877
xsurface = 0x5617f0459bb0
#5 0x00007f9eb32bb08d in wlr_addon_set_finish (set=0x5617f04f4850) at ../subprojects/wlroots/util/addon.c:18
link = 0x5617f0459c18
addon = 0x5617f0459c08
impl = 0x7f9eb333fa80 <surface_addon_impl>
#6 0x00007f9eb328bdd0 in surface_handle_resource_destroy (resource=0x5617efad12d0) at ../subprojects/wlroots/types/wlr_compositor.c:640
surface = 0x5617f04f4520
surface_output = 0x5617f04f4830
surface_output_tmp = 0x5617f04f4830
cached = 0x7f9eb29a4353 <__GI___libc_free+115>
cached_tmp = 0x5617f04f41a0
#7 0x00007f9eb2b7f9ba in destroy_resource (element=0x5617efad12d0, data=data@entry=0x0, flags=0) at ../wayland-1.22.0/src/wayland-server.c:732
resource = 0x5617efad12d0
#8 0x00007f9eb2b817a9 in wl_resource_destroy (resource=<optimized out>) at ../wayland-1.22.0/src/wayland-server.c:749
client = 0x5617efd70930
id = 61
flags = <optimized out>