Bug 441677 - 'ASSERT failure in KConfigGroup::writeEntry: "writing to a read-only group"'
Summary: 'ASSERT failure in KConfigGroup::writeEntry: "writing to a read-only group"'
Status: RESOLVED FIXED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: VHI crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-28 20:50 UTC by Kyle Devir
Modified: 2021-09-03 09:56 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Devir 2021-08-28 20:50:20 UTC
SUMMARY

Terminal output:

ASSERT failure in KConfigGroup::writeEntry: "writing to a read-only group", file /run/media/valmar/DataSSD/kde/sources/frameworks/kconfig/src/core/kconfiggroup.cpp, line 832
80 -- exe=/run/media/valmar/DataSSD/kde/usr-2021-08-28-19-31/bin/plasma-systemmonitor
17 -- platform=wayland
29 -- appname=plasma-systemmonitor
63 -- apppath=/run/media/valmar/DataSSD/kde/usr-2021-08-28-19-31/bin
9 -- signal=6
12 -- pid=1427869
19 -- appversion=5.22.80
27 -- programname=System Monitor
75 -- bugaddress=https://bugs.kde.org/enter_bug.cgi?product=plasma-systemmonitor
12 -- startupid=0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-systemmonitor path = /run/media/valmar/DataSSD/kde/usr-2021-08-28-19-31/bin pid = 1427869
KCrash: Arguments: /run/media/valmar/DataSSD/kde/usr-2021-08-28-19-31/bin/plasma-systemmonitor 
KCrash: Attempting to start /run/media/valmar/DataSSD/kde/usr-2021-08-28-19-31/lib/libexec/drkonqi


STEPS TO REPRODUCE

1. Fully update KDE Git via kdesrc-build
2. Restart kwin_wayland session
3. Try to start plasma-systemmonitor via terminal


OBSERVED RESULT

Instant crash


EXPECTED RESULT

Start without crashing


SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.13.12-arch1-1-custom (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: Radeon RX 580 Series


ADDITIONAL INFORMATION

Backtrace:

Application: System Monitor (plasma-systemmonitor), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  0x00007fbcd841dd22 in raise () from /usr/lib/libc.so.6
#6  0x00007fbcd8407862 in abort () from /usr/lib/libc.so.6
#7  0x00007fbcd89b4910 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#8  0x00007fbcd89b3d52 in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/libQt5Core.so.5
#9  0x00007fbcda9e067f in KConfigGroup::writeEntry (this=0x55ac655e2bc0, key=0x7fbc989608dd "chartFace", value=..., flags=...) at /run/media/valmar/DataSSD/kde/sources/frameworks/kconfig/src/core/kconfiggroup.cpp:832
#10 0x00007fbc9894b0eb in KSysGuard::SensorFaceController::setFaceId (this=0x55ac655e2b30, face=...) at /run/media/valmar/DataSSD/kde/sources/plasma/libksysguard/faces/SensorFaceController.cpp:680
#11 0x00007fbc98949496 in KSysGuard::SensorFaceController::SensorFaceController (this=0x55ac655e2b30, config=..., engine=0x7ffc1a012b50) at /run/media/valmar/DataSSD/kde/sources/plasma/libksysguard/faces/SensorFaceController.cpp:375
#12 0x00007fbcb40255e8 in FaceLoader::setDataObject (this=0x55ac65ebfb20, newDataObject=0x55ac65aa6170) at /run/media/valmar/DataSSD/kde/sources/plasma/plasma-systemmonitor/src/page/FaceLoader.cpp:68
#13 0x00007fbcb400df74 in FaceLoader::qt_static_metacall (_o=0x55ac65ebfb20, _c=QMetaObject::WriteProperty, _id=0, _a=0x7ffc1a012360) at /run/media/valmar/DataSSD/kde/builds/plasma/plasma-systemmonitor/src/page/PagePlugin_autogen/EWIEGA46WW/moc_FaceLoader.cpp:126
#14 0x00007fbcd93fedff in ?? () from /usr/lib/libQt5Qml.so.5
#15 0x00007fbcd940058f in ?? () from /usr/lib/libQt5Qml.so.5
#16 0x00007fbcd93fe164 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () from /usr/lib/libQt5Qml.so.5
#17 0x00007fbcd940b943 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () from /usr/lib/libQt5Qml.so.5
#18 0x00007fbcd93a0847 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () from /usr/lib/libQt5Qml.so.5
#19 0x00007fbcd93a1023 in QQmlIncubationController::incubateFor(int) () from /usr/lib/libQt5Qml.so.5
#20 0x00007fbcd9f71f33 in ?? () from /usr/lib/libQt5Quick.so.5
#21 0x00007fbcd8c0a41f in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#22 0x00007fbcda3bdd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007fbcd8bdd3aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#24 0x00007fbcd8c3534d in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
#25 0x00007fbcd8c35c12 in ?? () from /usr/lib/libQt5Core.so.5
#26 0x00007fbcd6dad10c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007fbcd6e00b99 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007fbcd6daa871 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007fbcd8c35fd6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#30 0x00007fbcd8bdbd1c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007fbcd8be4284 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#32 0x000055ac63ebdde7 in main (argc=1, argv=0x7ffc1a012f98) at /run/media/valmar/DataSSD/kde/sources/plasma/plasma-systemmonitor/src/main.cpp:159
[Inferior 1 (process 1427869) detached]
Comment 1 Méven Car 2021-09-03 07:25:40 UTC
I encounter this as well.
Comment 2 Méven Car 2021-09-03 07:26:28 UTC
(In reply to Méven Car from comment #1)
> I encounter this as well except it is plasmashell that crashes.
Comment 3 Méven Car 2021-09-03 07:34:59 UTC
I checked my appletsrc config config, no trace of [$i] to mark it immutable and my file permission are ok as well -rw-----.
Comment 4 Bug Janitor Service 2021-09-03 09:54:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libksysguard/-/merge_requests/186
Comment 5 Méven Car 2021-09-03 09:56:32 UTC
Git commit 43b0f2714bbfc2e4d7907457ab472f769cc383d9 by Méven Car, on behalf of Méven Car.
Committed on 03/09/2021 at 09:55.
Pushed by meven into branch 'master'.

Revert "Fix the signature of the SensorFaceController"

This reverts commit 65916c72396761e1be1145d753e7094474bc1b0e.

M  +1    -1    faces/SensorFaceController.cpp
M  +1    -1    faces/SensorFaceController.h

https://invent.kde.org/plasma/libksysguard/commit/43b0f2714bbfc2e4d7907457ab472f769cc383d9