Bug 483154 - plasmashell crashes in SystemTray::showStatusNotifierContextMenu opening Steam menu
Summary: plasmashell crashes in SystemTray::showStatusNotifierContextMenu opening Stea...
Status: RESOLVED DUPLICATE of bug 484261
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 6.0.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2024-03-10 18:41 UTC by jaxad0127
Modified: 2024-04-01 15:54 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (244.51 KB, text/plain)
2024-03-10 18:42 UTC, jaxad0127
Details
6.0.2 backtrace (135.22 KB, text/plain)
2024-03-18 19:18 UTC, jaxad0127
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jaxad0127 2024-03-10 18:41:57 UTC
Application: plasmashell (6.0.0)

Qt Version: 6.6.2
Frameworks Version: 6.0.0
Operating System: Linux 6.7.6-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.0.0 [CoredumpBackend]

-- Information about the crash:
Plasma shell crashed trying to open the Steam app menu in the system tray.

6.0.0 from Arch testing repo.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  0x000077c33b669b8e in std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/13.2.1/bits/atomic_base.h:837
#6  std::atomic<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/13.2.1/atomic:577
#7  QAtomicOps<QtSharedPointer::ExternalRefCountData*>::loadRelaxed<QtSharedPointer::ExternalRefCountData*> (_q_value=<optimized out>, _q_value=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qatomic_cxx11.h:201
#8  QBasicAtomicPointer<QtSharedPointer::ExternalRefCountData>::loadRelaxed (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qbasicatomic.h:172
#9  QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x58b8799b9220) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qsharedpointer.cpp:1407


Reported using DrKonqi
Comment 1 jaxad0127 2024-03-10 18:42:00 UTC
Created attachment 166899 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-03-11 21:17:23 UTC
This backtrace is amazing and has every debug symbol except for the ones we need! For example:

#36 0x000077c32fedb5a3 in ??? () at /usr/lib/qt6/plugins/plasma/applets/org.kde.plasma.private.systemtray.so

Could you please install debug symbols for Plasma and attach a new symbolicated backtrace generated by using `coredumpctl gdb` in a terminal window? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for details about how to do this.

Thanks again!
Comment 3 jaxad0127 2024-03-12 02:09:20 UTC
Is there a way to get the core file from Dr Konqi? It happened again, and just those symbols are missing information, again.
Comment 4 Nate Graham 2024-03-13 18:29:09 UTC
Just use `coredumpctl`, as the documentation says. It should prompt you to download the missing debug symbols.
Comment 5 jaxad0127 2024-03-18 15:06:44 UTC
coredumptctl didn't help. Still had question marks for that library. I think my install was scuffed; I went to kde-unstable to test beta2, and then went to testing for the release version, and had to do some package cleanup. I've upgraded to 6.0.2 in normal repos. We'll see if it happens again.
Comment 6 jaxad0127 2024-03-18 19:18:05 UTC
Created attachment 167421 [details]
6.0.2 backtrace

It happened again (version 6.0.2-3). New backtrace added. No question marks this time!
Comment 7 Nate Graham 2024-03-19 18:14:13 UTC
There we go, much better! Thanks. Pasting inline for searchability:

