Nested kwin_wayland crashes
Summary:
Nested kwin_wayland
does not work with waypipe.
System Environments
Remote system:
- Distribution: openSUSE Tumbleweed
- Desktop Environment: KDE Plasma (Wayland)
- Version: 0.8.6 (Nixpkgs)
-
> waypipe --version waypipe 0.8.6 features: lz4 zstd dmabuf video vaapi unavailable:
Local system:
- Distribution: Ubuntu 22.04.1 LTS (WSL2)
- Desktop Environment: Weston
- Version: 0.8.2 (Ubuntu repository)
-
> waypipe --version waypipe 0.8.2 features: lz4 zstd dmabuf video vaapi unavailable:
Steps to reproduce:
- On remote system, install
kwin5
, or the full KDE Plasma desktop if you want - On local system, install
weston
and use it as the compositor - On local system:
waypipe -c zstd ssh <IP>
- Inside the waypipe ssh:
export $(dbus-launch) kwin_wayland
- A window should appear, now try to move mouse cursor into that window
Observed results
kwin_wayland
crashes and the terminal emulator generates the following logs:
C4248: 69.752577 [src/mainloop.c:875] compositor has closed
C4250: 69.752428 [src/mainloop.c:875] compositor has closed
wl_display@1: error 3: waypipe internal error
Wayland connection broke
Aborted (core dumped)
Full logs
> export $(dbus-launch)
> kwin_wayland
No backend specified, automatically choosing Wayland because WAYLAND_DISPLAY is set
unable to lock lockfile /run/user/1000/wayland-0.lock, maybe another compositor is running
unable to lock lockfile /run/user/1000/wayland-1.lock, maybe another compositor is running
unable to lock lockfile /run/user/1000/wayland-2.lock, maybe another compositor is running
kwin_core: Configured compositor not supported by Platform. Falling back to defaults
kwin_xkbcommon: XKB: inet:323:58: unrecognized keysym "XF86EmojiPicker"
kwin_xkbcommon: XKB: inet:324:58: unrecognized keysym "XF86Dictate"
C4138: 0.510389 [src/mainloop.c:875] compositor has closed
C4136: 0.510407 [src/mainloop.c:875] compositor has closed
wl_display@1: error 3: waypipe internal error
Wayland connection broke
Aborted (core dumped)
On remote system, a "kwin_wayland Closed Unexpectedly" tray icon appears. The KDE Crash Handler cannot generate a backtrace:
The crash information could not be generated.
If the mouse cursor is already inside kwin window when it's started, then it crashes instantly.
Expected results
kwin_wayland
should not crash after mouse cursor moved into its window.