Xwayland crashes while launching in fullscreen mode on wlroots
Log
twaik@TwaikTop:~/$ WAYLAND_DEBUG=1 WAYLAND_DISPLAY=wayland-0 Xwayland :1
[1558271.374] -> wl_display@1.get_registry(new id wl_registry@2)
[1558271.414] -> wl_display@1.sync(new id wl_callback@3)
[1558271.498] wl_display@1.delete_id(3)
[1558271.523] wl_registry@2.global(1, "wl_shm", 1)
[1558271.549] -> wl_registry@2.bind(1, "wl_shm", 1, new id [unknown]@4)
[1558271.581] wl_registry@2.global(2, "wl_drm", 2)
[1558271.602] -> wl_registry@2.bind(2, "wl_drm", 2, new id [unknown]@5)
[1558271.630] wl_registry@2.global(3, "zwp_linux_dmabuf_v1", 3)
[1558271.655] -> wl_registry@2.bind(3, "zwp_linux_dmabuf_v1", 3, new id [unknown]@6)
[1558271.694] wl_registry@2.global(4, "wl_compositor", 4)
[1558271.718] -> wl_registry@2.bind(4, "wl_compositor", 1, new id [unknown]@7)
[1558271.749] wl_registry@2.global(5, "wl_subcompositor", 1)
[1558271.776] wl_registry@2.global(6, "wl_data_device_manager", 3)
[1558271.800] wl_registry@2.global(7, "xdg_wm_base", 2)
[1558271.822] wl_registry@2.global(8, "wl_seat", 7)
[1558271.844] wl_registry@2.global(9, "wl_output", 3)
[1558271.865] -> wl_registry@2.bind(9, "wl_output", 2, new id [unknown]@8)
[1558271.903] wl_callback@3.done(71)
[1558271.917] -> wl_display@1.sync(new id wl_callback@3)
[1558272.061] wl_display@1.delete_id(3)
[1558272.077] wl_drm@5.device("/dev/dri/renderD128")
[1558272.113] wl_drm@5.capabilities(1)
[1558272.124] wl_drm@5.format(1211384385)
[1558272.136] wl_drm@5.format(1211384408)
[1558272.146] wl_drm@5.format(808669761)
[1558272.158] wl_drm@5.format(808669784)
[1558272.168] wl_drm@5.format(808665665)
[1558272.180] wl_drm@5.format(808665688)
[1558272.191] wl_drm@5.format(875713089)
[1558272.202] wl_drm@5.format(875708993)
[1558272.212] wl_drm@5.format(875713112)
[1558272.222] wl_drm@5.format(875709016)
[1558272.234] wl_drm@5.format(892424769)
[1558272.248] wl_drm@5.format(909199186)
[1558272.259] wl_drm@5.format(538982482)
[1558272.269] wl_drm@5.format(540422482)
[1558272.282] wl_drm@5.format(943215175)
[1558272.292] wl_drm@5.format(842224199)
[1558272.303] wl_drm@5.format(961959257)
[1558272.314] wl_drm@5.format(825316697)
[1558272.324] wl_drm@5.format(842093913)
[1558272.334] wl_drm@5.format(909202777)
[1558272.345] wl_drm@5.format(875713881)
[1558272.356] wl_drm@5.format(961893977)
[1558272.366] wl_drm@5.format(825316953)
[1558272.377] wl_drm@5.format(842094169)
[1558272.389] wl_drm@5.format(909203033)
[1558272.399] wl_drm@5.format(875714137)
[1558272.410] wl_drm@5.format(842094158)
[1558272.420] wl_drm@5.format(808530000)
[1558272.445] wl_drm@5.format(842084432)
[1558272.457] wl_drm@5.format(909193296)
[1558272.468] wl_drm@5.format(909203022)
[1558272.479] wl_drm@5.format(1448433985)
[1558272.490] wl_drm@5.format(1448434008)
[1558272.502] wl_drm@5.format(1448695129)
[1558272.513] wl_drm@5.format(1498831189)
[1558272.524] zwp_linux_dmabuf_v1@6.modifier(1211384385, 16777215, 4294967295)
[1558272.544] zwp_linux_dmabuf_v1@6.modifier(1211384408, 16777215, 4294967295)
[1558272.567] zwp_linux_dmabuf_v1@6.modifier(808669761, 16777215, 4294967295)
[1558272.586] zwp_linux_dmabuf_v1@6.modifier(808669784, 16777215, 4294967295)
[1558272.608] zwp_linux_dmabuf_v1@6.modifier(808665665, 16777215, 4294967295)
[1558272.628] zwp_linux_dmabuf_v1@6.modifier(808665688, 16777215, 4294967295)
[1558272.642] zwp_linux_dmabuf_v1@6.modifier(875713089, 16777215, 4294967295)
[1558272.663] zwp_linux_dmabuf_v1@6.modifier(875708993, 16777215, 4294967295)
[1558272.683] zwp_linux_dmabuf_v1@6.modifier(875713112, 16777215, 4294967295)
[1558272.705] zwp_linux_dmabuf_v1@6.modifier(875709016, 16777215, 4294967295)
[1558272.724] zwp_linux_dmabuf_v1@6.modifier(892424769, 16777215, 4294967295)
[1558272.745] zwp_linux_dmabuf_v1@6.modifier(909199186, 16777215, 4294967295)
[1558272.769] zwp_linux_dmabuf_v1@6.modifier(538982482, 16777215, 4294967295)
[1558272.790] zwp_linux_dmabuf_v1@6.modifier(540422482, 16777215, 4294967295)
[1558272.810] zwp_linux_dmabuf_v1@6.modifier(943215175, 16777215, 4294967295)
[1558272.831] zwp_linux_dmabuf_v1@6.modifier(842224199, 16777215, 4294967295)
[1558272.847] zwp_linux_dmabuf_v1@6.modifier(961959257, 16777215, 4294967295)
[1558272.867] zwp_linux_dmabuf_v1@6.modifier(825316697, 16777215, 4294967295)
[1558272.886] zwp_linux_dmabuf_v1@6.modifier(842093913, 16777215, 4294967295)
[1558272.905] zwp_linux_dmabuf_v1@6.modifier(909202777, 16777215, 4294967295)
[1558272.923] zwp_linux_dmabuf_v1@6.modifier(875713881, 16777215, 4294967295)
[1558272.945] zwp_linux_dmabuf_v1@6.modifier(961893977, 16777215, 4294967295)
[1558272.964] zwp_linux_dmabuf_v1@6.modifier(825316953, 16777215, 4294967295)
[1558272.988] zwp_linux_dmabuf_v1@6.modifier(842094169, 16777215, 4294967295)
[1558273.010] zwp_linux_dmabuf_v1@6.modifier(909203033, 16777215, 4294967295)
[1558273.031] zwp_linux_dmabuf_v1@6.modifier(875714137, 16777215, 4294967295)
[1558273.045] zwp_linux_dmabuf_v1@6.modifier(842094158, 16777215, 4294967295)
[1558273.065] zwp_linux_dmabuf_v1@6.modifier(808530000, 16777215, 4294967295)
[1558273.095] zwp_linux_dmabuf_v1@6.modifier(842084432, 16777215, 4294967295)
[1558273.118] zwp_linux_dmabuf_v1@6.modifier(909193296, 16777215, 4294967295)
[1558273.131] zwp_linux_dmabuf_v1@6.modifier(909203022, 16777215, 4294967295)
[1558273.150] zwp_linux_dmabuf_v1@6.modifier(1448433985, 16777215, 4294967295)
[1558273.169] zwp_linux_dmabuf_v1@6.modifier(1448434008, 16777215, 4294967295)
[1558273.189] zwp_linux_dmabuf_v1@6.modifier(1448695129, 16777215, 4294967295)
[1558273.210] zwp_linux_dmabuf_v1@6.modifier(1498831189, 16777215, 4294967295)
[1558273.230] wl_output@8.geometry(0, 0, 0, 0, 0, "The X.Org Foundation", "11.0", 0)
[1558273.264] wl_output@8.mode(1, 1024, 651, 0)
[1558273.290] wl_output@8.scale(1)
[1558273.301] wl_output@8.done()
[1558273.318] wl_callback@3.done(71)
[1558310.931] -> wl_display@1.sync(new id wl_callback@3)
[1558311.033] wl_display@1.delete_id(3)
[1558311.052] wl_callback@3.done(71)
[1558324.085] -> wl_compositor@7.create_surface(new id wl_surface@3)
(EE)
(EE) Backtrace:
(EE) 0: Xwayland (OsLookupColor+0x139) [0x55b2e343e599]
(EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x60) [0x7ffbbb3e7c0f]
(EE) 2: /lib/x86_64-linux-gnu/libwayland-client.so.0 (wl_proxy_marshal_constructor+0x8a) [0x7ffbbbd1241a]
(EE) 3: Xwayland (_start+0x13e5) [0x55b2e32d6125]
(EE) 4: Xwayland (CompositeRegisterImplicitRedirectionException+0x1aeb) [0x55b2e33f4a8b]
(EE) 5: Xwayland (MapWindow+0x1e9) [0x55b2e3433749]
(EE) 6: Xwayland (InitFonts+0x355) [0x55b2e340a645]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf2) [0x7ffbbb211cb2]
(EE) 8: Xwayland (_start+0x2e) [0x55b2e32d3abe]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
Aborted (core dumped)
It works with Weston but not wlroots or any other compositor. I also tried to launch it on top of other compositors but it still do not work. Can it be fixed? Thank you very much.
UPD. The same thing happens when trying to launch it with
weston --shell=fullscreen-shell.so
weston --shell=kiosk-shell.so
weston --shell=ivi-shell.so
#etc...
I think it is somehow connected...
Edited by Twaik Yont