Repeated Kded5 crashes since Sept. 20 update.

Since updating KDE, I’ve had repeated Kded5 crashes - segmentation faults. I am using the version of KDE from https://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_15.3 and https://download.opensuse.org/repositories/KDE:/openSUSE_Leap_15.3. I have been using these repositories since I initially installed 15.3 when it came out. The kded5 version is 5.86.0-lp153.227.2 and it was built on Sept. 20. The backtrace I receive is:

#4  0x00007f63e1234ab9 in KWin::EffectQuickView::EffectQuickView(QObject*, QWindow*, KWin::EffectQuickView::ExportMode) () at /usr/lib64/libkwineffects.so.13#5  0x00007f63e147391f in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#6  0x00007f63e25532be in  () at /usr/lib64/qt5/plugins/kf5/kded/gtkconfig.so
#7  0x00007f63e255214e in  () at /usr/lib64/qt5/plugins/kf5/kded/gtkconfig.so
#8  0x00007f63e255172d in  () at /usr/lib64/qt5/plugins/kf5/kded/gtkconfig.so
#9  0x00007f63e254688e in  () at /usr/lib64/qt5/plugins/kf5/kded/gtkconfig.so
#10 0x00007f63e253bdba in GtkConfig::setWindowDecorationsAppearance() const () at /usr/lib64/qt5/plugins/kf5/kded/gtkconfig.so
#11 0x00007f63e253eb21 in GtkConfig::applyAllSettings() const () at /usr/lib64/qt5/plugins/kf5/kded/gtkconfig.so
#12 0x00007f63e253f039 in GtkConfig::GtkConfig(QObject*, QList<QVariant> const&) () at /usr/lib64/qt5/plugins/kf5/kded/gtkconfig.so
#13 0x00007f63e2540679 in QObject* KPluginFactory::createInstance<GtkConfig, QObject>(QWidget*, QObject*, QList<QVariant> const&) () at /usr/lib64/qt5/plugins/kf5/kded/gtkconfig.so
#14 0x00007f640e8a1157 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib64/libKF5CoreAddons.so.5
#15 0x000055c9729743c2 in  ()
#16 0x000055c97297543f in  ()
#17 0x000055c9729758bf in  ()
#18 0x000055c97296fad2 in  ()
#19 0x00007f640d8d534d in __libc_start_main () at /lib64/libc.so.6
#20 0x000055c97296fd0a in  ()

[Inferior 1 (process 10464) detached]

Is this something that is happening generally or specific to my system?

Checking my system, I see:


# zypper se -si kded
Loading repository data...
Reading installed packages...

S | Name      | Type    | Version            | Arch   | Repository
--+-----------+---------+--------------------+--------+----------------------------------------
i | kded      | package | 5.76.0-bp153.2.2.1 | x86_64 | Update repository of openSUSE Backports
i | kded-lang | package | 5.76.0-bp153.2.2.1 | noarch | Update repository of openSUSE Backports

That seems different from what you described.

Maybe you are using different repos. But you should mention that.

I did give the repo url’s in the original post. Here it is in zypper format. It is a different repository than you mentioned

zypper se -si kded
Loading repository data...
Reading installed packages...

S  | Name      | Type    | Version            | Arch   | Repository
---+-----------+---------+--------------------+--------+---------------
i+ | kded      | package | 5.86.0-lp153.227.2 | x86_64 | KDE-Frameworks
i+ | kded-lang | package | 5.86.0-lp153.227.2 | noarch | KDE-Frameworks


The chances are that there is an incompatibility between this package, and some other package you have installed.

When you switch a package to get a newer version, it is important that you also switch any dependent packages.

What’s the output from:

zypper lr -d
  | Alias                              | Name                                                                         | Enabled | GPG Check | Refresh | Priority | Type     | URI                                                                                             | Service---+------------------------------------+------------------------------------------------------------------------------+---------+-----------+---------+----------+----------+-------------------------------------------------------------------------------------------------+--------
 1 | 15.3                               | Nvidia Drivers                                                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://download.nvidia.com/opensuse/leap/15.3                                                  | 
 2 | KDE-Applications                   | KDE-Applications                                                             | Yes     | (r ) Yes  | Yes     |   75     | rpm-md   | https://download.opensuse.org/repositories/KDE:/Applications/KDE_Frameworks5_openSUSE_Leap_15.3 | 
 3 | KDE-Extra                          | KDE-Extra                                                                    | Yes     | (r ) Yes  | Yes     |   75     | rpm-md   | https://download.opensuse.org/repositories/KDE:/Extra/KDE_Applications_openSUSE_Leap_15.3       | 
 4 | KDE-Frameworks                     | KDE-Frameworks                                                               | Yes     | (r ) Yes  | Yes     |   75     | rpm-md   | https://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_15.3                  | 
 5 | KDE-Qt5                            | KDE-Qt5                                                                      | Yes     | (r ) Yes  | Yes     |   75     | rpm-md   | https://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_15.3                          | 
 6 | Local                              | Local                                                                        | Yes     | ( p) Yes  | Yes     |   99     | plaindir | dir:/home/charlie/RPMS                                                                          | 
 7 | PlexRepo                           | PlexRepo                                                                     | Yes     | (r ) Yes  | No      |   99     | rpm-md   | https://downloads.plex.tv/repo/rpm/x86_64/                                                      | 
 8 | brave-browser                      | brave-browser                                                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://brave-browser-rpm-release.s3.brave.com/x86_64/                                          | 
 9 | google-chrome                      | google-chrome                                                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                             | 
