https://bugs.kde.org/show_bug.cgi?id=517711

            Bug ID: 517711
           Summary: kwin_wayland crashes on startup when XKBVARIANT is set
                    to an invalid value
    Classification: Plasma
           Product: kwin
      Version First 6.6.2
       Reported In:
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 190739
  --> https://bugs.kde.org/attachment.cgi?id=190739&action=edit
Backtrace+kwin buildinfo+systeminfo separated by #####

kwin_wayland crashes on the first keypress after startup (and restarts on every
subsequent keypress) when XKBVARIANT=latin is set in /etc/vconsole.conf,
because de(latin) is not a valid XKB variant. Critically, kwin_wayland emits no
error or warning related to the invalid keymap — making the root cause
extremely difficult to diagnose without external help. The crash is fully
reproducible via XKB_DEFAULT_VARIANT=latin startplasma-wayland. The core issue
is twofold: the crash itself, and the complete absence of any actionable error
output from kwin_wayland that would point a user toward the actual cause.

Steps to Reproduce:
1a. Set XKBVARIANT=latin in /etc/vconsole.conf (results in an invalid XKB
keymap entry de(latin))
Start a Plasma Wayland session via either:
2a. exec startplasma-wayland from a TTY (with DBus already started by
systemd-logind), or
SDDM display manager
3a. Observe that kwin_wayland crashes on the first keypress and restarts on
every subsequent keypress

1b. Launch plasma from cli via 'XKB_DEFAULT_VARIANT=latin startplasma-wayland'

Attachments:
- Backtrace (compiled with debug flags for kwin, libxkbcommon, qtbase - thanks
to sam_ from #gentoo)
- KWin build configuration
- Plasma Systeminfo

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to