Bug 488450 - Plasma sometimes crashes in Plasma::Theme::~Theme() after interacting with panel contents
Summary: Plasma sometimes crashes in Plasma::Theme::~Theme() after interacting with pa...
Status: RESOLVED DUPLICATE of bug 489682
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.0.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-06-13 12:53 UTC by Gabriel Barros
Modified: 2024-09-16 20:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.1.0
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (189.68 KB, text/plain)
2024-06-13 12:53 UTC, Gabriel Barros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Barros 2024-06-13 12:53:55 UTC
Application: plasmashell (6.0.5)

Qt Version: 6.7.1
Frameworks Version: 6.3.0
Operating System: Linux 6.9.3-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.0.5 [CoredumpBackend]

-- Information about the crash:
I did not notice if widgets like "system monitor" stop updating, but sometimes the panel will crash as soon as I interact with it after long runtimes.

usually this happens when the system is left online overnight. Then mousing over the panel is already enough to cause this crash.

The crash does not seem to be reproducible.

-- Backtrace (Reduced):
#5  std::__atomic_base<int>::fetch_sub (this=0xdff0001c40, __i=1, __m=std::memory_order::acq_rel, this=<optimized out>, __i=<optimized out>, __m=<optimized out>) at /usr/include/c++/14.1.1/bits/atomic_base.h:639
#6  QAtomicOps<int>::deref<int> (_q_value=<error reading variable: Cannot access memory at address 0xdff0001c40>, _q_value=<optimized out>) at /usr/include/qt6/QtCore/qatomic_cxx11.h:266
[...]
#8  Plasma::Theme::~Theme (this=this@entry=0x641464d550d8, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.0.5/src/plasma/theme.cpp:85
#9  0x00007adff5025d25 in PlasmaTheme::~PlasmaTheme (this=0x641464d550c0, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.0.5/src/declarativeimports/kirigamiplasmastyle/plasmatheme.cpp:58
#10 PlasmaTheme::~PlasmaTheme (this=0x641464d550c0, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.0.5/src/declarativeimports/kirigamiplasmastyle/plasmatheme.cpp:58


Reported using DrKonqi
Comment 1 Gabriel Barros 2024-06-13 12:53:58 UTC
Created attachment 170467 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-06-13 19:31:06 UTC
Thread 1 (Thread 0x7ae0002cda00 (LWP 1125)):
[KCrash Handler]
#5  std::__atomic_base<int>::fetch_sub (this=0xdff0001c40, __i=1, __m=std::memory_order::acq_rel, this=<optimized out>, __i=<optimized out>, __m=<optimized out>) at /usr/include/c++/14.1.1/bits/atomic_base.h:639
#6  QAtomicOps<int>::deref<int> (_q_value=<error reading variable: Cannot access memory at address 0xdff0001c40>, _q_value=<optimized out>) at /usr/include/qt6/QtCore/qatomic_cxx11.h:266
#7  QBasicAtomicInteger<int>::deref (this=0xdff0001c40, this=<optimized out>) at /usr/include/qt6/QtCore/qbasicatomic.h:48
#8  Plasma::Theme::~Theme (this=this@entry=0x641464d550d8, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.0.5/src/plasma/theme.cpp:85
#9  0x00007adff5025d25 in PlasmaTheme::~PlasmaTheme (this=0x641464d550c0, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.0.5/src/declarativeimports/kirigamiplasmastyle/plasmatheme.cpp:58
#10 PlasmaTheme::~PlasmaTheme (this=0x641464d550c0, this=<optimized out>) at /usr/src/debug/libplasma/libplasma-6.0.5/src/declarativeimports/kirigamiplasmastyle/plasmatheme.cpp:58
#11 0x00007ae00678aebb in QObjectPrivate::deleteChildren (this=this@entry=0x641466a7d6f0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2222
#12 0x00007ae006790e78 in QObject::~QObject (this=this@entry=0x6414662f71f0, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1172
#13 0x00007ae007f8fe07 in QQuickItem::~QQuickItem (this=this@entry=0x6414662f71f0, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:2426
#14 0x00007adffd023c49 in KSvg::FrameSvgItem::~FrameSvgItem (this=this@entry=0x6414662f71f0, this=<optimized out>) at /usr/src/debug/ksvg/ksvg-6.3.0/src/declarativeimports/framesvgitem.cpp:300
#15 0x00007adffd023d62 in QQmlPrivate::QQmlElement<KSvg::FrameSvgItem>::~QQmlElement (this=0x6414662f71f0, this=<optimized out>) at /usr/include/qt6/QtQml/qqmlprivate.h:100
#16 QQmlPrivate::QQmlElement<KSvg::FrameSvgItem>::~QQmlElement (this=0x6414662f71f0, this=<optimized out>) at /usr/include/qt6/QtQml/qqmlprivate.h:100
#17 0x00007ae00678aebb in QObjectPrivate::deleteChildren (this=this@entry=0x641462857440) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:2222
#18 0x00007ae006790e78 in QObject::~QObject (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1172
#19 0x00007ae0081d6732 in QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x6414662f5020, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlprivate.h:100
#20 QQmlPrivate::QQmlElement<QQuickItem>::~QQmlElement (this=0x6414662f5020, this=<optimized out>) at /usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlprivate.h:100
#21 0x00007ae00678befa in qDeleteInEventHandler (o=0x6414662f5020) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:5001
#22 QObject::event (this=0x6414662f5020, e=0x641467441fe0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1437
#23 0x00007ae0086fc55c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x6414662f5020, e=0x641467441fe0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#24 0x00007ae006744e38 in QCoreApplication::notifyInternal2 (receiver=0x6414662f5020, event=event@entry=0x641467441fe0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#25 0x00007ae0067451fb in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x641467441fe0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1583
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x641461754ba0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1940
#27 0x00007ae0069a460c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1797
#28 postEventSourceDispatch (s=0x6414617845a0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#29 0x00007ae0052f4a89 in ??? () at /usr/lib/libglib-2.0.so.0
#30 0x00007ae0053569b7 in ??? () at /usr/lib/libglib-2.0.so.0
#31 0x00007ae0052f3f95 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#32 0x00007ae0069a28dd in QEventDispatcherGlib::processEvents (this=0x641461797f30, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#33 0x00007ae00674f10e in QEventLoop::processEvents (this=0x7fff88e72820, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#34 QEventLoop::exec (this=0x7fff88e72820, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#35 0x00007ae00674945d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#36 0x00007ae0086f83fa in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555
#37 0x000064145187d2a3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.0.5.1/shell/main.cpp:214
Comment 3 Nate Graham 2024-06-13 19:31:32 UTC
Are you by any chance using a non-default Plasma theme? If so, can you switch back to Breeze and see if the crash goes away?
Comment 4 Bug Janitor Service 2024-06-28 03:47:46 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 5 Gabriel Barros 2024-06-29 13:48:59 UTC
It was always default plasma themes, i believe only Fonts were ever changed from the default install (as provided by the arch packages)

But, since 6.1 these went away. I guess it's "fixed"?
Comment 6 Nate Graham 2024-07-10 20:18:15 UTC
Cool, let's call it fixed until it happens again.
Comment 7 Nate Graham 2024-09-16 20:57:44 UTC

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