Thread 1 (Thread 0x7c78e4ec69c0 (LWP 1296)):
[KCrash Handler]
#5  0x00007c78ea069b8e in std::__atomic_base<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/13.2.1/bits/atomic_base.h:837
#6  std::atomic<QtSharedPointer::ExternalRefCountData*>::load (__m=std::memory_order_relaxed, this=<optimized out>) at /usr/include/c++/13.2.1/atomic:577
#7  QAtomicOps<QtSharedPointer::ExternalRefCountData*>::loadRelaxed<QtSharedPointer::ExternalRefCountData*> (_q_value=<optimized out>, _q_value=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qatomic_cxx11.h:201
#8  QBasicAtomicPointer<QtSharedPointer::ExternalRefCountData>::loadRelaxed (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/thread/qbasicatomic.h:172
#9  QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x56f6c402c520) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qsharedpointer.cpp:1407
#10 0x00007c78ea578170 in QWeakPointer<QObject>::QWeakPointer<QObject, true> (ptr=0x56f6c402c520, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qsharedpointer_impl.h:685
#11 QWeakPointer<QObject>::assign<QObject> (this=0x56f6c7124220, ptr=0x56f6c402c520) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/tools/qsharedpointer_impl.h:680
#12 0x00007c78ea5c9957 in QPointer<QScreen>::operator= (p=0x56f6c402c520, this=0x56f6c7124220, this=<optimized out>, p=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qpointer.h:68
#13 QWindowPrivate::connectToScreen (screen=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qwindow.cpp:481
#14 QWindowPrivate::setTopLevelScreen (this=0x56f6c71240d0, newScreen=0x56f6c402c520, recreate=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/kernel/qwindow.cpp:506
#15 0x00007c78ebd312d7 in QWidgetPrivate::create (this=this@entry=0x56f6c7e30480) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidget.cpp:1283
#16 0x00007c78ebd300f2 in QWidget::create (this=0x56f6c7eabd90, window=<optimized out>, initializeWindow=<optimized out>, destroyOldWindow=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidget.cpp:1174
#17 0x00007c78ebd30a87 in QWidgetPrivate::createWinId (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidget.cpp:2377
#18 0x00007c78ebd30b03 in QWidget::winId (this=0x56f6c7eabd90) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidget.h:101
#19 QWidget::winId (this=this@entry=0x56f6c7eabd90) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qwidget.cpp:2341
#20 0x00007c78dbf2b94e in SystemTray::showStatusNotifierContextMenu (this=<optimized out>, job=<optimized out>, statusNotifierIcon=0x56f6c7d2d090) at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.2/applets/systemtray/systemtray.cpp:235
#21 0x00007c78dbf2fb40 in SystemTray::qt_metacall (this=0x56f6c493f430, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7ffcc0be41d8) at /usr/src/debug/plasma-workspace/build/applets/systemtray/org.kde.plasma.private.systemtray_autogen/EWIEGA46WW/moc_systemtray.cpp:321
#22 0x00007c78eb0d7d64 in QQmlObjectOrGadget::metacall (this=0x7ffcc0be4490, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/qml/qqmlobjectorgadget.cpp:14
#23 0x00007c78eafb742f in QV4::CallMethod (callType=<optimized out>, callArgs=<optimized out>, engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>, returnType=..., index=<optimized out>, object=<optimized out>) at /usr/include/qt6/QtCore/qvarlengtharray.h:84
#24 QV4::CallPrecise (object=..., data=<optimized out>, engine=<optimized out>, engine@entry=0x56f6c473dd50, callArgs=<optimized out>, callArgs@entry=0x7c78d09bf590, callType=callType@entry=QMetaObject::InvokeMetaMethod) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:1850
#25 0x00007c78eafbb239 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:2753
#26 operator()<QV4::QObjectMethod::callInternal(const QV4::Value*, const QV4::Value*, int) const::<lambda()> > (call=<optimized out>, __closure=<synthetic pointer>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:2730
#27 QV4::QObjectMethod::callInternal (this=0x7ffcc0be45a0, thisObject=<optimized out>, argv=0x7c78d09bf550, argc=2) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4qobjectwrapper.cpp:2753
#28 0x00007c78eb000efa in QV4::Moth::VME::interpret (frame=0x7ffcc0be4950, engine=0x56f6c473dd50, code=0x56f6c768e960 "Pv\370\352x|") at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4vme_moth.cpp:902
#29 0x00007c78eb0045c5 in QV4::Moth::VME::exec (frame=<optimized out>, engine=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4vme_moth.cpp:584
#30 0x00007c78eaf79b08 in qfoDoCall (fo=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4functionobject.cpp:526
#31 0x00007c78eafb1c97 in QV4::QObjectSlotDispatcher::impl (which=<optimized out>, this_=<optimized out>, receiver=<optimized out>, metaArgs=0x7ffcc0be4c80, ret=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative-everywhere-src-6.6.2/src/qml/jsruntime/qv4jscall_p.h:69
#32 0x00007c78e9f90ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffcc0be4c80, r=0x56f6c5819e20, this=0x56f6c7745a50, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#33 doActivate<false> (sender=0x56f6c5819e20, signal_index=3, argv=0x7ffcc0be4c80) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#34 0x00007c78eada1f37 in KJob::finished (this=this@entry=0x56f6c5819e20, _t1=<optimized out>, _t1@entry=0x56f6c5819e20, _t2=...) at /usr/src/debug/kcoreaddons/build/src/lib/KF6CoreAddons_autogen/include/moc_kjob.cpp:772
#35 0x00007c78eada89f4 in KJob::finishJob (this=0x56f6c5819e20, emitResult=true) at /usr/src/debug/kcoreaddons/kcoreaddons-6.0.0/src/lib/jobs/kjob.cpp:95
#36 0x00007c78eada94e2 in KJob::emitResult (this=<optimized out>) at /usr/src/debug/kcoreaddons/kcoreaddons-6.0.0/src/lib/jobs/kjob.cpp:329
#37 0x00007c78dbeb0ba0 in Plasma5Support::ServiceJob::setResult (this=<optimized out>, result=<optimized out>) at /usr/src/debug/plasma5support/plasma5support-6.0.2/src/plasma5support/servicejob.cpp:78
#38 0x00007c78dbf285d3 in StatusNotifierItemJob::contextMenuReady (menu=0x56f6c7eabd90, this=0x56f6c5819e20) at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.2/applets/systemtray/statusnotifieritemjob.cpp:72
#39 StatusNotifierItemJob::qt_static_metacall (_o=0x56f6c5819e20, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/plasma-workspace/build/applets/systemtray/systemtraymodel_static_autogen/EWIEGA46WW/moc_statusnotifieritemjob.cpp:134
#40 0x00007c78e9f7c2c7 in QObject::event (this=0x56f6c5819e20, e=0x7c77d0e0e430) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:1437
#41 0x00007c78ebcf438b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56f6c5819e20, e=0x7c77d0e0e430) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3296
#42 0x00007c78e9f39818 in QCoreApplication::notifyInternal2 (receiver=0x56f6c5819e20, event=event@entry=0x7c77d0e0e430) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#43 0x00007c78e9f39b9b in QCoreApplication::sendEvent (event=0x7c77d0e0e430, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1539
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x56f6c3fe6ba0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1901
#45 0x00007c78ea1758a4 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1760
#46 postEventSourceDispatch (s=0x56f6c4014970) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:243
#47 0x00007c78e8a74f69 in g_main_dispatch (context=0x7c78dc000ef0) at ../glib/glib/gmain.c:3476
#48 0x00007c78e8ad33a7 in g_main_context_dispatch_unlocked (context=0x7c78dc000ef0) at ../glib/glib/gmain.c:4284
#49 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7c78dc000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#50 0x00007c78e8a73162 in g_main_context_iteration (context=0x7c78dc000ef0, may_block=1) at ../glib/glib/gmain.c:4414
#51 0x00007c78ea1739c4 in QEventDispatcherGlib::processEvents (this=0x56f6c402f0b0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#52 0x00007c78e9f43d6e in QEventLoop::processEvents (flags=..., this=0x7ffcc0be51c0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#53 QEventLoop::exec (this=0x7ffcc0be51c0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#54 0x00007c78e9f3c2b8 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74
#55 0x00007c78ebcf0f0a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:2574
#56 0x000056f6c3dd6476 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.2/shell/main.cpp:214
Comment 8 Nate Graham 2024-03-19 18:16:59 UTC
To be clear, you're right-clicking on Steam's System Tray icon when this happens, right?
Comment 9 jaxad0127 2024-03-20 17:46:41 UTC
(In reply to Nate Graham from comment #8)
> To be clear, you're right-clicking on Steam's System Tray icon when this
> happens, right?

Yes. It doesn't always happen, to be clear.
Comment 10 Fushan Wen 2024-03-21 08:09:41 UTC
I can also sometimes reproduce it
Comment 11 Fushan Wen 2024-04-01 15:54:24 UTC

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