XInternAtom is called without an X connection : #0 XInternAtom #1 X11Helper::getGroupNames(_XDisplay*, XkbConfig*, X11Helper::FetchType) #2 KCMKeyboardWidget::populateWithCurrentXkbOptions #3 KCMKeyboardWidget::configureXkbOptionsChanged Reproducible: Always
I can confirm this testing plasma-wayland-devedition-gitunstable-20170128-2117-amd64.iso
*** Bug 379325 has been marked as a duplicate of this bug. ***
Have same problem, patch below works around it. Not claiming this is "The Right Way" -------------------- --- a/kcms/keyboard/x11_helper.cpp 2017-06-08 21:04:52.650000000 +0200 +++ b/kcms/keyboard/x11_helper.cpp 2017-06-08 21:02:23.880000000 +0200 @@ -239,6 +239,13 @@ char *prop_data = NULL; Status ret; + if (!QX11Info::isPlatformX11()) + { + qCWarning(KCM_KEYBOARD) << "Desktop platform is not X11"; + return false; + } + + Atom rules_atom = XInternAtom(display, _XKB_RF_NAMES_PROP_ATOM, False); /* no such atom! */
*** Bug 381305 has been marked as a duplicate of this bug. ***
*** Bug 382211 has been marked as a duplicate of this bug. ***
No crash on Arch, plasma 5.11. Maybe fixed?
Fixed by Martin Flöser. See https://commits.kde.org/plasma-desktop/5cd48d672782bc11b4f949a3646aa5bc4224ab85