Bug 511613

Summary: Plasma crashed when auto switching day/night theme
Product: [Plasma] plasmashell Reporter: DeepChirp <DeepChirp>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdedev
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.5.1   
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

Description DeepChirp 2025-11-04 12:10:30 UTC
Application: plasmashell (6.5.1)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.0
Frameworks Version: 6.19.0
Operating System: Linux 6.17.7-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.5.1 [CoredumpBackend]

-- Information about the crash:
I’m currently using the automatic day–night theme switching. Plasma may crash when the theme switches automatically. I’m sorry I can’t provide more information, as I’m unable to reproduce the issue reliably.

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  0x00007fe604e98a13 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007fe604e3e410 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fe604e2557a in __GI_abort () at abort.c:77
#9  0x00007fe604e26613 in __libc_message_impl (fmt=fmt@entry=0x7fe604fb4355 "%s\n") at ../sysdeps/posix/libc_fatal.c:138
#10 0x00007fe604ea2d65 in malloc_printerr (str=str@entry=0x7fe604fb7298 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5892
#11 0x00007fe604ea3a8c in malloc_consolidate (av=av@entry=0x7fe605009ac0 <main_arena>) at malloc.c:4964
#12 0x00007fe604ea5f98 in _int_malloc (av=av@entry=0x7fe605009ac0 <main_arena>, bytes=bytes@entry=32768) at malloc.c:4174
#13 0x00007fe604ea6a59 in __libc_malloc2 (bytes=32768) at malloc.c:3458
#14 0x00007fe6058342df in allocateHelper (dptr=<synthetic pointer>, objectSize=1, alignment=16, capacity=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:178
#15 QArrayData::allocate1 (dptr=<synthetic pointer>, capacity=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:205
#16 QTypedArrayData<char>::allocate (capacity=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.h:136
#17 QArrayDataPointer<char>::QArrayDataPointer (this=0x7ffd6e857bc0, alloc=<optimized out>, n=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:58
#18 QByteArray::reallocData (this=this@entry=0x7ffd6e857d70, alloc=alloc@entry=20150, option=option@entry=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:1993
#19 0x00007fe60583451b in QByteArray::resize (this=0x7ffd6e857d70, size=20150) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:1917
#20 0x00007fe605730a38 in QIODevice::readAll (this=this@entry=0x7ffd6e857d00) at /usr/src/debug/qt6-base/qtbase/src/corelib/io/qiodevice.cpp:1273
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007fe604e98a13 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007fe604e3e410 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fe604e2557a in __GI_abort () at abort.c:77
#9  0x00007fe604e26613 in __libc_message_impl (fmt=fmt@entry=0x7fe604fb4355 "%s\n") at ../sysdeps/posix/libc_fatal.c:138
#10 0x00007fe604ea2d65 in malloc_printerr (str=str@entry=0x7fe604fb7298 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5892
#11 0x00007fe604ea3a8c in malloc_consolidate (av=av@entry=0x7fe605009ac0 <main_arena>) at malloc.c:4964
#12 0x00007fe604ea5f98 in _int_malloc (av=av@entry=0x7fe605009ac0 <main_arena>, bytes=bytes@entry=32768) at malloc.c:4174
#13 0x00007fe604ea6a59 in __libc_malloc2 (bytes=32768) at malloc.c:3458
#14 0x00007fe6058342df in allocateHelper (dptr=<synthetic pointer>, objectSize=1, alignment=16, capacity=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:178
#15 QArrayData::allocate1 (dptr=<synthetic pointer>, capacity=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:205
#16 QTypedArrayData<char>::allocate (capacity=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.h:136
#17 QArrayDataPointer<char>::QArrayDataPointer (this=0x7ffd6e857bc0, alloc=<optimized out>, n=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:58
#18 QByteArray::reallocData (this=this@entry=0x7ffd6e857d70, alloc=alloc@entry=20150, option=option@entry=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:1993
#19 0x00007fe60583451b in QByteArray::resize (this=0x7ffd6e857d70, size=20150) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:1917
#20 0x00007fe605730a38 in QIODevice::readAll (this=this@entry=0x7ffd6e857d00) at /usr/src/debug/qt6-base/qtbase/src/corelib/io/qiodevice.cpp:1273


