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 - every 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 (first used KDE in 2001 on SuSE), I experimented.
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 I think 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! To eliminate hardware errors, I booted into Windows (something I almost never do) and the machine didn't have any problems overnight....I guess it could be a driver issue, but not sure where to begin with that.
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 large amounts of red text near the end, and before the hang. A huge number are from the likcups printer system, but I can't believe they are causing the hang. The problem with syslog is that the system hasn't completely hung, just some core parts of KDE, so it's hard to know where/when to look because syslog keeps getting messages from still running code. There are no notifications of crashes from KDE.
A large number are from plasmashell, but the dates are wrong for a crash last night......
Dec 23 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 23 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 23 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 23 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 23 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 23 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 23 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 23 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 23 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 23 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 23 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 23 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...
So...my question for you all is....can you suggest additional logging/debugging steps I can take before going to the developers? Can I do anything with KCrash?
Thanks for even looking at this, and have a great 2022 - 2023 transition season!!
Paul
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 - every 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 (first used KDE in 2001 on SuSE), I experimented.
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 I think 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! To eliminate hardware errors, I booted into Windows (something I almost never do) and the machine didn't have any problems overnight....I guess it could be a driver issue, but not sure where to begin with that.
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 large amounts of red text near the end, and before the hang. A huge number are from the likcups printer system, but I can't believe they are causing the hang. The problem with syslog is that the system hasn't completely hung, just some core parts of KDE, so it's hard to know where/when to look because syslog keeps getting messages from still running code. There are no notifications of crashes from KDE.
A large number are from plasmashell, but the dates are wrong for a crash last night......
Dec 23 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 23 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 23 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 23 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 23 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 23 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 23 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 23 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 23 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 23 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 23 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 23 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
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? Can I do anything with KCrash?
Thanks for even looking at this, and have a great 2022 - 2023 transition season!!
Paul
Comment