Bug 495035 - Plasma Widget system monitor sensor crashes on edit
Summary: Plasma Widget system monitor sensor crashes on edit
Status: RESOLVED DUPLICATE of bug 492606
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.2.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-10-19 11:29 UTC by peachy
Modified: 2024-11-27 19:45 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (106.78 KB, text/plain)
2024-10-19 11:29 UTC, peachy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peachy 2024-10-19 11:29:50 UTC
Application: plasmashell (6.2.1)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.0
Frameworks Version: 6.7.0
Operating System: Linux 6.11.4-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.2.1 [CoredumpBackend]

-- Information about the crash:
When I tried to enable the legend by ticking the box abd pressing apply, it crashed. The others do not do this, only the Memory one. I added it to the desktop by making a link through system monitor.
WHen I looked into the config file, the lines 

[Containments][123][Applets][208][Configuration][SensorLabels]
memory/physical/total=Total RAM
memory/physical/used=Used RAM

were in a different position to the rest of the [Applets][208] sections. When i opened this file and moved that section down to the rest of the applet's config sections and saved the file then it saved the change without crashing, but it also moved the section in the config file back to the random position I cut it from. HOwever after doing that it no longer crashes now? 
Hopefully the backtrace helps!

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x00007bc82805357d in QV4::Value::as<QV4::QObjectWrapper> (this=0x7bc7f4370328) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4heap_p.h:45
#6  QV4::Value::as<QV4::QObjectWrapper> (this=0x7bc7f4370328) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4value_p.h:151
#8  0x00007bc82805172d in QV4::GCStateMachine::transition (this=0x558fce383670) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1495
#9  QV4::GCStateMachine::transition (this=0x558fce383670) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1477
#10 0x00007bc8280611b7 in QV4::GCStateMachine::step (this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm_p.h:79


Reported using DrKonqi
Comment 1 peachy 2024-10-19 11:29:51 UTC
Created attachment 175018 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 TraceyC 2024-11-27 17:17:01 UTC
Searchable backtrace

Thread 1 (Thread 0x7bc820886a00 (LWP 1243)):
[KCrash Handler]
#5  0x00007bc82805357d in QV4::Value::as<QV4::QObjectWrapper> (this=0x7bc7f4370328) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4heap_p.h:45
#6  QV4::Value::as<QV4::QObjectWrapper> (this=0x7bc7f4370328) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4value_p.h:151
#7  QV4::(anonymous namespace)::markWeakValues (that=0x558fce383670, stateData=std::variant [index 1] = {...}) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:749
#8  0x00007bc82805172d in QV4::GCStateMachine::transition (this=0x558fce383670) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1495
#9  QV4::GCStateMachine::transition (this=0x558fce383670) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1477
#10 0x00007bc8280611b7 in QV4::GCStateMachine::step (this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm_p.h:79
#11 QV4::MemoryManager::runGC (this=0x558fce1679d0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1272
#12 0x00007bc828058420 in QV4::MemoryManager::runGC (this=0x558fce1679d0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1258
#13 QV4::MemoryManager::allocate (this=0x558fce1679d0, allocator=0x558fce1679e0, size=96) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm_p.h:397
#14 QV4::MemoryManager::allocData (this=0x558fce1679d0, size=96) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1009
#15 0x00007bc82818e02b in QV4::MemoryManager::allocateObject<QV4::QQmlTypeWrapper> (this=0x558fce1679d0, ic=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmltypewrapper_p.h:107
#16 QV4::MemoryManager::allocateObject<QV4::QQmlTypeWrapper> (this=0x558fce1679d0, ic=0x7bc81c5bf5d8) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm_p.h:258
#17 QV4::MemoryManager::allocateObject<QV4::QQmlTypeWrapper> (this=0x558fce1679d0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm_p.h:268
#18 QV4::MemoryManager::allocate<QV4::QQmlTypeWrapper, QV4::Heap::QQmlTypeWrapper::TypeNameMode&, QObject*&, QQmlTypeNameCache*, QQmlImportRef const*&> (this=0x558fce1679d0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm_p.h:301
#19 QV4::QQmlTypeWrapper::create (engine=0x558fce3c9470, o=0x558fd9258260, t=<optimized out>, importNamespace=0x7bc7f87432e8, mode=QV4::Heap::QQmlTypeWrapper::IncludeEnums) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmltypewrapper.cpp:266
#20 0x00007bc827fd131c in QV4::QQmlContextWrapper::getPropertyAndBase (resource=<optimized out>, id=..., receiver=receiver@entry=0x0, hasProperty=hasProperty@entry=0x7ffe37c00d10, base=base@entry=0x0, lookup=lookup@entry=0x558fd30d55b0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qmlcontext.cpp:251
#21 0x00007bc827fd1d9d in QV4::QQmlContextWrapper::resolveQmlContextPropertyLookupGetter (l=l@entry=0x558fd30d55b0, engine=engine@entry=0x558fce3c9470, base=base@entry=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qmlcontext.cpp:543
#22 0x00007bc827fd1fdf in QV4::QQmlContextWrapper::lookupType (l=0x558fd30d55b0, engine=0x558fce3c9470, base=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qmlcontext.cpp:820
#23 0x00007bc7c4c490a4 in ??? ()
#24 0x0000000000000000 in ??? ()
Comment 3 TraceyC 2024-11-27 19:44:30 UTC
Based on the backtrace, its been determined this is a duplicate of 492606. Please follow that report for progress on this issue. Thanks!

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