Bug 489682 - plasmashell crash in Plasma::Theme::~Theme() after computer unlock
Summary: plasmashell crash in Plasma::Theme::~Theme() after computer unlock
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (other bugs)
Version First Reported In: 6.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 488450 492931 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-03 15:02 UTC by kevinleroy
Modified: 2025-05-23 20:40 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.5 or earlier
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (179.04 KB, text/plain)
2024-07-03 15:02 UTC, kevinleroy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kevinleroy 2024-07-03 15:02:21 UTC
Application: plasmashell (6.1.1)

Qt Version: 6.7.1
Frameworks Version: 6.3.0
Operating System: Linux 6.7.11-200.fc39.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (KDE Plasma)"
DrKonqi: 6.1.1 [CoredumpBackend]

-- Information about the crash:
Plasmashell crash randomly after unlock computer.
My laptop has 2 external screen connected with a dell dock.
This problem occurs with some dell dock

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  std::__atomic_base<int>::fetch_sub (this=<optimized out>, __i=<optimized out>, __m=<optimized out>, this=<optimized out>, __i=<optimized out>, __m=<optimized out>) at /usr/include/c++/14/bits/atomic_base.h:639
#6  QAtomicOps<int>::deref<int> (_q_value=..., _q_value=...) at /usr/include/qt6/QtCore/qatomic_cxx11.h:266
[...]
#8  Plasma::Theme::~Theme (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libplasma-6.1.1-1.fc40.x86_64/src/plasma/theme.cpp:85
#9  0x00007f6033409a74 in PlasmaTheme::~PlasmaTheme (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libplasma-6.1.1-1.fc40.x86_64/src/declarativeimports/kirigamiplasmastyle/plasmatheme.cpp:59
#10 PlasmaTheme::~PlasmaTheme (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libplasma-6.1.1-1.fc40.x86_64/src/declarativeimports/kirigamiplasmastyle/plasmatheme.cpp:59


