Bug 487877 - System Monitor's Processes tab causes a crash when searching in Tree View mode
Summary: System Monitor's Processes tab causes a crash when searching in Tree View mode
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: 6.0.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-01 10:53 UTC by Synthetic451
Modified: 2024-09-24 06:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Full backtrace (21.70 KB, text/plain)
2024-06-01 10:53 UTC, Synthetic451
Details
Video of the bug happening (2.14 MB, video/mp4)
2024-06-01 11:14 UTC, Synthetic451
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Synthetic451 2024-06-01 10:53:11 UTC
Created attachment 170042 [details]
Full backtrace

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
System Monitor crashes when you go to the Processes tab, enter a search in Tree View, and then click on some of the displayed processes. Occasionally it is not reproducible, but it is pretty easy to trigger usually.

STEPS TO REPRODUCE
1. Launch System Monitor and go to the Processes tab
2. Enter a search. I used "kwin"
3. Switch to Tree view
4. Click on any of the processes in the tree.

OBSERVED RESULT
System monitor crashes after clicking on a process in the tree

EXPECTED RESULT
System monitor should not crash

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2
Product Name: X570 Taichi

ADDITIONAL INFORMATION
Comment 1 Synthetic451 2024-06-01 11:05:48 UTC
I should say that sometimes it doesn't reproduce immediately. Instead it happens after switching between list view and tree view with a search active multiple times.
Comment 2 Synthetic451 2024-06-01 11:14:18 UTC
Created attachment 170044 [details]
Video of the bug happening
Comment 3 Synthetic451 2024-09-24 06:21:12 UTC
I can no longer reproduce this as of KDE 6.1.5 and Frameworks 6.6