You are not logged in.

#1 2025-02-17 12:23:09

cqbobo
Member
Registered: 2025-02-10
Posts: 6

[SOVLED]log into the KDE desktop(wayland), plasmashell... crashes

After updating the system, when the system boots up and I log into the KDE desktop(wayland), plasmashell, kclockd, kalarm, kgpg, DiscoverNotifier, and kalendarac crashes.

$ kinfo
Operating System: Arch Linux 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.12.13-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-2600 CPU @ 3.40GHz
Memory: 3.8 GiB of RAM
Graphics Processor: SVGA3D; build: RELEASE;  LLVM;


plasmashell Version: 6.3.0
kclock Version: 24.12.2-1
kalarm Version: 24.12.2-1
kgpg Version: 24.12.2-1
DiscoverNotifier Version: 6.3.0-1
kalendarac Version: 24.12.2-1

$ uname -a
Linux Machine 6.12.13-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 08 Feb 2025 15:16:04 +0000 x86_64 GNU/Linux

Analyze the data
(core dump: first line: text, second line: binary)

1. arch boot and login kde desktop(wayland) full journal
http://0x0.st/8N7v.txt

2. plasmashell core dump
http://0x0.st/8N7w.txt
http://0x0.st/8N7x.bin

3. kclockd core dump
http://0x0.st/8N77.txt
http://0x0.st/8N7E.bin

4. kalarm core dump
http://0x0.st/8Nhz.txt
http://0x0.st/8N70.bin

5. kgpg core dump
http://0x0.st/8N73.txt
http://0x0.st/8N7Y.bin

6. DiscoverNotifier core dump
http://0x0.st/8N7D.txt
http://0x0.st/8N7k.bin

7. kalendarac core dump
http://0x0.st/8N7C.txt
http://0x0.st/8N7l.bin


Thank you in advance for any help in this matter.

Last edited by cqbobo (2025-02-20 02:02:33)

Offline

#2 2025-02-17 15:21:37

impossibleveins23
Member
From: Israel
Registered: 2022-06-18
Posts: 164

Re: [SOVLED]log into the KDE desktop(wayland), plasmashell... crashes

No sure if this relevant but you have many lines like these:

Feb 15 17:29:05 XunDa07 kernel: pci 0000:00:16.4: bridge window [io  size 0x1000]: can't assign; no space
Feb 15 17:29:05 XunDa07 kernel: pci 0000:00:16.4: bridge window [io  size 0x1000]: failed to assign

* Did you see them before the upgrade?
* Did you upgrade the kernel? If you roll back do you still see these messages? Does it affect the crashes?
* Did you try the regular kernel?


* Good formatted problem description will cause good and quick solution smile
* Please don't forget to mark as [SOLVED].

Offline

#3 2025-02-18 14:23:27

cqbobo
Member
Registered: 2025-02-10
Posts: 6

Re: [SOVLED]log into the KDE desktop(wayland), plasmashell... crashes

@impossibleveins23 Thanks for you reply. The topic discussed in the link you provided is very interesting.

I have tried downgrading to an earlier version, and this is what I see in its journals.

Jan 16 02:47:43 XunDa07 kernel: Linux version 6.1.124-1-lts (linux-lts@archlinux) (gcc (GCC) 14.2.1 20240910, GNU ld (GNU Binutils) 2.43.1) #1 SMP PREEMPT_DYNAMIC Wed, 15 Jan 2025 12:25:46 +0000
 ....
Jan 16 02:47:43 XunDa07 kernel: pci 0000:00:16.4: BAR 13: no space for [io  size 0x1000]
Jan 16 02:47:43 XunDa07 kernel: pci 0000:00:16.4: BAR 13: failed to assign [io  size 0x1000]

It is the same as the prompt for the current version, but earlier versions of plasmashell, kclockd, etc. do not crash.