Reported using DrKonqi
Comment 1 kevinleroy 2024-07-03 15:02:23 UTC
Created attachment 171333 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-07-03 21:06:45 UTC
Thread 1 (Thread 0x7f604f62f400 (LWP 4024016)):
[KCrash Handler]
#5  std::__atomic_base<int>::fetch_sub (this=<optimized out>, __i=<optimized out>, __m=<optimized out>, this=<optimized out>, __i=<optimized out>, __m=<optimized out>) at /usr/include/c++/14/bits/atomic_base.h:639
#6  QAtomicOps<int>::deref<int> (_q_value=..., _q_value=...) at /usr/include/qt6/QtCore/qatomic_cxx11.h:266
#7  QBasicAtomicInteger<int>::deref (this=<optimized out>, this=<optimized out>) at /usr/include/qt6/QtCore/qbasicatomic.h:48
#8  Plasma::Theme::~Theme (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libplasma-6.1.1-1.fc40.x86_64/src/plasma/theme.cpp:85
#9  0x00007f6033409a74 in PlasmaTheme::~PlasmaTheme (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libplasma-6.1.1-1.fc40.x86_64/src/declarativeimports/kirigamiplasmastyle/plasmatheme.cpp:59
#10 PlasmaTheme::~PlasmaTheme (this=<optimized out>, this=<optimized out>) at /usr/src/debug/libplasma-6.1.1-1.fc40.x86_64/src/declarativeimports/kirigamiplasmastyle/plasmatheme.cpp:59
#11 0x00007f60559f20cd in QObjectPrivate::deleteChildren (this=this@entry=0x55686d057020) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:2222
#12 0x00007f60559f7474 in QObject::~QObject (this=this@entry=0x55686df26dd0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:1172
#13 0x00007f605740887b in QQuickItem::~QQuickItem (this=this@entry=0x55686df26dd0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/quick/items/qquickitem.cpp:2426
#14 0x00007f60574542dc in QQuickImplicitSizeItem::~QQuickImplicitSizeItem (this=0x55686df26dd0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/quick/items/qquickimplicitsizeitem_p.h:24
#15 0x00007f6040d0aacb in QQuickLabel::~QQuickLabel (this=this@entry=0x55686df26dd0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/quicktemplates/qquicklabel.cpp:284
#16 0x00007f6040d81369 in QQmlPrivate::QQmlElement<QQuickLabel>::~QQmlElement (this=0x55686df26dd0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/qqmlprivate.h:100
#17 QQmlPrivate::QQmlElement<QQuickLabel>::~QQmlElement (this=0x55686df26dd0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/qqmlprivate.h:100
#18 0x00007f60559f20cd in QObjectPrivate::deleteChildren (this=this@entry=0x55686d75dbd0) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:2222
#19 0x00007f60559f7474 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:1172
#20 0x00007f603815a2ac in QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement() () from /lib64/libQt6QuickLayouts.so.6
#21 0x00007f60559f20cd in QObjectPrivate::deleteChildren (this=this@entry=0x55686e342d00) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:2222
#22 0x00007f60559f7474 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:1172
#23 0x00007f6038111dc1 in QQmlPrivate::QQmlElement<ToolTip>::~QQmlElement() () from /usr/lib64/qt6/qml/org/kde/plasma/core/libcorebindingsplugin.so
#24 0x00007f60559f20cd in QObjectPrivate::deleteChildren (this=this@entry=0x556868dc1ff0) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:2222
#25 0x00007f60559f7474 in QObject::~QObject (this=this@entry=0x7f603c0e26f0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:1172
#26 0x00007f605740887b in QQuickItem::~QQuickItem (this=this@entry=0x7f603c0e26f0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/quick/items/qquickitem.cpp:2426
#27 0x00007f6057424c86 in QQuickImplicitSizeItem::~QQuickImplicitSizeItem (this=0x7f603c0e26f0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/quick/items/qquickimplicitsizeitem_p.h:24
#28 0x00007f605765e8b1 in QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement (this=0x7f603c0e26f0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/qqmlprivate.h:100
#29 QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement (this=0x7f603c0e26f0, __in_chrg=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/qqmlprivate.h:100
#30 0x00007f60559ebbf9 in QObject::event (this=0x7f603c0e26f0, e=0x55686ee7e690) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:1437
#31 0x00007f6057f8b168 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7f603c0e26f0, e=0x55686ee7e690) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#32 0x00007f6055995b18 in QCoreApplication::notifyInternal2 (receiver=0x7f603c0e26f0, event=0x55686ee7e690) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1134
#33 0x00007f6055995d7d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1575
#34 0x00007f60559998c1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x556868897440) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1932
#35 0x00007f6055999b6d in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1789
#36 0x00007f6055c7d39f in postEventSourceDispatch (s=0x5568688c53c0) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#37 0x00007f605465ae8c in g_main_dispatch (context=0x7f603c000f00) at ../glib/gmain.c:3344
#38 g_main_context_dispatch_unlocked (context=0x7f603c000f00) at ../glib/gmain.c:4152
#39 0x00007f60546bcc98 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f603c000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#40 0x00007f605465c383 in g_main_context_iteration (context=0x7f603c000f00, may_block=1) at ../glib/gmain.c:4282
#41 0x00007f6055c7cb53 in QEventDispatcherGlib::processEvents (this=0x5568688dc000, flags=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#42 0x00007f60559a2713 in QEventLoop::exec (this=this@entry=0x7fff276a8e60, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/global/qflags.h:34
#43 0x00007f605599e69c in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/global/qflags.h:74
#44 0x00005568681ffb3a in main ()
Comment 3 Nate Graham 2024-07-03 21:07:10 UTC
Are you using a non-default Plasma style?

Does the issue ever reproduce in a new clean user account?
Comment 4 kevinleroy 2024-07-05 10:49:19 UTC
I'm not using no-plasma them.
I test with.new account this week-end
Comment 5 Bug Janitor Service 2024-07-20 03:46:29 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2024-08-04 03:46:24 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Comment 7 Nate Graham 2024-09-16 20:57:44 UTC
*** Bug 488450 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2024-09-16 20:57:50 UTC
*** Bug 492931 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2024-09-16 20:58:09 UTC
Got more reports, re-opening.
Comment 10 Nate Graham 2024-09-17 17:05:54 UTC
At least one affected person was using the default Breeze theme. If everyone else as well? Or is anyone using a third-party theme?
Comment 11 Marco Martin 2025-05-22 12:48:02 UTC
does this still happen? all bug reports seems on 6.1, and theme.cpp is changed a lot since then
Comment 12 Erik Quaeghebeur 2025-05-23 09:13:06 UTC
(In reply to Marco Martin from comment #11)
> does this still happen? all bug reports seems on 6.1, and theme.cpp is changed a lot since then
Not anymore for me. (There are generally far less plasma crashes than 6 months ago.)
Comment 13 Nate Graham 2025-05-23 20:40:47 UTC
That's great news to hear! Thanks for following up.