This forum has been archived. All content is frozen. Please use KDE Discuss instead.
The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.

Question about debugging: KDE hangs up every night

Tags: None
(comma "," separated)
User avatar
jphands
Registered Member
Posts
11
Karma
0
OS
Hi fellow KDE lovers!

I have a question about getting detailed debug and log info from KDE...BEFORE I bother the developers with ill-defined bug reports.

Since an update a few days ago, KDE partially hangs sometime in the middle of the night. The symptoms are that the system has gone to screen saver at some unknown time, and the on-screen clock continues to show the correct time. At that point, moving the mouse or hitting a keyboard key (Note both are Bluetooth) has no effect, and the system appears to be be hung....but it's not. Being a long term Linux and KDE addict, I experimented. It seems that a USB mouse and Keyboard still work - cursor moves, and I can enter a password to unlock and see all my (many, many!) windows in 4 workspaces. However...window management has stopped working...I can't raise a new window to the foreground, can't change focus, there is no screen background menu popup on right-click, so I usually ended up holding the power button to force a system restart. I suspect that the Bluetooth subsystem in KDE has hung as well, as USB still seems to work, and that's handled by the OS rather than KDE.

Further experimentation...I can hit ctrl-allt-F2 to get to a non-GUI shell, and can login as root and do the usual things (including a clean reboot), so I tried to restart KWin and Plasmashell from there, but that failed, and then the USB subsystem hung as well....back to the power switch!

The whole thing is repeatable - happens every night - and I don't see anything obvious in the usual logs in /var/log/syslog. However, /the previous session log, in syslog1.gz is filled with larger amounts of red text near the end, and before the hang. A huge number are from the likcups printer system, and I can't believe they are causing the hang.

A large number are from plasmashell, but the dates are wrong for a crash last night......
Dec 17 23:48:41 vetinari plasmashell[4382]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x55be09dbc820) QQmlContext(0x55be06001de0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Dec 17 23:48:42 vetinari plasmashell[4382]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x55be09dbc820) QQmlContext(0x55be06001de0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Dec 17 23:48:42 vetinari plasmashell[4382]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Dec 17 23:48:42 vetinari plasmashell[4382]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Dec 17 23:48:42 vetinari plasmashell[4382]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitHeight"
Dec 17 23:52:31 vetinari plasmashell[4382]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x55be09dbc820) QQmlContext(0x55be06001de0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Dec 17 23:52:31 vetinari plasmashell[4382]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x55be09dbc820) QQmlContext(0x55be06001de0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Dec 17 23:52:31 vetinari plasmashell[4382]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Dec 17 23:52:31 vetinari plasmashell[4382]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Dec 17 23:52:31 vetinari plasmashell[4382]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:222:21: QML SelectableLabel: Binding loop detected for property "implicitHeight"
Dec 17 23:52:31 vetinari plasmashell[4382]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/ScrollView.qml:45:27: QML ScrollBar: Binding loop detected for property "visible"
Dec 17 23:52:31 vetinari plasmashell[4382]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components.3/ScrollView.qml:45:27: QML ScrollBar: Binding loop detected for property "visible"


There is so much noise in the syslog files, that I can't see anything obvious, and I don't know what to look for.

System Info...

Operating System: Kubuntu 22.10
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-26-generic (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 47.0 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Manufacturer: ASUS



So...my question for you all is....can you suggest additional logging/debugging steps I can take before going to the developers? Thanks for even looking at this, and have a great 2022 - 2023 transition season!!

Paul


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]