I used to use a regular kernel, and after upgrading to version 6.12.7-arch1-1 on December 27, 2024, the CPU usage reaches 100% approximately every hour. Through my step-by-step investigation, I eventually pinpointed it to the kernel. When I downgraded to version 6.1.124-1-lts, the system was normal. However, the old version of the kwin cursor was a problem, and after using the new version, it was completely unadaptable. So I upgraded to the latest version again.

(Please note that the version I mentioned is only for the sake of convenience in explaining the issue.)

I reported this issue to KDE, and KDE replied that it had been reported before and mentioned that it might be caused by qt6.


I haven't seen anyone raise this issue here, maybe others don't have this problem, so I wonder if there is an issue with my KDE configuration? There are related errors in the journals.

Feb 15 17:37:52 XunDa07 kded6[877]: QDBusObjectPath: invalid path "/modules/kded_plasma-welcome"
Feb 15 17:37:52 XunDa07 kded6[877]: kf.dbusaddons: The kded module name "kded_plasma-welcome" is invalid!
 ....
Feb 15 17:37:54 XunDa07 kded6[877]: QDBusObjectPath: invalid path "/modules/plasma-session-shortcuts"
Feb 15 17:37:54 XunDa07 kded6[877]: kf.dbusaddons: The kded module name "plasma-session-shortcuts" is invalid!
 ....
Feb 15 17:37:54 XunDa07 kded6[877]: QDBusObjectPath: invalid path "/modules/oom-notifier"
Feb 15 17:37:54 XunDa07 kded6[877]: kf.dbusaddons: The kded module name "oom-notifier" is invalid!
 ....
 .... more of the same

In the core dump, I noticed that the code caused a crash while freeing resources. Could these configurations be the cause?

I haven't found an effective way to fix it..

How can I fix the issue in the snippet above?

Offline

#4 2025-02-18 18:11:54

johan.cb
Member
From: Leipzig, Germany
Registered: 2016-07-10
Posts: 66

Re: [SOVLED]log into the KDE desktop(wayland), plasmashell... crashes

I can confirm the issue: I am unable to login de Plasma since the last update to Plasma 6.3.1.

I had to roll back to yesterday's packages to be able to login again.

Happy to provide more debug information as soon as I have left work.

Offline

#5 2025-02-18 21:59:09

seth
Member
Registered: 2012-09-03
Posts: 62,873

Re: [SOVLED]log into the KDE desktop(wayland), plasmashell... crashes

This only affects plasma/wayland, not an X11 session?
I randomly looked at plasma and discover backtraces and they go through some xcb code and there's a pattern

Feb 15 17:38:00 XunDa07 kgpg[1140]: qt.nativeinterface: Match for interface QX11Application. Comparing revisions (requested 1 / available 1)
Feb 15 17:38:00 XunDa07 kgpg[1140]: qt.nativeinterface: Full match. Returning dynamic cast of QXcbNativeInterface(0x57a49effb8e0)
Feb 15 17:38:00 XunDa07 systemd-coredump[1287]: Process 1140 (kgpg) of user 1000 terminated abnormally with signal 11/SEGV, processing...

for several crashers…

Looks like something™ unconditionally uses X11 - did you only update plasma or also Qt?

Offline

#6 2025-02-18 22:05:57

johan.cb
Member
From: Leipzig, Germany
Registered: 2016-07-10
Posts: 66

Re: [SOVLED]log into the KDE desktop(wayland), plasmashell... crashes

It happens on both X11 and Wayland.

Here is the list of packages that when applied break my system:

extra/attica                             6.10.0-1          6.11.0-1                0,00 MiB
extra/baloo                              6.10.0-1          6.11.0-1                0,00 MiB
extra/bluedevil                          1:6.3.0-1         1:6.3.1-1               0,00 MiB
extra/bluez-qt                           6.10.0-1          6.11.0-1                0,00 MiB
extra/breeze                             6.3.0-2           6.3.1-1                 0,00 MiB
extra/breeze-gtk                         6.3.0-1           6.3.1-1                 0,00 MiB
extra/breeze-icons                       6.10.0-1          6.11.0-1               -0,01 MiB
extra/breeze5                            6.3.0-2           6.3.1-1                 0,00 MiB
extra/discover                           6.3.0-2           6.3.1-1                 0,00 MiB
extra/drkonqi                            6.3.0-1           6.3.1-1                 0,01 MiB
extra/firefox-developer-edition          136.0b6-1         136.0b7-1              -2,27 MiB
extra/firefox-developer-edition-i18n-de  136.0b6-1         136.0b7-1               0,00 MiB
extra/firefox-developer-edition-i18n-fr  136.0b6-1         136.0b7-1               0,00 MiB
extra/flatpak-kcm                        6.3.0-1           6.3.1-1                 0,00 MiB
extra/frameworkintegration               6.10.0-1          6.11.0-1                0,00 MiB
extra/git                                2.48.1-1          2.48.1-2                0,08 MiB
extra/kactivitymanagerd                  6.3.0-1           6.3.1-1                 0,00 MiB
extra/karchive                           6.10.0-1          6.11.0-1                0,00 MiB
extra/kauth                              6.10.0-1          6.11.0-1                0,00 MiB
extra/kbookmarks                         6.10.0-1          6.11.0-1                0,00 MiB
extra/kcmutils                           6.10.0-1          6.11.0-1                0,00 MiB
extra/kcodecs                            6.10.0-1          6.11.0-1                0,00 MiB
extra/kcolorscheme                       6.10.0-1          6.11.0-1                0,00 MiB
extra/kcompletion                        6.10.0-1          6.11.0-1                0,00 MiB
extra/kconfig                            6.10.0-1          6.11.0-1                0,02 MiB
extra/kconfigwidgets                     6.10.0-1          6.11.0-1                0,01 MiB
extra/kcontacts                          1:6.10.0-1        1:6.11.0-1              0,00 MiB
extra/kcoreaddons                        6.10.0-1          6.11.0-1                0,08 MiB
extra/kcrash                             6.10.0-1          6.11.0-1                0,02 MiB
extra/kdbusaddons                        6.10.0-1          6.11.0-1                0,00 MiB
extra/kde-cli-tools                      6.3.0-1           6.3.1-1                 0,00 MiB
extra/kde-gtk-config                     6.3.0-1           6.3.1-1                 0,00 MiB
extra/kdeclarative                       6.10.0-1          6.11.0-1                0,00 MiB
extra/kdecoration                        6.3.0-1           6.3.1-1                 0,00 MiB
extra/kded                               6.10.0-1          6.11.0-1                0,00 MiB
extra/kdeplasma-addons                   6.3.0-1           6.3.1-1                -0,01 MiB
extra/kdesu                              6.10.0-1          6.11.0-1                0,00 MiB
extra/kdnssd                             6.10.0-1          6.11.0-1                0,00 MiB
extra/kfilemetadata                      6.10.0-1          6.11.0-1                0,00 MiB
extra/kgamma                             6.3.0-1           6.3.1-1                 0,00 MiB
extra/kglobalaccel                       6.10.0-1          6.11.0-1                0,00 MiB
extra/kglobalacceld                      6.3.0-1           6.3.1-1                 0,00 MiB
extra/kguiaddons                         6.10.0-1          6.11.0-1                0,00 MiB
extra/kholidays                          1:6.10.0-1        1:6.11.0-1              0,00 MiB
extra/ki18n                              6.10.0-1          6.11.0-1                0,00 MiB
extra/kiconthemes                        6.10.0-1          6.11.0-1                0,00 MiB
extra/kidletime                          6.10.0-1          6.11.0-1                0,00 MiB
extra/kimageformats                      6.10.0-1          6.11.0-1                0,34 MiB
extra/kinfocenter                        6.3.0-1           6.3.1-1                 0,00 MiB
extra/kio                                6.10.0-1          6.11.0-1                0,05 MiB
extra/kirigami                           6.10.0-1          6.11.0-1                0,04 MiB
extra/kitemmodels                        6.10.0-1          6.11.0-1                0,00 MiB
extra/kitemviews                         6.10.0-1          6.11.0-1                0,00 MiB
extra/kjobwidgets                        6.10.0-1          6.11.0-1                0,00 MiB
extra/kmenuedit                          6.3.0-1           6.3.1-1                 0,00 MiB
extra/knewstuff                          6.10.0-1          6.11.0-1                0,01 MiB
extra/knotifications                     6.10.0-1          6.11.0-1                0,00 MiB
extra/knotifyconfig                      6.10.0-1          6.11.0-1                0,00 MiB
extra/kpackage                           6.10.0-1          6.11.0-1                0,00 MiB
extra/kparts                             6.10.0-1          6.11.0-1                0,00 MiB
extra/kpeople                            6.10.0-1          6.11.0-1                0,00 MiB
extra/kpipewire                          6.3.0-1           6.3.1-1                 0,00 MiB
extra/kpty                               6.10.0-1          6.11.0-1                0,00 MiB
extra/kquickcharts                       6.10.0-1          6.11.0-1                0,01 MiB
extra/krdp                               6.3.0-1           6.3.1-1                 0,00 MiB
extra/krunner                            6.10.0-1          6.11.0-1                0,00 MiB
extra/kscreen                            6.3.0-1           6.3.1-1                 0,01 MiB
extra/kscreenlocker                      6.3.0-1           6.3.1-1                 0,00 MiB
extra/kservice                           6.10.0-1          6.11.0-1                0,00 MiB
extra/ksshaskpass                        6.3.0-1           6.3.1-1                 0,00 MiB
extra/kstatusnotifieritem                6.10.0-1          6.11.0-1                0,11 MiB
extra/ksvg                               6.10.0-1          6.11.0-1                0,00 MiB
extra/ksystemstats                       6.3.0-1           6.3.1-1                 0,01 MiB
extra/ktexteditor                        6.10.0-1          6.11.0-1                0,10 MiB
extra/ktextwidgets                       6.10.0-1          6.11.0-1                0,00 MiB
extra/kunitconversion                    6.10.0-1          6.11.0-1                0,00 MiB
extra/kuserfeedback                      6.10.0-1          6.11.0-1                0,00 MiB
extra/kwallet                            6.10.0-1          6.11.0-1                0,00 MiB
extra/kwallet-pam                        6.3.0-1           6.3.1-1                 0,00 MiB
extra/kwayland                           6.3.0-1           6.3.1-1                 0,00 MiB
extra/kwidgetsaddons                     6.10.0-1          6.11.0-1                0,00 MiB
extra/kwin                               6.3.0-3           6.3.1-1                 0,00 MiB
extra/kwindowsystem                      6.10.0-1          6.11.0-1                0,00 MiB
extra/kwrited                            6.3.0-1           6.3.1-1                 0,00 MiB
extra/kxmlgui                            6.10.0-1          6.11.0-1                0,02 MiB
extra/layer-shell-qt                     6.3.0-1           6.3.1-1                 0,00 MiB
extra/libkscreen                         6.3.0-1           6.3.1-1                 0,00 MiB
extra/libksysguard                       6.3.0-1           6.3.1-1                 0,01 MiB
extra/libplasma                          6.3.0-1           6.3.1-1                 0,00 MiB
extra/milou                              6.3.0-1           6.3.1-1                 0,00 MiB
extra/modemmanager-qt                    6.10.0-1          6.11.0-1                0,00 MiB
extra/networkmanager-qt                  6.10.0-1          6.11.0-1                0,00 MiB
extra/ocean-sound-theme                  6.3.0-1           6.3.1-1                 0,00 MiB
core/openssh                             9.9p1-2           9.9p2-1                 0,00 MiB
extra/orc                                0.4.40-1          0.4.41-1               -0,02 MiB
extra/oxygen                             6.3.0-1           6.3.1-1                 0,00 MiB
extra/oxygen-sounds                      6.3.0-1           6.3.1-1                 0,00 MiB
core/perl                                5.40.1-1          5.40.1-2                0,08 MiB
extra/plasma-activities                  6.3.0-1           6.3.1-1                 0,00 MiB
extra/plasma-activities-stats            6.3.0-1           6.3.1-1                 0,00 MiB
extra/plasma-browser-integration         6.3.0-1           6.3.1-1                 0,00 MiB
extra/plasma-desktop                     6.3.0-1           6.3.1-1                 0,02 MiB
extra/plasma-disks                       6.3.0-1           6.3.1-1                 0,00 MiB
extra/plasma-firewall                    6.3.0-1           6.3.1-1                 0,00 MiB
extra/plasma-integration                 6.3.0-1           6.3.1-1                 0,00 MiB
extra/plasma-nm                          6.3.0-1           6.3.1-1                 0,03 MiB
extra/plasma-pa                          6.3.0-1           6.3.1-1                 0,00 MiB
extra/plasma-systemmonitor               6.3.0-1           6.3.1-1                 0,01 MiB
extra/plasma-thunderbolt                 6.3.0-1           6.3.1-1                 0,00 MiB
extra/plasma-vault                       6.3.0-1           6.3.1-1                 0,00 MiB
extra/plasma-welcome                     6.3.0-1           6.3.1-1                 0,01 MiB
extra/plasma-workspace                   6.3.0-1           6.3.1-1                 0,01 MiB
extra/plasma-workspace-wallpapers        6.3.0-1           6.3.1-1                 0,00 MiB
extra/plasma5support                     6.3.0-1           6.3.1-1                -0,02 MiB
extra/polkit-kde-agent                   6.3.0-1           6.3.1-1                 0,00 MiB
extra/powerdevil                         6.3.0-1           6.3.1-1                 0,00 MiB
extra/print-manager                      1:6.3.0-1         1:6.3.1-1               0,01 MiB
extra/prison                             6.10.0-1          6.11.0-1                0,00 MiB
extra/purpose                            6.10.0-1          6.11.0-1               -0,04 MiB
core/python                              3.13.1-1          3.13.2-1                0,08 MiB
extra/python-evdev                       1.7.1-2           1.9.0-1                 0,34 MiB
extra/python-sentry_sdk                  2.21.0-1          2.22.0-1                0,02 MiB
extra/python-setuptools                  1:75.2.0-4        1:75.8.0-1              0,10 MiB
extra/qqc2-breeze-style                  6.3.0-1           6.3.1-1                 0,00 MiB
extra/qqc2-desktop-style                 6.10.0-1          6.11.0-1                0,00 MiB
extra/sddm-kcm                           6.3.0-1           6.3.1-1                 0,00 MiB
extra/solid                              6.10.0-1          6.11.0-1                0,01 MiB
extra/sonnet                             6.10.0-1          6.11.0-1                0,00 MiB
extra/spectacle                          1:6.3.0-1         1:6.3.1-1               0,00 MiB
extra/syndication                        6.10.0-1          6.11.0-1                0,00 MiB
extra/syntax-highlighting                6.10.0-1          6.11.0-1                0,01 MiB
extra/systemsettings                     6.3.0-1           6.3.1-1                 0,00 MiB
core/texinfo                             7.1.1-1           7.2-1                   1,52 MiB
extra/threadweaver                       6.10.0-1          6.11.0-1                0,00 MiB
extra/vim                                9.1.1065-1        9.1.1120-1              0,01 MiB
extra/vim-runtime                        9.1.1065-1        9.1.1120-1              0,01 MiB
extra/xdg-desktop-portal-gnome           47.2-1            47.3-1                  0,00 MiB
extra/xdg-desktop-portal-kde             6.3.0-1           6.3.1-1                 0,00 MiB

