Bug 501947

Summary: Crash in QV4::Object::setProperty
Product: [Plasma] plasmashell Reporter: garvinml
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: kde, kdedev, nate, sitter, smajlo.slovakian, steve
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.3.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
Crash Debug Info

Description garvinml 2025-03-24 17:35:04 UTC
Application: plasmashell (6.3.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.12.0
Operating System: Linux 6.13.7-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.3.3 [CoredumpBackend]

-- Information about the crash:
Left my laptop idle overnight assume it went to sleep and crashed on waking or, crashed when entering sleep.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  0x000075abfa7bb9bf in QV4::WriteBarrier::write (engine=<optimized out>, base=<optimized out>, slot=<optimized out>, value=129376813174016) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4writebarrier_p.h:34
#6  QV4::ValueArray<8ul>::set (this=<optimized out>, e=<optimized out>, index=2, v=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4value_p.h:440
#7  QV4::Heap::Object::setProperty (this=<optimized out>, e=<optimized out>, index=2, v=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4object_p.h:85
#8  QV4::Object::setProperty (this=0x75abd03b8a80, index=<optimized out>, v=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4object_p.h:127
#9  QV4::Object::insertMember (this=0x75abd03b8a80, s=<optimized out>, p=0x75abd03b8ac8, attributes=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4object.cpp:265


Reported using DrKonqi
Comment 1 garvinml 2025-03-24 17:35:06 UTC
Created attachment 179701 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Harald Sitter 2025-03-25 02:12:04 UTC
> warning: File /usr/lib/qt6/qml/QtCore/libqtqmlcoreplugin.so doesn't match build-id from core-file during file-backed mapping processing

It appears you may have upgraded your system and not logged out/rebooted. It's entirely possible that is why the crash happened.
Comment 3 Nate Graham 2025-03-25 23:11:30 UTC
Is that it? Does the crash happen again if you reboot and try again?
Comment 4 garvinml 2025-03-28 14:51:40 UTC
Created attachment 179820 [details]
Crash Debug Info

Here is another crash that happened after reboot
Comment 5 Nate Graham 2025-03-31 16:10:48 UTC
Thread 1 (Thread 0x7f9d9de0ca40 (LWP 4542)):
[KCrash Handler]
#5  0x00007f9da57bb9bf in QV4::WriteBarrier::write (engine=<optimized out>, base=<optimized out>, slot=<optimized out>, value=140311086640000) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4writebarrier_p.h:34
#6  QV4::ValueArray<8ul>::set (this=<optimized out>, e=<optimized out>, index=2, v=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4value_p.h:440
#7  QV4::Heap::Object::setProperty (this=<optimized out>, e=<optimized out>, index=2, v=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4object_p.h:85
#8  QV4::Object::setProperty (this=0x7f9d7c3b9a80, index=<optimized out>, v=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4object_p.h:127
#9  QV4::Object::insertMember (this=0x7f9d7c3b9a80, s=<optimized out>, p=0x7f9d7c3b9ac8, attributes=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4object.cpp:265
#10 0x00007f9da5749348 in QV4::Object::insertMember (this=<optimized out>, s=<optimized out>, v=..., attributes=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4object_p.h:195
#11 0x00007f9da57bf1f5 in QV4::Object::internalPut (this=0x7f9d7c3b9aa0, id=..., value=..., receiver=0x7f9d7c3b9a80) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4object.cpp:560
#12 0x00007f9da57bf19a in QV4::Object::put (this=<optimized out>, id=..., v=..., receiver=0x7f9d7c3b9a80) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4object_p.h:287
#13 QV4::Object::internalPut (this=0x7f9d7c3b9a80, id=..., value=..., receiver=0x7f9d7c3b9a80) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4object.cpp:523
#14 0x00007f9da5802ac0 in QV4::Object::put (this=<optimized out>, id=..., v=..., receiver=<optimized out>, this=<optimized out>, id=..., v=..., receiver=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4object_p.h:287
#15 QV4::setElementFallback (engine=engine@entry=0x595503b25f50, object=..., index=..., value=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:815
#16 0x00007f9da5802bcb in QV4::Runtime::StoreElement::call (engine=0x595503b25f50, object=..., index=..., value=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:836
#17 0x00007f9cbb5d06f9 in ?? ()
#18 0x0000000000000000 in ?? ()
Comment 6 David Edmundson 2025-04-02 09:32:05 UTC
*** Bug 490174 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2025-08-19 20:20:12 UTC
No duplicate reports from At 6.9 or later; assuming it's fixed in that release or a later one.
Comment 8 Akseli Lahtinen 2025-09-26 08:45:50 UTC
*** Bug 509923 has been marked as a duplicate of this bug. ***