Bug 511172

Summary: Plasmashell crashes in KEntryMap::getEntry() when trying to load icons during/after idle time
Product: [Plasma] plasmashell Reporter: Andreas Hencke <andreas.hencke>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: 4wy78uwh, anthonyjbarricelli, fleeym, ibarona, jens-bugs.kde.org, kde, kdedev, kdelibs-bugs-null, nate, parag.lkml, postix, public
Priority: HI Keywords: drkonqi
Version First Reported In: 6.5.0   
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
drkonqi report of new todays crash 28.oct.25
plasmashell-20260108-194807-KEntryMap-getEntry.kcrash

Description Andreas Hencke 2025-10-26 17:17:55 UTC
Application: plasmashell (6.5.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.0
Frameworks Version: 6.19.0
Operating System: Linux 6.17.5-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 6.5.0 [CoredumpBackend]

-- Information about the crash:
I was away from PC. After waking the screen plasmashell was crashed.
I don't know wether related or not, but plasma-style, window decoration and symbols had been changed also.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f28d9e98a13 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007f28d9e3e410 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f28d9e2557a in __GI_abort () at abort.c:77
#9  0x00007f28d9e26613 in __libc_message_impl (fmt=fmt@entry=0x7f28d9fb4355 "%s\n") at ../sysdeps/posix/libc_fatal.c:138
#10 0x00007f28d9ea2d65 in malloc_printerr (str=str@entry=0x7f28d9fb7298 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5892
#11 0x00007f28d9ea3a8c in malloc_consolidate (av=av@entry=0x7f28da009ac0 <main_arena>) at malloc.c:4964
#12 0x00007f28d9ea5f98 in _int_malloc (av=av@entry=0x7f28da009ac0 <main_arena>, bytes=bytes@entry=5274) at malloc.c:4174
#13 0x00007f28d9ea6a59 in __libc_malloc2 (bytes=5274) at malloc.c:3458
#14 0x00007f28da85f11f 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
#15 QArrayData::allocate2 (option=QArrayData::KeepSize, dptr=<synthetic pointer>, capacity=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:212
#16 QTypedArrayData<char16_t>::allocate (capacity=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.h:139
#17 QArrayDataPointer<char16_t>::QArrayDataPointer (this=0x7ffec32bdce0, alloc=<optimized out>, n=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:58
#19 0x00007f28da86993d in QUtf8::convertToUnicode (in=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstringconverter.cpp:819
#20 QString::fromUtf8 (ba=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:6067
#21 0x00007f28dbfaa3d7 in QString::fromUtf8 (utf8=0x55633a5bbe40 "base/8x8/emblems,base/16x16/actions,base/16x16/animations,base/16x16/apps,base/16x16/categories,base/16x16/devices,base/16x16/emblems,base/16x16/emotes,base/16x16/intl,base/16x16/mimetypes,base/16x16/"..., size=<optimized out>) at /usr/include/qt6/QtCore/qbytearrayview.h:138


Reported using DrKonqi
Comment 1 Andreas Hencke 2025-10-26 17:17:56 UTC
Created attachment 186198 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Isaac Barona 2025-10-26 17:38:35 UTC
I have reported a very similar scenario (if not the same) in this issue that has been marked as duplicated:
https://bugs.kde.org/show_bug.cgi?id=511166
Comment 3 TraceyC 2025-10-27 19:17:06 UTC
Searchable backtrace


Thread 1 (Thread 0x7f28d3cde080 (LWP 1362)):
[KCrash Handler]
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f28d9e98a13 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007f28d9e3e410 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f28d9e2557a in __GI_abort () at abort.c:77
#9  0x00007f28d9e26613 in __libc_message_impl (fmt=fmt@entry=0x7f28d9fb4355 "%s\n") at ../sysdeps/posix/libc_fatal.c:138
#10 0x00007f28d9ea2d65 in malloc_printerr (str=str@entry=0x7f28d9fb7298 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5892
#11 0x00007f28d9ea3a8c in malloc_consolidate (av=av@entry=0x7f28da009ac0 <main_arena>) at malloc.c:4964
#12 0x00007f28d9ea5f98 in _int_malloc (av=av@entry=0x7f28da009ac0 <main_arena>, bytes=bytes@entry=5274) at malloc.c:4174
#13 0x00007f28d9ea6a59 in __libc_malloc2 (bytes=5274) at malloc.c:3458
#14 0x00007f28da85f11f 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
#15 QArrayData::allocate2 (option=QArrayData::KeepSize, dptr=<synthetic pointer>, capacity=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:212
#16 QTypedArrayData<char16_t>::allocate (capacity=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.h:139
#17 QArrayDataPointer<char16_t>::QArrayDataPointer (this=0x7ffec32bdce0, alloc=<optimized out>, n=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:58
#18 QString::QString(long long, Qt::Initialization) [clone .constprop.1] (this=0x7ffec32bddc0, size=2628) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:2545
#19 0x00007f28da86993d in QUtf8::convertToUnicode (in=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstringconverter.cpp:819
#20 QString::fromUtf8 (ba=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qstring.cpp:6067
#21 0x00007f28dbfaa3d7 in QString::fromUtf8 (utf8=0x55633a5bbe40 "base/8x8/emblems,base/16x16/actions,base/16x16/animations,base/16x16/apps,base/16x16/categories,base/16x16/devices,base/16x16/emblems,base/16x16/emotes,base/16x16/intl,base/16x16/mimetypes,base/16x16/"..., size=<optimized out>) at /usr/include/qt6/QtCore/qbytearrayview.h:138
#22 KEntryMap::getEntry (this=<optimized out>, group=<optimized out>, key=..., defaultValue=..., flags=..., expand=0x7ffec32bde3f) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/kconfigdata.cpp:230
#23 KConfigPrivate::lookupData (this=<optimized out>, group=<optimized out>, key=..., flags=..., expand=0x7ffec32bde3f) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/kconfig.cpp:1062
#24 0x00007f28dbfb83ca in KConfigGroup::readPathEntry (this=this@entry=0x7ffec32be020, key=key@entry=0x7f28dac715ce "Directories", aDefault=...) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/kconfiggroup.cpp:782
#25 0x00007f28dbfb8572 in KConfigGroup::readPathEntry (this=this@entry=0x7ffec32be020, key=key@entry=0x7f28dac715ce "Directories", aDefault=...) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/kconfiggroup.cpp:799
#26 0x00007f28dac6d1d4 in KIconTheme::KIconTheme (this=0x556337035710, name=<optimized out>, appName=<optimized out>, basePathHint=<optimized out>, this=<optimized out>, name=<optimized out>, appName=<optimized out>, basePathHint=<optimized out>) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kicontheme.cpp:447
#27 0x00007f28dac702b3 in KIconLoaderPrivate::initIconThemes (this=0x556337a49980) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:443
#28 0x00007f28dac58926 in KIconLoaderPrivate::initIconThemes (this=0x556337a49980) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:436
#29 KIconLoaderPrivate::init (this=0x556337a49980, _appname=<optimized out>, extraSearchPaths=<optimized out>) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:420
#30 0x00007f28dac66a7e in KIconLoader::newIconLoader (this=0x7f28500575e0) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:1502
#31 0x00007f28dac584b2 in KIconLoaderPrivate::_k_refreshIcons (this=0x556337a49980, group=5) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:376
#32 0x00007f28da7d716f in QtPrivate::QSlotObjectBase::call (this=0x55633224f4f0, r=0x7f28500575e0, a=0x7ffec32be6b0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#33 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4255
#34 0x00007f28dac621d8 in QMetaObject::activate<void, int> (sender=0x7f28dac794c0 <_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
#35 KIconLoaderGlobalData::iconChanged (this=0x7f28dac794c0 <_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
#36 KIconLoaderGlobalData::qt_static_metacall (_o=0x7f28dac794c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffec32be818) at /usr/src/debug/kiconthemes/build/src/KF6IconThemes_autogen/include/kiconloader.moc:74
#37 KIconLoaderGlobalData::qt_metacall (this=0x7f28dac794c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffec32be818) at /usr/src/debug/kiconthemes/build/src/KF6IconThemes_autogen/include/kiconloader.moc:104
#38 0x00007f28db7f9291 in QDBusConnectionPrivate::deliverCall (this=0x7f28cc0016e0, object=0x7f28dac794c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, msg=..., metaTypes=<optimized out>, slotIdx=4) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1008
#39 0x00007f28da7c4554 in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1411
#40 0x00007f28dc9020a0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7f28dac794c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, e=0x7f28cc16b410) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3307
#41 0x00007f28da76a6c8 in QCoreApplication::notifyInternal2 (receiver=0x7f28dac794c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, event=event@entry=0x7f28cc16b410) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#42 0x00007f28da76aab2 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7f28cc16b410) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55632ee85db0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1904
#44 0x00007f28daa4db18 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1757
#45 postEventSourceDispatch (s=0x55632eef8970) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#46 0x00007f28d927ef8d in g_main_dispatch (context=0x7f28cc000f60) at ../glib/glib/gmain.c:3565
#47 0x00007f28d9280657 in g_main_context_dispatch_unlocked (context=0x7f28cc000f60) at ../glib/glib/gmain.c:4425
#48 g_main_context_iterate_unlocked (context=context@entry=0x7f28cc000f60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4490
#49 0x00007f28d9280865 in g_main_context_iteration (context=0x7f28cc000f60, may_block=1) at ../glib/glib/gmain.c:4556
#50 0x00007f28daa4a9d2 in QEventDispatcherGlib::processEvents (this=0x55632efea2f0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#51 0x00007f28da775a86 in QEventLoop::processEvents (this=0x7ffec32bee80, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104
#52 QEventLoop::exec (this=0x7ffec32bee80, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186
#53 0x00007f28da76f171 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1452
#54 0x00007f28dc8fd31a in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2574
#55 0x0000556301ac42d9 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-6.5.0/shell/main.cpp:188
Comment 4 TraceyC 2025-10-27 19:25:33 UTC
(In reply to Isaac Barona from comment #2)
> I have reported a very similar scenario (if not the same) in this issue that
> has been marked as duplicated:
> https://bugs.kde.org/show_bug.cgi?id=511166

The bug that was marked a duplicate of has an entirely different backtrace. Also, the bug you linked was for a crash after entering sleep mode. This bug is about a crash after the screen went to sleep, but not the system. The bugs are unrelated.
Comment 5 Nate Graham 2025-10-27 20:16:18 UTC
Key part is here:

#21 0x00007f28dbfaa3d7 in QString::fromUtf8 (utf8=0x55633a5bbe40 "base/8x8/emblems,base/16x16/actions,base/16x16/animations,base/16x16/apps,base/16x16/categories,base/16x16/devices,base/16x16/emblems,base/16x16/emotes,base/16x16/intl,base/16x16/mimetypes,base/16x16/"..., size=<optimized out>) at /usr/include/qt6/QtCore/qbytearrayview.h:138
#22 KEntryMap::getEntry (this=<optimized out>, group=<optimized out>, key=..., defaultValue=..., flags=..., expand=0x7ffec32bde3f) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/kconfigdata.cpp:230
#23 KConfigPrivate::lookupData (this=<optimized out>, group=<optimized out>, key=..., flags=..., expand=0x7ffec32bde3f) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/kconfig.cpp:1062
#24 0x00007f28dbfb83ca in KConfigGroup::readPathEntry (this=this@entry=0x7ffec32be020, key=key@entry=0x7f28dac715ce "Directories", aDefault=...) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/kconfiggroup.cpp:782
#25 0x00007f28dbfb8572 in KConfigGroup::readPathEntry (this=this@entry=0x7ffec32be020, key=key@entry=0x7f28dac715ce "Directories", aDefault=...) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/kconfiggroup.cpp:799
#26 0x00007f28dac6d1d4 in KIconTheme::KIconTheme (this=0x556337035710, name=<optimized out>, appName=<optimized out>, basePathHint=<optimized out>, this=<optimized out>, name=<optimized out>, appName=<optimized out>, basePathHint=<optimized out>) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kicontheme.cpp:447
#27 0x00007f28dac702b3 in KIconLoaderPrivate::initIconThemes (this=0x556337a49980) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:443
#28 0x00007f28dac58926 in KIconLoaderPrivate::initIconThemes (this=0x556337a49980) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:436
#29 KIconLoaderPrivate::init (this=0x556337a49980, _appname=<optimized out>, extraSearchPaths=<optimized out>) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:420
#30 0x00007f28dac66a7e in KIconLoader::newIconLoader (this=0x7f28500575e0) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:1502
#31 0x00007f28dac584b2 in KIconLoaderPrivate::_k_refreshIcons (this=0x556337a49980, group=5) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:376

Andreas, are you using any non-default icon themes, global themes, plasma styles, etc.?
Comment 6 Andreas Hencke 2025-10-27 22:43:25 UTC
(In reply to Nate Graham from comment #5)
> Andreas, are you using any non-default icon themes, global themes, plasma
> styles, etc.?

Hi Nate, I use Oxygen for everything: global themes, plasma style, colors, window decoration, etc. Only the icon theme “Oxygen Mix” is non-default.
Comment 7 Andreas Hencke 2025-10-28 09:06:08 UTC
Created attachment 186251 [details]
drkonqi report of new todays crash 28.oct.25

I've got a new crash yet. But this time, drkonqi reports:
The crash data cannot be collected for unknown reasons. You can try again, close the window, or view the detailed information.
Comment 8 TraceyC 2025-10-28 14:58:01 UTC
(In reply to Andreas Hencke from comment #7)
> Created attachment 186251 [details]
> drkonqi report of new todays crash 28.oct.25

Don't worry about attaching a crash report every time this crashes. The backtrace we have is enough for the developers to work with. If we need more information, we'll ask.

> I've got a new crash yet. But this time, drkonqi reports:
> The crash data cannot be collected for unknown reasons. You can try again,
> close the window, or view the detailed information.

If you look at the information in the attachment you added, there seem to be some system configuration issues. For example:

> warning: Build-id of /usr/lib/libleancrypto.so.1 does not match core file.
> 
> warning: Could not load shared library symbols for /usr/lib/libleancrypto.so.1.
> Do you need "set solib-search-path" or "set sysroot"?

and
 > warning: File "/home/andreas/.cache/debuginfod_client/8edb2436db41b5ad89cd54df20c1a71beb6533a5/debuginfo" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".

Arch is a "built it yourself" distro, and so when things like this happen, users need to fix things themselves. I recommend reaching out on the Arch forums for assistance in fixing these issues, and making Dr Konqui work again.
Comment 9 Nate Graham 2025-10-29 17:00:25 UTC
Looks very very similar to Bug 506642, but it's not exactly the same.
Comment 10 Nate Graham 2025-10-30 16:36:25 UTC
*** Bug 511383 has been marked as a duplicate of this bug. ***
Comment 11 Parag W 2025-10-31 16:52:33 UTC
Shouldn't this
| #24 0x00007f28dbfb83ca in KConfigGroup::readPathEntry

just be KConfigGroup::readEntry()  given what the contents look like in 

|#21 0x00007f28dbfaa3d7 in QString::fromUtf8 (utf8=0x55633a5bbe40 "base/8x8/emblems,base/16x16/actions,base/16x16/

I made the change and tested it - haven't been able to trigger any problems but I am not sure this bug was always reproducible or not to others - it's sporadic for me.
Comment 12 TraceyC 2025-11-21 20:33:48 UTC
*** Bug 512175 has been marked as a duplicate of this bug. ***
Comment 13 TraceyC 2025-11-21 20:34:47 UTC
Another potential way of reproducing, copied from the duplicate:

---
I'm getting a somewhat consistent crash in plasmashell when unlocking my screen using a fingerprint when returning from sleep. I couldn't get the crash to happen when unlocking with my password, only with my fingerprint. The crash doesn't happen on every unlock, once every 2 unlocks or so.

STEPS TO REPRODUCE
1. Close the laptop lid, the system goes to S2 sleep
2. Open the laptop lid
3. Login using the fingerprint scanner
4. Click the "Unlock" button
---
Comment 14 Nate Graham 2025-12-11 17:07:00 UTC
*** Bug 513224 has been marked as a duplicate of this bug. ***
Comment 15 Andrew Rembrandt 2025-12-19 08:19:16 UTC
Hi all

I've only had this crash 3 times now (in the past week): twice on resume from hibernate, and once on disconnecting my laptop from the usb charging cable.

Interesting to note the mention of the Oxygen theme above - I have Breeze Twilight/Dark set to auto-switch day/night, but have maybe 3 times manually changed just the colour theme to Norway during the daytime: https://store.kde.org/p/1311268

Will try to repro
Comment 16 Jens 2026-01-03 18:40:08 UTC
I am getting a very similar crash, consistently, whenever I lock my screen and turn my monitors off. System does not sleep during this time.
This is on a freshly installed KDE Neon with almost all default settings, except for autoswitching to dark mode on sunset.

Is there a workaround while this is being investigated, such as not using a specific icon theme or desktop feature?

Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.14.0-37-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 8945HS w/ Radeon 780M Graphics
Memory: 32 GiB of RAM (30.6 GiB usable)
Graphics Processor: AMD Radeon 780M Graphics
Manufacturer: GEEKOM
Product Name: A8 MAX


~$ coredumpctl debug 51322
           PID: 51322 (plasmashell)
           UID: 1000 (jens)
           GID: 1000 (jens)
        Signal: 6 (ABRT)
     Timestamp: Sat 2026-01-03 19:13:36 CET (25min ago)
  Command Line: /usr/bin/plasmashell --no-respawn
    Executable: /usr/bin/plasmashell
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service
          Unit: user@1000.service
     User Unit: plasma-plasmashell.service
         Slice: user-1000.slice
     Owner UID: 1000 (jens)
       Boot ID: xxx
    Machine ID: xxx
      Hostname: LinuxMini
       Storage: /var/lib/systemd/coredump/core.plasmashell.1000.368aae7230ed4eca9449756523306acd.51322.1767464016000000.zst (present)
  Size on Disk: 50.5M
       Message: Process 51322 (plasmashell) of user 1000 dumped core.

(...)

(gdb) bt 40
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x000072ce6ac4527e in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#4  0x000072ce6e0e15f6 in KCrash::defaultCrashHandler (sig=6)
    at /usr/src/kf6-kcrash-6.21.0-0zneon+24.04+noble+release+build28/src/kcrash.cpp:605
#5  <signal handler called>
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x000072ce6ac4527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x000072ce6ac288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x000072ce6ac297b6 in __libc_message_impl (fmt=fmt@entry=0x72ce6adce8d7 "%s\n") at ../sysdeps/posix/libc_fatal.c:134
#12 0x000072ce6aca8ff5 in malloc_printerr (
    str=str@entry=0x72ce6add18a0 "malloc_consolidate(): unaligned fastbin chunk detected") at ./malloc/malloc.c:5772
#13 0x000072ce6aca9d4c in malloc_consolidate (av=av@entry=0x72ce6ae03ac0 <main_arena>) at ./malloc/malloc.c:4846
#14 0x000072ce6acaba90 in _int_malloc (av=av@entry=0x72ce6ae03ac0 <main_arena>, bytes=bytes@entry=20168)
    at ./malloc/malloc.c:4041
#15 0x000072ce6acad6f4 in __GI___libc_malloc (bytes=20168) at ./malloc/malloc.c:3336
#16 0x000072ce6b7f8380 in allocateHelper (option=<optimized out>, capacity=20150, alignment=16, objectSize=1, 
    dptr=0x7ffc53021dc0) at /usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build144/src/corelib/tools/qarraydata.cpp:178
#17 QArrayData::allocate1 (dptr=0x7ffc53021dc0, capacity=<optimized out>, option=<optimized out>)
    at /usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build144/src/corelib/tools/qarraydata.cpp:205
#18 0x000072ce6b7b7a26 in QTypedArrayData<char>::allocate (option=QArrayData::KeepSize, capacity=20150)
    at /usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build144/src/corelib/tools/qarraydata.h:129
#19 QArrayDataPointer<char>::QArrayDataPointer (option=QArrayData::KeepSize, n=20150, alloc=20150, this=<optimized out>)
    at /usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build144/src/corelib/tools/qarraydatapointer.h:58
#20 QByteArray::QByteArray (this=<optimized out>, size=<optimized out>, this=<optimized out>, size=<optimized out>)
    at /usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build144/src/corelib/text/qbytearray.cpp:1880
#21 0x000072ce6d46f82d in KConfigIniBackend::parseConfig (this=0x5e59a471d6a0, currentLocale=..., entryMap=..., options=..., 
    merging=false) at /usr/src/kf6-kconfig-6.21.0-0zneon+24.04+noble+release+build22/src/core/kconfigini.cpp:91
#22 0x000072ce6d45e2b9 in KConfigIniBackend::parseConfig (options=..., entryMap=..., currentLocale=..., this=<optimized out>)
    at /usr/src/kf6-kconfig-6.21.0-0zneon+24.04+noble+release+build22/src/core/kconfigini.cpp:48
#23 KConfigPrivate::parseConfigFiles (this=0x5e59a471d690)
    at /usr/src/kf6-kconfig-6.21.0-0zneon+24.04+noble+release+build22/src/core/kconfig.cpp:826
#24 0x000072ce6d46e457 in KSharedConfig::KSharedConfig (resType=QStandardPaths::GenericConfigLocation, flags=..., 
    fileName=..., this=0x5e59a7339a00)
    at /usr/src/kf6-kconfig-6.21.0-0zneon+24.04+noble+release+build22/src/core/ksharedconfig.cpp:173