Reported using DrKonqi
Comment 1 DeepChirp 2025-11-04 12:15:25 UTC
*** Bug 511614 has been marked as a duplicate of this bug. ***
Comment 2 TraceyC 2025-11-04 22:12:39 UTC
The backtrace looks to be in Qt, possibly memory related.
Comment 3 DeepChirp 2025-11-05 04:06:17 UTC
Created attachment 186509 [details]
New crash information added by DrKonqi
Comment 4 TraceyC 2025-11-05 17:17:38 UTC
There is some KDE related code in the more complete backtrace

Thread 1 (Thread 0x7fe5fee0b080 (LWP 1762)):
[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  0x00007fe604e98a13 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#7  0x00007fe604e3e410 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fe604e2557a in __GI_abort () at abort.c:77
#9  0x00007fe604e26613 in __libc_message_impl (fmt=fmt@entry=0x7fe604fb4355 "%s\n") at ../sysdeps/posix/libc_fatal.c:138
#10 0x00007fe604ea2d65 in malloc_printerr (str=str@entry=0x7fe604fb7298 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5892
#11 0x00007fe604ea3a8c in malloc_consolidate (av=av@entry=0x7fe605009ac0 <main_arena>) at malloc.c:4964
#12 0x00007fe604ea5f98 in _int_malloc (av=av@entry=0x7fe605009ac0 <main_arena>, bytes=bytes@entry=32768) at malloc.c:4174
#13 0x00007fe604ea6a59 in __libc_malloc2 (bytes=32768) at malloc.c:3458
#14 0x00007fe6058342df in allocateHelper (dptr=<synthetic pointer>, objectSize=1, alignment=16, capacity=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:178
#15 QArrayData::allocate1 (dptr=<synthetic pointer>, capacity=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:205
#16 QTypedArrayData<char>::allocate (capacity=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.h:136
#17 QArrayDataPointer<char>::QArrayDataPointer (this=0x7ffd6e857bc0, alloc=<optimized out>, n=<optimized out>, option=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:58
#18 QByteArray::reallocData (this=this@entry=0x7ffd6e857d70, alloc=alloc@entry=20150, option=option@entry=QArrayData::Grow) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:1993
#19 0x00007fe60583451b in QByteArray::resize (this=0x7ffd6e857d70, size=20150) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:1917
#20 0x00007fe605730a38 in QIODevice::readAll (this=this@entry=0x7ffd6e857d00) at /usr/src/debug/qt6-base/qtbase/src/corelib/io/qiodevice.cpp:1273
#21 0x00007fe60786cd98 in KConfigIniBackend::parseConfig (this=<optimized out>, currentLocale=..., entryMap=..., options=..., merging=false) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/kconfigini.cpp:83
#22 0x00007fe60784fe3f in KConfigIniBackend::parseConfig (this=<optimized out>, currentLocale=..., entryMap=..., options=...) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/kconfigini.cpp:58
#23 KConfigPrivate::parseConfigFiles (this=0x55cd6c18fa00) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/kconfig.cpp:826
#24 0x00007fe607870884 in KSharedConfig::KSharedConfig (this=0x55cd6884d220, fileName=..., flags=..., resType=QStandardPaths::GenericConfigLocation) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/ksharedconfig.cpp:173
#25 KSharedConfig::openConfig (_fileName=..., flags=flags@entry=..., resType=resType@entry=QStandardPaths::GenericConfigLocation) at /usr/src/debug/kconfig/kconfig-6.19.0/src/core/ksharedconfig.cpp:141
#26 0x00007fe605da9b20 in KIconTheme::KIconTheme (this=0x55cd6eb456e0, 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:424
#27 0x00007fe605dad2b3 in KIconLoaderPrivate::initIconThemes (this=0x55cd683f2230) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:443
#28 0x00007fe605d95926 in KIconLoaderPrivate::initIconThemes (this=0x55cd683f2230) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:436
#29 KIconLoaderPrivate::init (this=0x55cd683f2230, _appname=<optimized out>, extraSearchPaths=<optimized out>) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:420
#30 0x00007fe605da3a7e in KIconLoader::newIconLoader (this=0x7fe5fee0adf8) at /usr/src/debug/kiconthemes/kiconthemes-6.19.0/src/kiconloader.cpp:1502
Comment 5 TraceyC 2025-11-05 17:18:39 UTC
Thank you for the bug report. Based on the backtrace this looks like a duplicate of bug 506642. Please follow that report if you would like updates on the progress of this issue.

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