And I should have provided more information about my system in my first message:

Operating System: Arch Linux 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 15.4 Gio of RAM
Graphics Processor: Intel® Iris® Xe Graphics
Manufacturer: Dell Inc.
Product Name: Latitude 7420

Last edited by johan.cb (2025-02-18 22:19:34)

Offline

#7 2025-02-19 08:58:07

cqbobo
Member
Registered: 2025-02-10
Posts: 6

Re: [SOVLED]log into the KDE desktop(wayland), plasmashell... crashes

seth wrote:

This only affects plasma/wayland, not an X11 session?

You are right. I haven't tested, referencing the test results of Liang Qi from QT:

Yes, on a real laptop with touch screen and pen, I can reproduce the crash on xwayland only for both kwin6 and gnome, xcb works fine.

seth wrote:

I randomly looked at plasma and discover backtraces and they go through some xcb code and there's a pattern

Feb 15 17:38:00 XunDa07 kgpg[1140]: qt.nativeinterface: Match for interface QX11Application. Comparing revisions (requested 1 / available 1)
Feb 15 17:38:00 XunDa07 kgpg[1140]: qt.nativeinterface: Full match. Returning dynamic cast of QXcbNativeInterface(0x57a49effb8e0)
Feb 15 17:38:00 XunDa07 systemd-coredump[1287]: Process 1140 (kgpg) of user 1000 terminated abnormally with signal 11/SEGV, processing...

