Bug 506568

Summary: System monitor asserts in process_data_model.cpp ("row != -1")
Product: [Applications] plasma-systemmonitor Reporter: mashkal2000 <mashkal2000>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: CONFIRMED ---    
Severity: crash CC: ahiemstra, aspotashev, kde, nate, plasma-bugs-null
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.4.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/210837/events/7712d0515599455b87e2bf3964035118/
Attachments: New crash information added by DrKonqi

Description mashkal2000@gmail.com 2025-07-04 07:22:22 UTC
Application: plasma-systemmonitor (6.4.1)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.15.0
Operating System: Linux 6.11.0-29-generic x86_64
Windowing System: X11
Distribution: KDE neon User Edition
DrKonqi: 6.4.1 [CoredumpBackend]

-- Information about the crash:
I opened the Applications screen, which prompted me with a message saying that a new version of the page was available. I clicked "discard changes", and soon after, the app crashed. I can't get the prompt to appear again, soI can't reproduce the issue.

The crash does not seem to be reproducible.

-- Backtrace (Reduced):
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x000076b22024527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x000076b2202288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x000076b220f247d9 in qAbort () at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:46
#12 qt_message_fatal<QString&> (message=..., context=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qlogging.cpp:2149
[...]
#14 0x000076b220f25ac7 in QMessageLogger::fatal (this=<optimized out>, msg=0x76b220c49e88 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qlogging.cpp:883
#15 0x000076b220f100d1 in qt_assert (assertion=assertion@entry=0x76b200e3cadb "row != -1", file=file@entry=0x76b200e3f890 "./processcore/process_data_model.cpp", line=line@entry=403) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:105
#16 0x000076b200deeeb8 in KSysGuard::ProcessDataModel::Private::getQModelIndex (this=this@entry=0x5dbde7005680, process=0x5dbde6658670, column=3) at /usr/src/libksysguard-4:6.4.1-0zneon+24.04+noble+release+build20/processcore/process_data_model.cpp:403
#17 0x000076b200e36fd2 in operator() (process=<optimized out>, __closure=<optimized out>) at /usr/src/libksysguard-4:6.4.1-0zneon+24.04+noble+release+build20/processcore/process_data_model.cpp:224
#18 operator() (__closure=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:116
#22 QtPrivate::QCallableObject<KSysGuard::ProcessDataModel::setEnabledAttributes(const QStringList&)::<lambda(KSysGuard::Process*)>, QtPrivate::List<KSysGuard::Process*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs_impl.h:547
#23 0x000076b220e77a99 in QtPrivate::QSlotObjectBase::call (a=0x7ffdc9778de0, r=<optimized out>, this=0x5dbde75994c0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qobjectdefs_impl.h:461
#24 doActivate<false> (sender=0x5dbde3dae3b0, signal_index=3, argv=0x7ffdc9778de0) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/kernel/qobject.cpp:4138
[...]
#26 KSysGuard::ProcessAttribute::dataChanged (this=this@entry=0x5dbde3dae3b0, _t1=<optimized out>) at /usr/src/libksysguard-4:6.4.1-0zneon+24.04+noble+release+build20/obj-x86_64-linux-gnu/processcore/processcore_autogen/EWIEGA46WW/moc_process_attribute.cpp:129


Reported using DrKonqi
Comment 1 mashkal2000@gmail.com 2025-07-04 07:22:24 UTC
Created attachment 182929 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2025-08-20 18:17:37 UTC
Relevant part:

#14 0x000076b220f25ac7 in QMessageLogger::fatal (this=<optimized out>, msg=0x76b220c49e88 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qlogging.cpp:883
#15 0x000076b220f100d1 in qt_assert (assertion=assertion@entry=0x76b200e3cadb "row != -1", file=file@entry=0x76b200e3f890 "./processcore/process_data_model.cpp", line=line@entry=403) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:105