#25 KSharedConfig::openConfig (_fileName=..., flags=flags@entry=..., 
    resType=resType@entry=QStandardPaths::GenericConfigLocation)
    at /usr/src/kf6-kconfig-6.21.0-0zneon+24.04+noble+release+build22/src/core/ksharedconfig.cpp:141
#26 0x000072ce6ba4532a in KIconTheme::KIconTheme (this=<optimized out>, name=..., appName=..., basePathHint=..., 
    this=<optimized out>, name=..., appName=..., basePathHint=...)
    at /usr/src/kf6-kiconthemes-6.21.0-0zneon+24.04+noble+release+build49/src/kicontheme.cpp:419
#27 0x000072ce6ba47b94 in KIconLoaderPrivate::initIconThemes (this=0x5e599fcb1910)
    at /usr/src/kf6-kiconthemes-6.21.0-0zneon+24.04+noble+release+build49/src/kiconloader.cpp:443
#28 0x000072ce6ba31721 in KIconLoaderPrivate::initIconThemes (this=0x5e599fcb1910)
    at /usr/src/kf6-kiconthemes-6.21.0-0zneon+24.04+noble+release+build49/src/kiconloader.cpp:436
#29 KIconLoaderPrivate::init (this=0x5e599fcb1910, _appname=..., extraSearchPaths=...)
    at /usr/src/kf6-kiconthemes-6.21.0-0zneon+24.04+noble+release+build49/src/kiconloader.cpp:420