for several crashers…

Looks like something™ unconditionally uses X11 - did you only update plasma or also Qt?

I am fully updated,

sudo pacman -Syu

Some programs use the old X11 protocol, so we will see the presence of XCB for a long time.

Today, I noticed that KDE's email says that these crashes have been fixed. (qt-6.8.3)


Can you tell me how to fix these? I've looked everywhere for a solution, but I haven't been successful.

Feb 15 17:37:52 XunDa07 kded6[877]: QDBusObjectPath: invalid path "/modules/kded_plasma-welcome"
Feb 15 17:37:52 XunDa07 kded6[877]: kf.dbusaddons: The kded module name "kded_plasma-welcome" is invalid!
 ....
Feb 15 17:37:54 XunDa07 kded6[877]: QDBusObjectPath: invalid path "/modules/plasma-session-shortcuts"
Feb 15 17:37:54 XunDa07 kded6[877]: kf.dbusaddons: The kded module name "plasma-session-shortcuts" is invalid!
 ....
Feb 15 17:37:54 XunDa07 kded6[877]: QDBusObjectPath: invalid path "/modules/oom-notifier"
Feb 15 17:37:54 XunDa07 kded6[877]: kf.dbusaddons: The kded module name "oom-notifier" is invalid!
 ....
 .... more of the same

