Created attachment 170023 [details] GDB backtrace SUMMARY System Monitor crashes when trying to select any application in the Applications page. This only happens with the attached file "applications.page" placed in ~/.local/share/plasma-systemmonitor/ STEPS TO REPRODUCE 1. Place the attached "applications.page" in ~/.local/share/plasma-systemmonitor/ 2. Run System Monitor (plasma-systemmonitor) 3. Navigate to Appliations page 4. Select any application OBSERVED RESULT System Monitor crashes (backtrace attached). EXPECTED RESULT System Monitor doesn't crash. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Manjaro Stable KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.1
Created attachment 170024 [details] Configuration of the Applications page that causes a crash
I was able to reproduce the bug. Reproduction steps: Ran System Monitor as previously configured, no application page settings file. Clicked on the Applications tab, verified there is no crash with default settings. Closed System Monitor. Copied the provided settings file to ~/.local/share/plasma-systemmonitor/ and re-opened it. Clicked on Applications. As soon as I clicked on anything listed, the application froze. Operating System: Solus 4.5 KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.1
(In reply to TraceyC from comment #2) > I was able to reproduce the bug. Thanks for looking into it! The applications.page that causes crash was on my system before Plasma 6 update, before the update I had no issues.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/418
Git commit 129f767e3985c572bc40aebb9284b028aa2c9256 by Arjen Hiemstra. Committed on 18/06/2024 at 18:09. Pushed by ahiemstra into branch 'master'. itemindicators: Don't access thread-unsafe data from the render thread There is no guarantee the model indexes we store are safe to use after storing them, or that the model doesn't change while we're using it from a different (render) thread. So rather than storing the model indices, just store the data we need from them when updating. M +15 -7 plugin/itembranchindicators.cpp M +7 -1 plugin/itembranchindicators.h https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/129f767e3985c572bc40aebb9284b028aa2c9256
*** Bug 489148 has been marked as a duplicate of this bug. ***
*** Bug 489252 has been marked as a duplicate of this bug. ***