#30 0x000072ce6ba3dacf in KIconLoader::newIconLoader (this=0x72ce6448db88)
    at /usr/src/kf6-kiconthemes-6.21.0-0zneon+24.04+noble+release+build49/src/kiconloader.cpp:1502
#31 0x000072ce6ba3210c in KIconLoaderPrivate::_k_refreshIcons (this=0x5e599fcb1910, group=4)
    at /usr/src/kf6-kiconthemes-6.21.0-0zneon+24.04+noble+release+build49/src/kiconloader.cpp:376
#32 0x000072ce6b89fc89 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, 
    this=<optimized out>, r=<optimized out>, a=<optimized out>)
    at /usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build144/src/corelib/kernel/qobjectdefs_impl.h:461
#33 doActivate<false> (
    sender=0x72ce6ba55e40 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, signal_index=3, argv=0x7ffc53022a80)
    at /usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build144/src/corelib/kernel/qobject.cpp:4257
#34 0x000072ce6ba38e02 in QMetaObject::activate<void, int> (ret=0x0, local_signal_index=0, mo=<optimized out>, 
    sender=0x72ce6ba55e40 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs.h:319
#35 KIconLoaderGlobalData::iconChanged (_t1=<optimized out>, 
    this=0x72ce6ba55e40 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>)
    at /usr/src/kf6-kiconthemes-6.21.0-0zneon+24.04+noble+release+build49/obj-x86_64-linux-gnu/src/KF6IconThemes_autogen/include--Type <RET> for more, q to quit, c to continue without paging--
