Bug 513224 - Plasmashell crashes on resume from hibernate
Summary: Plasmashell crashes on resume from hibernate
Status: RESOLVED DUPLICATE of bug 511172
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.5.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-12-11 16:38 UTC by Andrew Rembrandt
Modified: 2025-12-11 17:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (195.98 KB, text/plain)
2025-12-11 16:38 UTC, Andrew Rembrandt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Rembrandt 2025-12-11 16:38:32 UTC
Application: plasmashell (6.5.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.1
Frameworks Version: 6.20.0
Operating System: Linux 6.18.0-xanmod1-1-edge-x64v3 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.5.4 [CoredumpBackend]

-- Information about the crash:
Hi KDE QA/Devs,
Since Plasma 6.5.3 (and now 6.5.4), I've noticed plasmashell crashes everytime I resume from hibernate. In this case, I connected an external monitor during the resume (which wasn't there while hibernating to disk).

Note that the stack traces were detected as not useful by Dr Konqi/Crash Handler in 6.5.3 (it looked like a crash in a background polling thread with no real code being executed), whereas in 6.5.4 we have something useful on the failing thread this time.

Happy to try to repro more / test etc etc

Many thanks for the fixes & hard work!
Andrew
(P.S This was on a Dell XPS 9520 laptop with integrated intel graphics - Alder Lake-P GT2)

The crash can be reproduced every time.

-- Backtrace (Reduced):
#4  __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=<optimized out>) at pthread_kill.c:44
#5  0x00007f4562a3e3a0 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#6  0x00007f4562a2557a in __GI_abort () at abort.c:77
#7  0x00007f4562a26613 in __libc_message_impl (fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:138
#8  0x00007f4562aa2d25 in malloc_printerr (str=str@entry=0x7f4562bb6298 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5892
#9  0x00007f4562aa3a4c in malloc_consolidate (av=av@entry=0x7f4562c08ac0 <main_arena>) at malloc.c:4964
#10 0x00007f4562aa5f58 in _int_malloc (av=av@entry=0x7f4562c08ac0 <main_arena>, bytes=bytes@entry=1064) at malloc.c:4174
#11 0x00007f4562aa6a19 in __libc_malloc2 (bytes=1064) at malloc.c:3458
#12 0x00007f456345e09f in allocateHelper (dptr=<synthetic pointer>, objectSize=2, alignment=16, capacity=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:178
#13 QArrayData::allocate2 (option=QArrayData::KeepSize, dptr=<synthetic pointer>, capacity=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:212
#14 QTypedArrayData<char16_t>::allocate (capacity=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.h:139
#15 QArrayDataPointer<char16_t>::QArrayDataPointer (this=0x7ffd61040aa0, alloc=<optimized out>, n=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:58
#17 0x00007f4563468dbd in QUtf8::convertToUnicode (in=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstringconverter.cpp:819
#18 QString::fromUtf8 (ba=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:6065
#19 0x00007f456548a097 in QString::fromUtf8 (utf8=0x559f3c3aa1f0 "actions/16@2x,actions/16@3x,actions/22@2x,actions/22@3x,actions/24@2x,actions/24@3x,actions/32@2x,actions/32@3x,animations/16@2x,animations/16@3x,apps/16@2x,apps/16@3x,apps/22@2x,apps/22@3x,devices/16"..., size=<optimized out>) at /usr/include/qt6/QtCore/qbytearrayview.h:138
#20 KEntryMap::getEntry (this=<optimized out>, group=..., key=..., defaultValue=..., flags=..., expand=0x7ffd61040bff) at /usr/src/debug/kconfig/kconfig-6.20.0/src/core/kconfigdata.cpp:230


Reported using DrKonqi
Comment 1 Andrew Rembrandt 2025-12-11 16:38:33 UTC
Created attachment 187525 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2025-12-11 17:06:32 UTC
Full trace:

Thread 1 (Thread 0x7f455c8f2080 (LWP 2152)):
[KCrash Handler]
#4  __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=<optimized out>) at pthread_kill.c:44
#5  0x00007f4562a3e3a0 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#6  0x00007f4562a2557a in __GI_abort () at abort.c:77
#7  0x00007f4562a26613 in __libc_message_impl (fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:138
#8  0x00007f4562aa2d25 in malloc_printerr (str=str@entry=0x7f4562bb6298 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5892
#9  0x00007f4562aa3a4c in malloc_consolidate (av=av@entry=0x7f4562c08ac0 <main_arena>) at malloc.c:4964
#10 0x00007f4562aa5f58 in _int_malloc (av=av@entry=0x7f4562c08ac0 <main_arena>, bytes=bytes@entry=1064) at malloc.c:4174
#11 0x00007f4562aa6a19 in __libc_malloc2 (bytes=1064) at malloc.c:3458
#12 0x00007f456345e09f in allocateHelper (dptr=<synthetic pointer>, objectSize=2, alignment=16, capacity=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:178
#13 QArrayData::allocate2 (option=QArrayData::KeepSize, dptr=<synthetic pointer>, capacity=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:212
#14 QTypedArrayData<char16_t>::allocate (capacity=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.h:139
#15 QArrayDataPointer<char16_t>::QArrayDataPointer (this=0x7ffd61040aa0, alloc=<optimized out>, n=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:58
#16 QString::QString(long long, Qt::Initialization) [clone .constprop.1] (this=0x7ffd61040b80, size=523) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:2543
#17 0x00007f4563468dbd in QUtf8::convertToUnicode (in=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstringconverter.cpp:819
#18 QString::fromUtf8 (ba=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:6065
#19 0x00007f456548a097 in QString::fromUtf8 (utf8=0x559f3c3aa1f0 "actions/16@2x,actions/16@3x,actions/22@2x,actions/22@3x,actions/24@2x,actions/24@3x,actions/32@2x,actions/32@3x,animations/16@2x,animations/16@3x,apps/16@2x,apps/16@3x,apps/22@2x,apps/22@3x,devices/16"..., size=<optimized out>) at /usr/include/qt6/QtCore/qbytearrayview.h:138
#20 KEntryMap::getEntry (this=<optimized out>, group=..., key=..., defaultValue=..., flags=..., expand=0x7ffd61040bff) at /usr/src/debug/kconfig/kconfig-6.20.0/src/core/kconfigdata.cpp:230
#21 KConfigPrivate::lookupData (this=<optimized out>, group=..., key=..., flags=..., expand=0x7ffd61040bff) at /usr/src/debug/kconfig/kconfig-6.20.0/src/core/kconfig.cpp:1062
#22 0x00007f456549850a in KConfigGroup::readPathEntry (this=this@entry=0x7ffd61040de0, key=key@entry=0x7f456535b5c8 "ScaledDirectories", aDefault=...) at /usr/src/debug/kconfig/kconfig-6.20.0/src/core/kconfiggroup.cpp:782
#23 0x00007f45654986b2 in KConfigGroup::readPathEntry (this=this@entry=0x7ffd61040de0, key=key@entry=0x7f456535b5c8 "ScaledDirectories", aDefault=...) at /usr/src/debug/kconfig/kconfig-6.20.0/src/core/kconfiggroup.cpp:799
#24 0x00007f4565356e4f in KIconTheme::KIconTheme (this=<optimized out>, name=..., appName=..., basePathHint=..., this=<optimized out>, name=..., appName=..., basePathHint=...) at /usr/src/debug/kiconthemes/kiconthemes-6.20.0/src/kicontheme.cpp:442
#25 0x00007f4565359f83 in KIconLoaderPrivate::initIconThemes (this=0x559f3f4d5d70) at /usr/src/debug/kiconthemes/kiconthemes-6.20.0/src/kiconloader.cpp:443
#26 0x00007f45653425b6 in KIconLoaderPrivate::initIconThemes (this=0x559f3f4d5d70) at /usr/src/debug/kiconthemes/kiconthemes-6.20.0/src/kiconloader.cpp:436
#27 KIconLoaderPrivate::init (this=0x559f3f4d5d70, _appname=..., extraSearchPaths=...) at /usr/src/debug/kiconthemes/kiconthemes-6.20.0/src/kiconloader.cpp:420
#28 0x00007f4565350efe in KIconLoader::newIconLoader (this=0x559f40e2a370) at /usr/src/debug/kiconthemes/kiconthemes-6.20.0/src/kiconloader.cpp:1502
#29 0x00007f4565342142 in KIconLoaderPrivate::_k_refreshIcons (this=0x559f3f4d5d70, group=2) at /usr/src/debug/kiconthemes/kiconthemes-6.20.0/src/kiconloader.cpp:376
#30 0x00007f45633d734f in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#31 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4257
#32 0x00007f456534c648 in QMetaObject::activate<void, int> (sender=0x7f45653634c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, mo=<optimized out>, local_signal_index=0, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:319
#33 KIconLoaderGlobalData::iconChanged (this=0x7f45653634c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, _t1=<optimized out>) at /usr/src/debug/kiconthemes/build/src/KF6IconThemes_autogen/include/kiconloader.moc:118
#34 KIconLoaderGlobalData::qt_static_metacall (_o=0x7f45653634c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffd610415d8) at /usr/src/debug/kiconthemes/build/src/KF6IconThemes_autogen/include/kiconloader.moc:74
#35 KIconLoaderGlobalData::qt_metacall (this=0x7f45653634c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffd610415d8) at /usr/src/debug/kiconthemes/build/src/KF6IconThemes_autogen/include/kiconloader.moc:104
#36 0x00007f4564477b71 in QDBusConnectionPrivate::deliverCall (this=0x7f45540016e0, object=0x7f45653634c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, msg=..., metaTypes=..., slotIdx=4) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1008
#37 0x00007f45633c4994 in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1413
#38 0x00007f45657021c0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7f45653634c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, e=0x7f45540ce440) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#39 0x00007f456336a958 in QCoreApplication::notifyInternal2 (receiver=0x7f45653634c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, event=event@entry=0x7f45540ce440) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#40 0x00007f456336ad30 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7f45540ce440) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x559f3c34fdb0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1904
#42 0x00007f456364ae18 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1757
#43 postEventSourceDispatch (s=0x559f3c358330) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#44 0x00007f4561fe0f8d in g_main_dispatch (context=0x7f4554000f60) at ../glib/glib/gmain.c:3565
#45 0x00007f4561fe2657 in g_main_context_dispatch_unlocked (context=0x7f4554000f60) at ../glib/glib/gmain.c:4425
#46 g_main_context_iterate_unlocked (context=context@entry=0x7f4554000f60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4490
#47 0x00007f4561fe2865 in g_main_context_iteration (context=0x7f4554000f60, may_block=1) at ../glib/glib/gmain.c:4556
#48 0x00007f4563648152 in QEventDispatcherGlib::processEvents (this=0x559f3c357c40, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#49 0x00007f4563375786 in QEventLoop::processEvents (this=0x7ffd61041c40, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#50 QEventLoop::exec (this=0x7ffd61041c40, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#51 0x00007f456336f3f1 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#52 0x0000559f3ab262d9 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.5.4/shell/main.cpp:188
Comment 3 Nate Graham 2025-12-11 17:07:00 UTC

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