Bug 481448

Summary: System Monitor crash: switched back to treeview, then sorted
Product: [Applications] plasma-systemmonitor Reporter: David Conner <dconner.pro>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ahiemstra, fanzhuyifan, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.27.10   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Conner 2024-02-17 08:07:21 UTC
Application: plasma-systemmonitor (5.27.10)

Qt Version: 5.15.12
Frameworks Version: 5.115.0
Operating System: Linux 6.7.4-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: Garuda Linux
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
I had toggled sorting options and between treeview a few times. 

Before crash, sorting options used were mostly name, CPU and Group CPU in a detail view (it may be custom).

I then returned to treeview and noticed there were was no active field selected to sort.

I clicked to sort by name.

+ There was no clear root to the process tree. 
+ Then the process tree became truncated and short (no clear root and empty nodes at the bottom)
+ Then a brief hang (segfault) and crash.

The sorting The process tree started showing incomplete node

Many CPU values are normally incomplete for me.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: System Monitor (plasma-systemmonitor), signal: Segmentation fault

[KCrash Handler]
#4  0x0000748299bcbb1a in KDescendantsProxyModel::mapToSource(QModelIndex const&) const () at /usr/lib/libKF5ItemModels.so.5
#5  0x0000748299bd1086 in KDescendantsProxyModel::data(QModelIndex const&, int) const () at /usr/lib/libKF5ItemModels.so.5
#6  0x00007482a3608d45 in ??? () at /usr/lib/libQt5QmlModels.so.5
#7  0x00007482a3602cbb in ??? () at /usr/lib/libQt5QmlModels.so.5
#8  0x00007482aef748ec in ??? () at /usr/lib/libQt5Qml.so.5
#9  0x000074827ab4ad9a in ??? ()
#10 0x00007fffb7b8b620 in ??? ()
#11 0x0000000000000000 in ??? ()
[Inferior 1 (process 1058989) detached]

The reporter indicates this bug may be a duplicate of or related to bug 465699.

Reported using DrKonqi
Comment 1 fanzhuyifan 2024-02-17 17:20:04 UTC

*** This bug has been marked as a duplicate of bug 465699 ***