Thanks in advance.

Offline

#8 2025-02-19 09:17:47

cqbobo
Member
Registered: 2025-02-10
Posts: 6

Re: [SOVLED]log into the KDE desktop(wayland), plasmashell... crashes

Hello, johan.cb
Nice to see you post.

johan.cb wrote:

Here is the list of packages that when applied break my system:

extra/attica                             6.10.0-1          6.11.0-1                0,00 MiB
extra/baloo                              6.10.0-1          6.11.0-1                0,00 MiB
 ....

How can I list these packages like you?


Thanks in advance.

Offline

#9 2025-02-19 09:46:43

cqbobo
Member
Registered: 2025-02-10
Posts: 6

Re: [SOVLED]log into the KDE desktop(wayland), plasmashell... crashes

Crash bugs such as plasmashell, kclock, kalarm, etc. have been fixed by QT. The specific fix update is in QT-6.8.3 and later, and we just need to wait for the Arch update.


QT's tests:

1.There is no such bug in QT-6.8.1.

2.This error only occurs in KDE and GNOME using QT-6.8.2 on Wayland. Xorg-x11 does not have this bug.

Offline

#10 2025-02-19 15:31:36

seth
Member
Registered: 2012-09-03
Posts: 62,873

Re: [SOVLED]log into the KDE desktop(wayland), plasmashell... crashes

Offline

#11 2025-02-19 21:26:33

johan.cb
Member
From: Leipzig, Germany
Registered: 2016-07-10
Posts: 66

Re: [SOVLED]log into the KDE desktop(wayland), plasmashell... crashes

I saw new package builds this morning and attempted an update.

Everything works fine so far. I am not affected by this anymore.

Offline

Board footer

Powered by FluxBB