Bug 491297 - plasmashell crashes when closing system monitor sensor config
Summary: plasmashell crashes when closing system monitor sensor config
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-08-05 11:47 UTC by Nicolas Fella
Modified: 2024-08-30 18:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.2.0
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/55183/events/0b60be4711d7419abea28d61c2ceb24a/


Attachments
New crash information added by DrKonqi (168.46 KB, text/plain)
2024-08-05 11:47 UTC, Nicolas Fella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Fella 2024-08-05 11:47:28 UTC
Application: plasmashell (6.1.80)
 (Compiled from sources)
ApplicationNotResponding [ANR]: false
Qt Version: 6.8.0
Frameworks Version: 6.5.0
Operating System: Linux 6.9.12-200.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (KDE Plasma)"
DrKonqi: 6.1.80 [CoredumpBackend]

-- Information about the crash:
- Add a systemmonitor widget to the desktop
- Right click on it to configure
- Click "Load Preset"
- Press Esc

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  QV4::Heap::Pointer<QV4::Heap::InternalClass*, 0ul>::get (this=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4lookup_p.h:250
#6  QV4::Heap::Pointer<QV4::Heap::InternalClass*, 0ul>::operator QV4::Heap::InternalClass* (this=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/memory/qv4heap_p.h:37
#7  QV4::Managed::internalClass (this=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4managed_p.h:129
#8  QV4::setupQObjectLookup (lookup=0x1d1073f0, ddata=<optimized out>, propertyData=<optimized out>, self=<optimized out>) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4lookup_p.h:258
#9  QV4::setupQObjectLookup (lookup=0x1d1073f0, ddata=<optimized out>, propertyData=<optimized out>, self=<optimized out>, qmlType=0x7fec1857d5f0) at /home/nico/workspace/qt6/qtdeclarative/src/qml/jsruntime/qv4lookup_p.h:266


Reported using DrKonqi
Comment 1 Nicolas Fella 2024-08-05 11:47:29 UTC
Created attachment 172302 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 duha.bugs 2024-08-05 20:47:40 UTC
Can confirm on:
Operating System: Arch Linux 
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.5.0
Qt Version: 6.9.0
Kernel Version: 6.10.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 3 Nate Graham 2024-08-20 13:17:30 UTC
Can confirm with Plasma 6.7.2 as well, so it doesn't look like this is a Qt 6.8 regression.
Comment 4 Bug Janitor Service 2024-08-27 12:47:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/364
Comment 5 Arjen Hiemstra 2024-08-30 13:49:58 UTC
Git commit 1736d2ef097ee830b6a702177ccae20dd8a67dad by Arjen Hiemstra.
Committed on 30/08/2024 at 13:44.
Pushed by ahiemstra into branch 'master'.

faces: Port Load Preset dialog in ConfigAppearance to Kirigami.Dialog

OverlaySheet doesn't work all that well here, using Kirigami.Dialog
works better with regards to modality and placement. As a bonus it
handles key events properly.

M  +40   -22   faces/ConfigAppearance.qml

https://invent.kde.org/plasma/libksysguard/-/commit/1736d2ef097ee830b6a702177ccae20dd8a67dad