Bug 492606 - Plasma crashed in QV4::GCStateMachine::transition() after pressing meta+p
Summary: Plasma crashed in QV4::GCStateMachine::transition() after pressing meta+p
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.1.4
Platform: unspecified Linux
: HI crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 495009 495035 495076 495184 495193 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-09-03 16:43 UTC by Patrick Silva
Modified: 2024-12-04 16:05 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: Qt 6.8.1
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/3085/events/257828d5fc944f34b7d2e7b4a4a9f13c/


Attachments
New crash information added by DrKonqi (116.34 KB, text/plain)
2024-09-03 16:43 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2024-09-03 16:43:15 UTC
Application: plasmashell (6.1.4)

Qt Version: 6.8.0
Frameworks Version: 6.5.0
Operating System: Linux 6.10.7-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.1.4 [CoredumpBackend]

-- Information about the crash:
I pressed meta+p and Plasma crashed a few seconds later.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#5  QV4::Value::as<QV4::QObjectWrapper> (this=0x74d78d23a0c8) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4heap_p.h:45
#6  QV4::Value::as<QV4::QObjectWrapper> (this=0x74d78d23a0c8) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4value_p.h:151
#8  0x000074d7d424dc6d in QV4::GCStateMachine::transition (this=0x570afe98d5a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1487
#9  QV4::GCStateMachine::transition (this=0x570afe98d5a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1469
#10 0x000074d7d425d6e7 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 Patrick Silva 2024-09-03 16:43:17 UTC
Created attachment 173280 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-09-03 20:24:11 UTC
Maybe a bug in Qt.

Thread 1 (Thread 0x74d7ccd94a00 (LWP 42336)):
[KCrash Handler]
#5  QV4::Value::as<QV4::QObjectWrapper> (this=0x74d78d23a0c8) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4heap_p.h:45
#6  QV4::Value::as<QV4::QObjectWrapper> (this=0x74d78d23a0c8) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4value_p.h:151
#7  QV4::(anonymous namespace)::markWeakValues (that=0x570afe98d5a0, stateData=std::variant [index 1] = {...}) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:749
#8  0x000074d7d424dc6d in QV4::GCStateMachine::transition (this=0x570afe98d5a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1487
#9  QV4::GCStateMachine::transition (this=0x570afe98d5a0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1469
#10 0x000074d7d425d6e7 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=0x570afeb68eb0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1272
#12 0x000074d7d41673e0 in QV4::MemoryManager::runGC (this=0x570afeb68eb0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:1260
#13 QV4::MemoryManager::allocate (this=0x570afeb68eb0, allocator=0x570afeb68ec0, size=64) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm_p.h:397
#14 QV4::MemoryManager::allocString (this=0x570afeb68eb0, unmanagedSize=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm.cpp:994
#15 QV4::MemoryManager::allocWithStringData<QV4::String, QString const&> (this=0x570afeb68eb0, unmanagedSize=<optimized out>, arg1=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/memory/qv4mm_p.h:274
#16 QV4::ExecutionEngine::newString (this=<optimized out>, s=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4engine.cpp:938
#17 0x000074d7d41d481c in operator()<QString> (__closure=<synthetic pointer>, v=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:155
#18 QV4::loadProperty (v4=<optimized out>, wrapper=<optimized out>, object=0x570b0016e270, property=...) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:178
#19 0x000074d7a7605f97 in ?? ()
#20 0x0000000000000000 in ?? ()
Comment 3 TraceyC 2024-11-27 17:37:19 UTC
*** Bug 495184 has been marked as a duplicate of this bug. ***
Comment 4 TraceyC 2024-11-27 17:38:53 UTC
Bug 495076 has a backtrace that starts off in the same place
Comment 5 TraceyC 2024-11-27 19:44:30 UTC
*** Bug 495035 has been marked as a duplicate of this bug. ***
Comment 6 TraceyC 2024-11-27 19:44:37 UTC
*** Bug 495009 has been marked as a duplicate of this bug. ***
Comment 7 TraceyC 2024-11-27 19:44:44 UTC
*** Bug 495193 has been marked as a duplicate of this bug. ***
Comment 8 TraceyC 2024-11-27 19:44:52 UTC
*** Bug 495076 has been marked as a duplicate of this bug. ***
Comment 10 TraceyC 2024-12-04 16:05:18 UTC
Confirmed I cannot reproduce in Qt 6.8.1. Feel free to re-open this report if it is still crashing.