Bug 477541

Summary: system monitor crashes in KSysGuard::SensorFaceController::~SensorFaceController() when closing with configure columns open
Product: [Applications] plasma-systemmonitor Reporter: fanzhuyifan
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: CONFIRMED ---    
Severity: crash CC: ahiemstra, nate, plasma-bugs-null
Priority: NOR Keywords: drkonqi, qt6
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=504652
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description fanzhuyifan 2023-11-26 07:06:46 UTC
Application: plasma-systemmonitor (5.81.80)

Qt Version: 6.6.0
Frameworks Version: 5.245.0
Operating System: Linux 6.2.0-37-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.81.80 [CoredumpBackend]

-- Information about the crash:
Steps to reproduce:
1. open system monitor
2. go to Processes
3. click Configure columns
4. close main window

Observed behavior:
crashes

On latest neon unstable

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  QQmlPropertyCache::propertyCount (this=0x0) at ./obj-x86_64-linux-gnu/include/QtQml/6.6.0/QtQml/private/../../../../../../src/qml/qml/qqmlpropertycache_p.h:436
#7  QQmlPropertyCache::property (index=10, this=0x0) at ./obj-x86_64-linux-gnu/include/QtQml/6.6.0/QtQml/private/../../../../../../src/qml/qml/qqmlpropertycache_p.h:334
#8  QQmlInterceptorMetaObject::doIntercept (this=this@entry=0x55bdbb69d460, c=c@entry=QMetaObject::WriteProperty, id=id@entry=10, a=a@entry=0x7ffd0ebd4240) at ./src/qml/qml/qqmlvmemetaobject.cpp:279
#9  0x00007ff1fc7cdf49 in QQmlInterceptorMetaObject::intercept (a=0x7ffd0ebd4240, id=10, c=QMetaObject::WriteProperty, this=0x55bdbb69d460) at ./obj-x86_64-linux-gnu/include/QtQml/6.6.0/QtQml/private/../../../../../../src/qml/qml/qqmlvmemetaobject_p.h:126
#10 QQmlVMEMetaObject::metaCall (this=0x55bdbb69d460, o=<optimized out>, c=QMetaObject::WriteProperty, _id=10, a=0x7ffd0ebd4240) at ./src/qml/qml/qqmlvmemetaobject.cpp:686


Reported using DrKonqi
Comment 1 fanzhuyifan 2023-11-26 07:06:49 UTC
Created attachment 163491 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2023-11-27 18:15:11 UTC
Can reproduce.
Comment 3 Arjen Hiemstra 2023-12-21 11:15:57 UTC
I can't reproduce this with Plasma 6 Beta 2. Does this still happen?
Comment 4 fanzhuyifan 2023-12-22 00:54:21 UTC
(In reply to Arjen Hiemstra from comment #3)
> I can't reproduce this with Plasma 6 Beta 2. Does this still happen?

Yes. If you start plasma-systemmonitor from the command line you can see that it still segfaults after following the steps described above. But for some reason now Dr. Konqi doesn't start. Not sure if that is another bug with Dr. Konqi.
Comment 5 Nate Graham 2025-05-08 15:03:06 UTC
Can still reproduce on git master.