/kiconloader.moc:118
#36 KIconLoaderGlobalData::qt_static_metacall (_a=0x7ffc53022c18, _id=0, _c=QMetaObject::InvokeMetaMethod, 
    _o=0x72ce6ba55e40 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>)
    at /usr/src/kf6-kiconthemes-6.21.0-0zneon+24.04+noble+release+build49/obj-x86_64-linux-gnu/src/KF6IconThemes_autogen/include/kiconloader.moc:74
#37 KIconLoaderGlobalData::qt_metacall (
    this=0x72ce6ba55e40 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffc53022c18)
    at /usr/src/kf6-kiconthemes-6.21.0-0zneon+24.04+noble+release+build49/obj-x86_64-linux-gnu/src/KF6IconThemes_autogen/include/kiconloader.moc:104
#38 0x000072ce6bb9552c in QDBusConnectionPrivate::deliverCall (this=0x72ce5c001650, 
    object=0x72ce6ba55e40 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, msg=..., metaTypes=..., slotIdx=4)
    at /usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build144/src/dbus/qdbusintegrator.cpp:1008
#39 0x000072ce6b832e10 in QObject::event (
    this=0x72ce6ba55e40 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>, e=0x72ce5c06c380)
    at /usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build144/src/corelib/kernel/qobject.cpp:1413
Comment 17 Andrew Rembrandt 2026-01-09 07:48:13 UTC
Created attachment 188345 [details]
plasmashell-20260108-194807-KEntryMap-getEntry.kcrash

Hi KDE QA,
I just managed to repro this crash in Plasma 6.5.4 - still not sure what causes it...
Fleeym's description in the dupe Bug 512175 of unlocking from s2sleep with fingerprint is also what I always do, perhaps that's a connection.
I also have the Automatic Switch from Day to Night theme enabled, and this crash occurred during the switch from Night to Day (while resuming from suspend).
Many thanks for the great work on KDE!
Andrew
Comment 18 TraceyC 2026-01-09 15:13:41 UTC
*** Bug 514353 has been marked as a duplicate of this bug. ***
Comment 19 David Edmundson 2026-01-09 17:24:34 UTC

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