Bug 437400

Summary: Systemmonitor's "CPU cores" widget spams "kf.quickcharts.datasource: ModelSource: Invalid column n" on widget load
Product: [Plasma] plasmashell Reporter: postix <postix>
Component: System Monitor widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, nate, notmart, nyanpasu64, postix
Priority: NOR    
Version First Reported In: 5.22.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: Frameworks 5.83
Sentry Crash Report:

Description postix 2021-05-20 09:44:05 UTC
SUMMARY

When I have looked into my journalctl -xe log today, I found around 15000  covering a time period of 3 seconds (~5000 log lines per second!) saying
> Mai 20 11:18:25 localhost.localdomain plasmashell[1880]: kf.quickcharts.datasource: ModelSource: Invalid column [n]
where n is some coulumn index. 

I have the network speed monitor widget and the CPU monitor widget in the taskbar.


It has started with:

Mai 20 11:18:24 localhost.localdomain plasmashell[1880]: 5
Mai 20 11:18:24 localhost.localdomain plasmashell[1880]: file:///usr/lib64/qt5/qml/org/kde/plasma/components/ModelContextMenu.qml:38:1: QML ModelContextMenu: Accessible must be attached to an Item
Mai 20 11:18:24 localhost.localdomain systemd[1703]: Started Sound Service.
Mai 20 11:18:24 localhost.localdomain plasmashell[1880]: plasma-pk-updates: acPlugged initial state true
Mai 20 11:18:24 localhost.localdomain plasmashell[1880]: plasma-pk-updates: Is on battery: false
(...)
Mai 20 11:18:25 localhost.localdomain systemd[1703]: plasma-restoresession.service: Succeeded.
Mai 20 11:18:25 localhost.localdomain systemd[1703]: Finished KDE Session Management Server.
Mai 20 11:18:25 localhost.localdomain dbus-daemon[1735]: [session uid=1000 pid=1735] Successfully activated service 'org.kde.ksystemstats'
Mai 20 11:18:25 localhost.localdomain plasmashell[1880]: kf.quickcharts.datasource: ModelSource: Invalid column 1

and finished with

Mai 20 11:18:28 localhost.localdomain plasmashell[1880]: kf.quickcharts.datasource: ModelSource: Invalid column 21
Mai 20 11:18:28 localhost.localdomain plasmashell[1880]: kf.quickcharts.datasource: ModelSource: Invalid column 22
Mai 20 11:18:28 localhost.localdomain plasmashell[1880]: kf.quickcharts.datasource: ModelSource: Invalid column 23
Mai 20 11:18:28 localhost.localdomain plasmashell[1880]: kf.quickcharts.deprecated: Legend::flow is deprecated (since 5.82): Legend uses a dynamic column layout now
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationPopup.qml:116:15: QML QQuickItem: Binding loop detected for property "height"
Mai 20 11:18:30 localhost.localdomain kded5[1838]: plasma-nm: Network connectivity limited, scheduling notification
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: plasma-pk-updates: Is net online: false
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: plasma-pk-updates: Is net online: false
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: plasma-pk-updates: Is net online: false
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:223:13: QML CheckBox: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:233:13: QML Label: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:244:13: QML MouseArea: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:264:9: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:278:9: QML Button: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: file:///usr/share/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/Full.qml:292:9: QML BusyIndicator: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: qml: Populating model
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: plasma-pk-updates: Is net mobile: false
Mai 20 11:18:30 localhost.localdomain plasmashell[1880]: plasma-pk-updates: Is net online: true



SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210517
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.3-1-default
OS Type: 64-bit
Graphics Platform: X11
Comment 1 postix 2021-05-20 17:41:12 UTC
I have narrowed it down to the CPU widget, which shows the single core loads. Once removed and added back, it will spam the log.
Comment 2 Arjen Hiemstra 2021-06-17 08:32:06 UTC
The severity of the message has been reduced to debug for the Frameworks 5.83 release of KQuickCharts. So this should be fixed with that version.