10 | https-download.nvidia.com-c4bb3ea7 | nVidia Graphics Drivers                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://download.nvidia.com/opensuse/leap/15.3                                                  | 
11 | openSUSE-Leap-15.3-1               | openSUSE-Leap-15.3-1                                                         | No      | ----      | ----    |   99     | NONE     | cd:/?devices=/dev/disk/by-id/ata-ASUS_DRW-24B1ST_i_E5D0CL057665                                 | 
12 | openSUSE_Leap_${releasever}_3      | Knurpht - Alien                                                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://download.opensuse.org/repositories/home:/Knurpht:/Extras/openSUSE_Leap_15.3/            | 
13 | openSUSE_Leap_15.3                 | Packman                                                                      | Yes     | (r ) Yes  | Yes     |   97     | rpm-md   | http://ftp.halifax.rwth-aachen.de/packman/suse/openSUSE_Leap_15.3/                              | 
14 | openSUSE_Leap_15.3_1               | LibDVDCSS                                                                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://opensuse-guide.org/repo/openSUSE_Leap_15.3/                                             | 
15 | openSUSE_Leap_15.3_2               | X11 - XOrg                                                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Leap_15.3/                        | 
16 | openSUSE_Leap_15.3_3               | Gnome Apps                                                                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_Leap_15.3/                      | 
17 | openSUSE_Leap_15.3_4               | Games                                                                        | Yes     | (r ) Yes  | Yes     |   98     | rpm-md   | https://download.opensuse.org/repositories/games/openSUSE_Leap_15.3/                            | 
18 | openSUSE_Leap_15.3_5               | Perl Language                                                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_Leap_15.3/           | 
19 | openSUSE_Leap_15.3_6               | Mozilla                                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://download.opensuse.org/repositories/mozilla/openSUSE_Leap_15.3                           | 
20 | openSUSE_Leap_15.3_7               | Security                                                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://download.opensuse.org/repositories/security:/tls/openSUSE_Leap_15.3/                    | 
21 | openSUSE_Leap_releasever           | LibreOffice Factory                                                          | Yes     | (r ) Yes  | Yes     |   90     | rpm-md   | https://download.opensuse.org/repositories/LibreOffice:/Factory/openSUSE_Leap_15.3/             | 
22 | repo-backports-debug-update        | Update repository with Backports debuginfo package updates for openSUSE Leap | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/leap/15.3/backports_debug/                                  | 
23 | repo-backports-update              | Update repository of openSUSE Backports                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/leap/15.3/backports/                                        | 
24 | repo-debug                         | Debug Repository                                                             | No      | ----      | ----    |   99     | NONE     | http://download.opensuse.org/debug/distribution/leap/15.3/repo/oss/                             | 
25 | repo-debug-non-oss                 | Debug Repository (Non-OSS)                                                   | No      | ----      | ----    |   99     | NONE     | http://download.opensuse.org/debug/distribution/leap/15.3/repo/non-oss/                         | 
26 | repo-debug-update                  | Update Repository (Debug)                                                    | No      | ----      | ----    |   99     | NONE     | http://download.opensuse.org/debug/update/leap/15.3/oss/                                        | 
27 | repo-debug-update-non-oss          | Update Repository (Debug, Non-OSS)                                           | No      | ----      | ----    |   99     | NONE     | http://download.opensuse.org/debug/update/leap/15.3/non-oss/                                    | 
28 | repo-non-oss                       | Non-OSS Repository                                                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/                               | 
29 | repo-oss                           | Main Repository                                                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/distribution/leap/15.3/repo/oss/                                   | 
30 | repo-sle-update                    | Update repository with updates from SUSE Linux Enterprise 15                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/leap/15.3/sle/                                              | 
31 | repo-source                        | Source Repository                                                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/source/distribution/leap/15.3/repo/oss/                            | 
32 | repo-update                        | Main Update Repository                                                       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/leap/15.3/oss                                               | 
33 | repo-update-non-oss                | Update Repository (Non-Oss)                                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/leap/15.3/non-oss/                                          | 



What is the output from:


zypper dup -D --allow-vendor-change

Note that this won’t actually do anything. Because of that “-D” is will be a dry-run. But it will tell you what it wants to do.

I’ll be looking for KDE packages that it might want to switch to your KDE repos.

A little more information. Based on the backtrace, it appears the problem has to do with gtkconfig.so. This is supplied in the package kde-gtk-config5. The update installed version 5.22.90 from the kde framework repository from which I get all framework packages as I’ve given the repository a high (75) priority per instructions from an Opensuse wiki to assure that my Framework packages came from this repository. I did the same for QT5. Many other packages are at the 5.22 level from the Framework repository and have been installed. Version 5.18.5 of the kde-gtk-config5 package is available from the regular main repository or backport update repository. As an experiment, I installed this version and the problem went away. So, it seems there is a bug in the 5.22.90 version of this file. Of course now, since I loaded a version from a different repository, I could get dependency problems in the future. So this seems like a very unsatisfactory solution.

You could perhaps file a bug report, and see if the maintainers have any suggestions.

Just to wrap this up. After some exploration, it seemed to me like the problem was in window decorations. Apparently kded was looking for a theme called aurorae and crashing because of a missing call in that routine. I had never heard of aurorae and wondered if changing the decorations in KDE settings would have any effect. When I looked in the KDE settings GUI I was offered two icon themes - Breeze and Plastik - no aurorae and neither was checked. I highlighted Breeze and hit apply and the error messages stopped, Kmail reappeared in the system tray (a major symptom was that applications I had appearing in the system tray had disappeared), and all was right with the world.

Thanks. That update is appreciated.