Bug 466567 - Kded crash at startup in KDecoration2::Decoration::setSettings()
Summary: Kded crash at startup in KDecoration2::Decoration::setSettings()
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: 5.27.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-27 23:09 UTC by NicolasB
Modified: 2023-04-13 09:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NicolasB 2023-02-27 23:09:04 UTC
SUMMARY
kded5 crash with a segmentation fault just after login. As a result the desktop is mostly unusable.
The crash handler is unable to report the issue arguing that "kded5 does not provide a bug reporting address". But after some digging I got this backtrace : https://retrace.fedoraproject.org/faf/reports/625180/


STEPS TO REPRODUCE
1. Login into the session

OBSERVED RESULT
The Crash handler reports that kded5 closed unexpectedly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 36 (KDE Plasma) x86_64
KDE Plasma Version: Plasma 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Problem happens on both X11 and Wayland.
Comment 1 Nate Graham 2023-02-28 21:55:10 UTC
Relevant part:

KDecoration2::Decoration::setSettings(QSharedPointer<KDecoration2::DecorationSettings> const&) 
ConfigValueProvider::windowDecorationsButtonsImages() const
GtkConfig::setWindowDecorationsAppearance() const 
GtkConfig::applyAllSettings() const 
GtkConfig::GtkConfig(QObject*, QList<QVariant> const&) 

Issue appears to be in kde-gtk-config or kdecoration Starting in kdecoration since that's what provided the kded module.
Comment 2 Markus Laker 2023-03-08 22:44:48 UTC
I suffered from the same bug.  In addition, systemsettings crashed (and still does crash) when I went into the Window Decorations module.

After several retries, I managed to change the window decorations from Plastik to Translucent; then I logged out and logged back in again.  This has stopped kded5 from crashing.

In systemsettings, you may be able to change window decorations without going into the Window Decorations module: go into "Appearance — Global Theme", click on a theme, and then click "Choose what to apply...".
Comment 3 NicolasB 2023-04-12 18:02:09 UTC
Problem no longer occurs with recent updates. Maybe it was fixed upstream.