Bug 509840

Summary: Plasmashell repeatedly segfaults on boot 80% of the time
Product: [Plasma] plasmashell Reporter: Karl Essinger <xkaess22>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 6.4.5   
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

Description Karl Essinger 2025-09-23 18:22:30 UTC
Application: plasmashell (6.4.5)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.2
Frameworks Version: 6.18.0
Operating System: Linux 6.16.8-arch2-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.4.5 [CoredumpBackend]

-- Information about the crash:
For about the past week or two after I boot into plasma the taskbar freezes and plasmashell starts crashing repeatedly. This doesn't happen every single time, but maybe about 80% of the time. Everything works for about 30-60 sec until the crashing starts.

I have also tried deleting .cache, .config/plasma*, .local/share/plasma which seems to have solved the issue temporarily but when I created a new panel on my secondary screen it started crashing again. That is the core dump that is attached with this report. I will keep testing and updating this issue, please tell me if you have any questions or suggestions.

I have updated to the latest available packages on Arch without change.

Also:

Not sure if it is related but it also takes a really long time for the plasma desktop to load to begin with. This started happening maybe a few months ago but has kept getting worse over time. Is there some tool to troubleshoot this with?

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  0x00007f29f05393f8 in QJSEngine::handle (this=0x0, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsapi/qjsengine.h:320
#6  QQmlEnginePrivate::getV4Engine (e=0x0, e=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlengine_p.h:334
#7  QQuickStackElement::initialize (this=this@entry=0x55ec4ca08200, requiredProperties=requiredProperties@entry=0x0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicktemplates/qquickstackelement.cpp:210
#8  0x00007f29f0539efb in QQuickStackElement::load (this=0x55ec4ca08200, parent=0x55ec4bd88290) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicktemplates/qquickstackelement.cpp:180
#9  0x00007f29f054412f in QQuickStackView::replace (this=0x55ec4bd88290, args=0x7fff2131c1c0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quicktemplates/qquickstackview.cpp:910
#10 0x00007f29f0545dac in QQuickStackView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/qt6-declarative/build/src/quicktemplates/QuickTemplates2_autogen/include/moc_qquickstackview_p.cpp:465
#11 0x00007f29f05465d7 in QQuickStackView::qt_metacall (this=0x55ec4bd88290, _c=<optimized out>, _id=18, _a=0x7fff2131c1e0) at /usr/src/debug/qt6-declarative/build/src/quicktemplates/QuickTemplates2_autogen/include/moc_qquickstackview_p.cpp:725
#12 0x00007f29f8b542c3 in QQmlObjectOrGadget::metacall (this=<optimized out>, type=<optimized out>, index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:14
#13 0x00007f29f8a11945 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:3070
#15 QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=<optimized out>, argv=0x7f29cebb8560, argc=3) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:3064
#16 0x00007f29f8a6ba6e in QV4::Moth::VME::interpret (frame=0x55ec4bd88290, frame@entry=0x7fff2131c710, engine=0x55ec475678d0, code=0x7f29cebb8548 "\300\26794)\177") at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:798
#17 0x00007f29f8a6f584 in QV4::Moth::VME::exec (frame=<optimized out>, engine=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:487
#18 0x00007f29f89c4140 in QV4::Moth::VME::exec (frame=0x7fff2131c710, engine=0x55ec475678d0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4engine_p.h:830
#19 qfoDoCall (fo=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:527
#20 0x00007f29f8a0515c in QV4::QObjectSlotDispatcher::impl (which=<optimized out>, this_=<optimized out>, receiver=<optimized out>, metaArgs=<optimized out>, ret=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/jsruntime/qv4jscall_p.h:81
#21 0x00007f29f75d466f in QtPrivate::QSlotObjectBase::call (this=0x55ec4b6a9e50, r=0x55ec4b61aa50, a=0x7fff2131caa0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461


Reported using DrKonqi
Comment 1 Karl Essinger 2025-09-23 18:22:31 UTC
Created attachment 185198 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Antonio Rojas 2025-09-23 18:27:14 UTC

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