https://bugs.kde.org/show_bug.cgi?id=502856

            Bug ID: 502856
           Summary: Crash in KConfigIniBackend::parseConfig when switching
                    Theme
    Classification: Plasma
           Product: plasmashell
           Version: 6.3.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Widget Explorer sidebar
          Assignee: plasma-b...@kde.org
          Reporter: pos...@posteo.eu
  Target Milestone: 1.0

SUMMARY

Opened Systemsettings, Quick Settings, switched from Breeze to Breeze Dark.
Switching worked, but Plasmashell crashed with sigabrt:
i
```
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f4987a9b453 in __pthread_kill_internal (threadid=<optimized out>,
signo=6) at pthread_kill.c:89
#2  0x00007f4987a41cb6 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#3  0x00007f498b007a37 in KCrash::defaultCrashHandler (sig=6) at
/usr/src/debug/kcrash-6.12.0/src/kcrash.cpp:605
#4  0x00007f4987a41e00 in <signal handler called> () at /lib64/libc.so.6
#5  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f4987a9b453 in __pthread_kill_internal (threadid=<optimized out>,
signo=6) at pthread_kill.c:89
#7  0x00007f4987a41cb6 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#8  0x00007f4987a2938b in __GI_abort () at abort.c:73
#9  0x00007f4987a2a199 in __libc_message_impl (fmt=fmt@entry=0x7f4987bba33f
"%s\n") at ../sysdeps/posix/libc_fatal.c:134
#10 0x00007f4987aa5cc7 in malloc_printerr (str=str@entry=0x7f4987bbd438
"malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5829
#11 0x00007f4987aa6a7c in malloc_consolidate (av=av@entry=0x7f4987bf6ac0
<main_arena>) at malloc.c:4903
#12 0x00007f4987aa9398 in _int_malloc (av=av@entry=0x7f4987bf6ac0 <main_arena>,
bytes=bytes@entry=8192) at malloc.c:4099
#13 0x00007f4987aaa82e in __GI___libc_malloc (bytes=8192) at malloc.c:3414
#14 0x00007f49884c5f98 in allocateData (allocSize=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/tools/qarraydata.cpp:139
#15 allocateHelper (objectSize=1, alignment=16, capacity=8174,
option=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/tools/qarraydata.cpp:181
#16 allocateHelper (objectSize=1, alignment=16, capacity=<optimized out>,
option=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/tools/qarraydata.cpp:157
#17 QArrayData::allocate1 (dptr=0x7fffbba59630, capacity=<optimized out>,
option=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/tools/qarraydata.cpp:211
#18 0x00007f498845aa69 in QTypedArrayData<char>::allocate (capacity=0,
option=QArrayData::Grow) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/tools/qarraydata.h:129
#19 QArrayDataPointer<char>::QArrayDataPointer (this=0x7fffbba59630, alloc=0,
n=<optimized out>, option=QArrayData::Grow, this=<optimized out>,
alloc=<optimized out>, n=<optimized out>, option=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/tools/qarraydatapointer.h:58
#20 QByteArray::reallocData (this=this@entry=0x7fffbba597e0,
alloc=alloc@entry=6969, option=option@entry=QArrayData::Grow) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/text/qbytearray.cpp:1983
#21 0x00007f498845ac4a in QByteArray::resize (this=0x7fffbba597e0, size=6969)
at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/text/qbytearray.cpp:1907
#22 0x00007f4988387ea1 in QIODevice::readAll (this=this@entry=0x7fffbba59780)
at /usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/io/qiodevice.cpp:1269
#23 0x00007f4989588192 in KConfigIniBackend::parseConfig (this=<optimized out>,
currentLocale=..., entryMap=..., options=..., merging=false) at
/usr/src/debug/kconfig-6.12.0/src/core/kconfigini.cpp:83
#24 0x00007f498957b22f in KConfigIniBackend::parseConfig (this=0x563688ab5e60,
currentLocale=..., entryMap=..., options=...) at
/usr/src/debug/kconfig-6.12.0/src/core/kconfigini.cpp:58
#25 KConfigPrivate::parseConfigFiles (this=0x563688ab5e50) at
/usr/src/debug/kconfig-6.12.0/src/core/kconfig.cpp:806
#26 0x00007f498958b1aa in KSharedConfig::KSharedConfig (this=0x56368885ebe0,
fileName=..., flags=..., resType=QStandardPaths::GenericConfigLocation) at
/usr/src/debug/kconfig-6.12.0/src/core/ksharedconfig.cpp:179
#27 KSharedConfig::openConfig (_fileName=..., flags=flags@entry=...,
resType=resType@entry=QStandardPaths::GenericConfigLocation) at
/usr/src/debug/kconfig-6.12.0/src/core/ksharedconfig.cpp:145
#28 0x00007f4987df516a in KIconTheme::current () at
/usr/src/debug/kiconthemes-6.12.0/src/kicontheme.cpp:675
#29 0x00007f4987debc59 in KIconLoaderPrivate::initIconThemes
(this=0x563683fc3bb0) at
/usr/src/debug/kiconthemes-6.12.0/src/kiconloader.cpp:443
#30 0x00007f4987dde261 in KIconLoaderPrivate::initIconThemes
(this=0x563683fc3bb0) at
/usr/src/debug/kiconthemes-6.12.0/src/kiconloader.cpp:436
#31 KIconLoaderPrivate::init (this=0x563683fc3bb0, _appname=<optimized out>,
extraSearchPaths=<optimized out>) at
/usr/src/debug/kiconthemes-6.12.0/src/kiconloader.cpp:420
#32 0x00007f4987deb826 in KIconLoader::newIconLoader (this=0x7f498398b9c8) at
/usr/src/debug/kiconthemes-6.12.0/src/kiconloader.cpp:1498
#33 0x00007f4987ddde70 in KIconLoaderPrivate::_k_refreshIcons
(this=0x563683fc3bb0, group=4) at
/usr/src/debug/kiconthemes-6.12.0/src/kiconloader.cpp:376
#34 0x00007f49884182a1 in QtPrivate::QSlotObjectBase::call
(this=0x563683fd38b0, r=<optimized out>, a=0x7fffbba5a050, this=<optimized
out>, r=<optimized out>, a=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/kernel/qobjectdefs_impl.h:461
#35 doActivate<false> (sender=0x7f4987dff4c0
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>,
signal_index=3, argv=0x7fffbba5a050)
    at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/kernel/qobject.cpp:4138
#36 0x00007f4987de7f87 in QMetaObject::activate<void, int>
(sender=0x7f4987dff4c0
<_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:306
#37 KIconLoaderGlobalData::iconChanged (this=0x7f4987dff4c0
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>,
_t1=<optimized out>)
    at
/usr/src/debug/kiconthemes-6.12.0/build/src/KF6IconThemes_autogen/include/kiconloader.moc:118
#38 KIconLoaderGlobalData::qt_static_metacall (_o=0x7f4987dff4c0
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffbba5a1c8)
    at
/usr/src/debug/kiconthemes-6.12.0/build/src/KF6IconThemes_autogen/include/kiconloader.moc:74
#39 KIconLoaderGlobalData::qt_metacall (this=0x7f4987dff4c0
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffbba5a1c8)
    at
/usr/src/debug/kiconthemes-6.12.0/build/src/KF6IconThemes_autogen/include/kiconloader.moc:104
#40 0x00007f4988983f5e in QDBusConnectionPrivate::deliverCall
    (this=0x7f497c001670, object=0x7f4987dff4c0
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>,
msg=..., metaTypes=<optimized out>, slotIdx=4)
    at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/dbus/qdbusintegrator.cpp:1007
#41 0x00007f49883fe107 in QObject::event (this=0x7f4987dff4c0
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>,
e=0x7f497c070560)
    at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/kernel/qobject.cpp:1431
#42 0x00007f498a7e142a in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x7f4987dff4c0
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>,
e=0x7f497c070560)
    at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/widgets/kernel/qapplication.cpp:3301
#43 0x00007f49883b75e8 in QCoreApplication::notifyInternal2
(receiver=0x7f4987dff4c0
<_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalDataEEEE8instanceEvE6holder.lto_priv.0>,
event=0x7f497c070560)
    at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/kernel/qcoreapplication.cpp:1106
#44 0x00007f49883b762d in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/kernel/qcoreapplication.cpp:1546
#45 0x00007f49883b79a7 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x563683fa6f80) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/kernel/qcoreapplication.cpp:1879
#46 0x00007f498861c047 in postEventSourceDispatch (s=s@entry=0x563683fb2290) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#47 0x00007f4986cca678 in g_main_dispatch (context=0x7f497c000f00) at
../glib/gmain.c:3398
#48 g_main_context_dispatch_unlocked (context=context@entry=0x7f497c000f00) at
../glib/gmain.c:4249
#49 0x00007f4986ccc3d8 in g_main_context_iterate_unlocked
(context=context@entry=0x7f497c000f00, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4314
#50 0x00007f4986cccbec in g_main_context_iteration (context=0x7f497c000f00,
may_block=1) at ../glib/gmain.c:4379
#51 0x00007f498861a013 in QEventDispatcherGlib::processEvents
(this=0x563683fb29b0, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#52 0x00007f49883c24db in QEventLoop::exec (this=0x7fffbba5a7b0, flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/global/qflags.h:77
#53 0x00007f49883baddc in QCoreApplication::exec () at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/corelib/global/qflags.h:77
#54 0x00007f4988c147f0 in QGuiApplication::exec () at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/gui/kernel/qguiapplication.cpp:1993
#55 0x00007f498a7dd959 in QApplication::exec () at
/usr/src/debug/qtbase-everywhere-src-6.9.0/src/widgets/kernel/qapplication.cpp:2568
#56 0x0000563678a57066 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/plasma-workspace-6.3.4/shell/main.cpp:191
```


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250410
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.14.1-1-default (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to