[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #42 from Méven --- (In reply to postix from comment #41) > > Are we calling those functions many times causing memory exhaustion ? > Is there are an easy way to log this information? Maybe by logging in with a > second user via ssh? For which process should l look (plasmashell?)? You don't have much logs for this. One would need to add some in Kconfig, or use gdb to use breakpoint to count functions call on plasmashell process. But that does not sound promising and hard for non-technical people. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #41 from postix --- > Are we calling those functions many times causing memory exhaustion ? Is there are an easy way to log this information? Maybe by logging in with a second user via ssh? For which process should l look (plasmashell?)? -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #40 from Méven Car --- (In reply to Nate Graham from comment #39) > JFYI sentry says this is currently the #1 crash in Plasma. I don't have many ideas based on the traces. It says it fails at `QByteArray buffer(initialBufferSize, Qt::Uninitialized);` that's allocating 128kb at most. https://invent.kde.org/frameworks/kconfig/-/blob/master/src/core/kconfigini.cpp#L85 Can 128 kb be too much to allocate ? How often `KIconTheme::current` is called ? Is it not cached ? In https://bugs.kde.org/show_bug.cgi?id=514961 https://bugsfiles.kde.org/attachment.cgi?id=188803 The allocation failure occurs in KEntryMap::getEntry. https://invent.kde.org/frameworks/kconfig/-/blob/master/src/core/kconfigdata.cpp#L230 It seems to point at the size of some entry that is too big to be allocated. Ideally we should use QStringView as return value there but still. Are we calling those functions many times causing memory exhaustion ? -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #39 from Nate Graham --- JFYI sentry says this is currently the #1 crash in Plasma. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #38 from Nate Graham --- Bug 514686 was reported against frameworks git master after the change was committed, so it looks like the issue might still be happening, unfortunately. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #37 from Akseli Lahtinen --- *** Bug 514961 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added CC||[email protected] --- Comment #36 from TraceyC --- *** Bug 514686 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 Méven Car changed: What|Removed |Added CC||[email protected] --- Comment #35 from Méven Car --- With 6.23 and Qt 6.9+, kconfigini parseconfig will be completely changed. Changes are this will affect this crash. Ref: https://invent.kde.org/frameworks/kconfig/-/merge_requests/419 I would welcome users, once 6.23 is out beginning of February 2026, to give feedback again. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added CC||[email protected] --- Comment #33 from TraceyC --- *** Bug 511894 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added Resolution|WAITINGFORINFO |--- Status|NEEDSINFO |CONFIRMED --- Comment #34 from TraceyC --- Thanks for confirming. We'll have to take another look. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #32 from Jens --- Created attachment 188454 --> https://bugs.kde.org/attachment.cgi?id=188454&action=edit backtrace of crash I just saw this crash happen again, but completely unprovoked, with an idle desktop, nothing was used or happening (at least nothing visible). See attachment. Operating System: KDE neon User Edition KDE Plasma Version: 6.5.4 KDE Frameworks Version: 6.22.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 -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #31 from Roke Julian Lockhart Beedell <[email protected]> --- (In reply to TraceyC from comment #30) > Now that Méven's MR has merged, can affected people let us know if you still > experience this same crash with Plasma 6.5.4 or later and Frameworks 6.21.0 > or later? Yes, per https://bugs.kde.org/show_bug.cgi?id=511172#c18: > ~~~ > Operating System: Fedora Linux 43 > KDE Plasma Version: 6.5.4 > KDE Frameworks Version: 6.21.0 > Qt Version: 6.10.1 > Kernel Version: 6.18.3-200.fc43.x86_64 (64-bit) > Graphics Platform: Wayland > ~~~ -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 David Edmundson changed: What|Removed |Added CC||[email protected] --- Comment #29 from David Edmundson --- *** Bug 511172 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|CONFIRMED |NEEDSINFO See Also|https://bugs.kde.org/show_b | |ug.cgi?id=511172| --- Comment #30 from TraceyC --- Now that Méven's MR has merged, can affected people let us know if you still experience this same crash with Plasma 6.5.4 or later and Frameworks 6.21.0 or later? -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added CC||jens-bugs.kde.org@spamfreem ||ail.de --- Comment #28 from TraceyC --- *** Bug 514344 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added CC||[email protected] --- Comment #27 from TraceyC --- *** Bug 512638 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #26 from TraceyC --- *** Bug 512513 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added CC||[email protected] ||om --- Comment #25 from TraceyC --- *** Bug 512347 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 postix changed: What|Removed |Added See Also|https://bugs.kde.org/show_b | |ug.cgi?id=500565| -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added CC||[email protected] --- Comment #24 from TraceyC --- *** Bug 511613 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #23 from Roke Julian Lockhart Beedell <[email protected]> --- Created attachment 186417 --> https://bugs.kde.org/attachment.cgi?id=186417&action=edit A Log Of A Similar, Probably Identical (But Potentially Not) Crash (In reply to Méven from comment #21) > Could people affected tell us, if the crash happened when memory available > was low ? > Give their hardware specification (memory). > And give report the file size of `~/.config/plasmashellrc` > `du -ch ~/.config/plasmashellrc` I don't believe so. However, ironically, although I *might* have reproduced this in 6.5.1 a few minutes ago, when switching to the “Automatic” preset, I lost the report due to an OOM described at https://bugs.kde.org/show_bug.cgi?id=511524#c0. (I've attached a file containing CoreDumpCtl's trace, if of use.) Perhaps that demonstrates that it does? -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #22 from Sebastian Sauer --- (In reply to Méven from comment #21) > (In reply to Sebastian Sauer from comment #20) > > Wild guess: Can it be that the ini file is read at the exact same time we > > write to it? Afaik file locking is only applied for writing. If so would it > > help to use a (K|Q)SaveFile to make writing atomic? > > We do already use a QSaveFile when writing. > KConfig has a lock (KSharedConfig::Ptr). > > > The crash seems to happen when allocating reading the config file, > ~/.config/plasmashellrc. > > I have this MR, that will remove the potential big allocation to chunks: > https://invent.kde.org/frameworks/kconfig/-/merge_requests/391/diffs > > The file might be big. > > Could people affected tell us, if the crash happened when memory available > was low ? > Give their hardware specification (memory). > And give report the file size of `~/.config/plasmashellrc` > `du -ch ~/.config/plasmashellrc` Amazing. Thanks Méven! -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 Méven changed: What|Removed |Added CC||[email protected] --- Comment #21 from Méven --- (In reply to Sebastian Sauer from comment #20) > Wild guess: Can it be that the ini file is read at the exact same time we > write to it? Afaik file locking is only applied for writing. If so would it > help to use a (K|Q)SaveFile to make writing atomic? We do already use a QSaveFile when writing. KConfig has a lock (KSharedConfig::Ptr). The crash seems to happen when allocating reading the config file, ~/.config/plasmashellrc. I have this MR, that will remove the potential big allocation to chunks: https://invent.kde.org/frameworks/kconfig/-/merge_requests/391/diffs The file might be big. Could people affected tell us, if the crash happened when memory available was low ? Give their hardware specification (memory). And give report the file size of `~/.config/plasmashellrc` `du -ch ~/.config/plasmashellrc` -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 Sebastian Sauer changed: What|Removed |Added CC||[email protected] --- Comment #20 from Sebastian Sauer --- Wild guess: Can it be that the ini file is read at the exact same time we write to it? Afaik file locking is only applied for writing. If so would it help to use a (K|Q)SaveFile to make writing atomic? -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 Nate Graham changed: What|Removed |Added See Also||https://bugs.kde.org/show_b ||ug.cgi?id=511172 -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 Nate Graham changed: What|Removed |Added Priority|HI |VHI --- Comment #19 from Nate Graham --- After fixing some other ones, it's now #2, or #1 if we exclude the current #1 crash which is in 3rd-party code. Raising priority again. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes in KConfigIniBackend::parseConfig()
https://bugs.kde.org/show_bug.cgi?id=506642 Nate Graham changed: What|Removed |Added Sentry Crash|https://crash-reports.kde.o |https://crash-reports.kde.o Report|rg/organizations/kde/issues |rg/organizations/kde/issues |/211559/events/63f4688bb178 |/133687 |4997b6f62ae7bdb71cb7/ | Summary|When closing Quick Settings |When closing Quick Settings |soon after applying a new |soon after applying a new |global theme from there |global theme from there |(especially on a slow |(especially on a slow |machine), Plasma Shell |machine), Plasma Shell |crashes |crashes in ||KConfigIniBackend::parseCon ||fig() Priority|NOR |HI --- Comment #18 from Nate Graham --- This is currently the #10 crash on Sentry; raising priority. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #16 from Nate Graham --- *** Bug 502856 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 Nate Graham changed: What|Removed |Added CC||[email protected] --- Comment #17 from Nate Graham --- *** Bug 500565 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #14 from postix --- Created attachment 184861 --> https://bugs.kde.org/attachment.cgi?id=184861&action=edit bt full on Tumbleed and Plasma 6.4.4 Here's the full backtrace attached now. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642
--- Comment #13 from postix ---
bt full tells me, this bug is about plasmashellrc for me:
```
#20 QByteArray::reallocData (this=this@entry=0x7ffe22498640,
alloc=alloc@entry=6285, option=option@entry=QArrayData::Grow) at
/usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/text/qbytearray.cpp:1993
dd = {d = 0xfefefefefefefefe, ptr = 0x7ffe224985e0 "\340f\246͏\177",
size = 30}
cannotUseReallocate =
#21 0x7f8fcd67ff9a in QByteArray::resize (this=0x7ffe22498640, size=6285)
at
/usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/text/qbytearray.cpp:1917
capacityAtEnd =
#22 0x7f8fcd591760 in QIODevice::readAll (this=this@entry=0x7ffe224985e0)
at /usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/io/qiodevice.cpp:1269
d = 0x55ee5f1fbce0
result = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 '\000'}
readBytes = 6285
#23 0x7f8fcf6de273 in KConfigIniBackend::parseConfig (this=,
currentLocale=..., entryMap=..., options=..., merging=false) at
/usr/src/debug/kconfig-6.17.0/src/core/kconfigini.cpp:83
next_line =
file = { = { = { = {_vptr.QObject =
0x7f8fcda666e0 , static staticMetaObject = {d = {superdata
= {direct = 0x0}, stringdata = 0x7f8fcd8d1630
<_ZN7QObject32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_125qt_meta_tag_ZN7QObjectE_tEEE.lto_priv.0+272>,
data = 0x7f8fcd8d1520
<_ZN7QObject32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_125qt_meta_tag_ZN7QObjectE_tEEE.lto_priv.0>,
static_metacall = 0x7f8fcd62cff0 , relatedMetaObjects = 0x0, metaTypes =
0x7f8fcda659a0
<_ZN7QObject36qt_staticMetaObjectRelocatingContentIN12_GLOBAL__N_125qt_meta_tag_ZN7QObjectE_tEEE.lto_priv.0>,
extradata = 0x0}}, d_ptr = {d = 0x55ee5f1fbce0}}, = {}, static staticMetaObject = {d = {superdata = {direct = 0x55ee1de8e580
}, stringdata = 0x7f8fcd8d1224
<_ZN9QIODevice32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_127qt_meta_tag_ZN9QIODeviceE_tEEE.lto_priv.0+260>,
data = 0x7f8fcd8d1120
<_ZN9QIODevice32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_127qt_meta_tag_ZN9QIODeviceE_tEEE.lto_priv.0>,
static_metacall = 0x7f8fcd58f930 , relatedMetaObjects = 0x0, metaTypes =
0x7f8fcda657c0
<_ZN9QIODevice36qt_staticMetaObjectRelocatingContentIN12_GLOBAL__N_127qt_meta_tag_ZN9QIODeviceE_tEEE.lto_priv.0>,
extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct =
0x7f8fcda65820 }, stringdata = 0x7f8fcd8cc99c
<_ZN11QFileDevice32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_130qt_meta_tag_ZN11QFileDeviceE_tEEE.lto_priv.0+60>,
data = 0x7f8fcd8cc960
<_ZN11QFileDevice32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_130qt_meta_tag_ZN11QFileDeviceE_tEEE.lto_priv.0>,
static_metacall = 0x7f8fcd575ec0 , relatedMetaObjects = 0x0, metaTypes =
0x7f8fcda5fd58
<_ZN11QFileDevice36qt_staticMetaObjectRelocatingContentIN12_GLOBAL__N_130qt_meta_tag_ZN11QFileDeviceE_tEEE.lto_priv.0>,
extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct =
0x7f8fcda64160 }, stringdata = 0x7f8fcd8cb81c
<_ZN5QFile32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_123qt_meta_tag_ZN5QFileE_tEEE.lto_priv.0+60>,
data = 0x7f8fcd8cb7e0
<_ZN5QFile32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_123qt_meta_tag_ZN5QFileE_tEEE.lto_priv.0>,
static_metacall = 0x7f8fcd575e30 , relatedMetaObjects = 0x0, metaTypes =
0x7f8fcda5fb98
<_ZN5QFile36qt_staticMetaObjectRelocatingContentIN12_GLOBAL__N_123qt_meta_tag_ZN5QFileE_tEEE.lto_priv.0>,
extradata = 0x0}}}
immutableGroups = {> =
{> = {}, }, d
= {d = 0x0, ptr = 0x0, size = 0}}
fileOptionImmutable = false
groupOptionImmutable = false
groupSkip = false
lineNo = 0
buffer = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 '\000'}
contents = {m_size = , m_data = }
langIdx =
currentLanguage = {d = {d = 0x7f8fc40685b0, ptr = 0x7f8fcd5810e2
"H\203\304\030H\211߾\350\001", size =
140255445813096}, static _empty = 0 '\000'}
currentGroup = {d = {d = 0x55ee5f53a968, ptr = 0x7f8fcd59cbac
u"譈⑼븈\020", size =
140729473664624}, static _empty = 0 u'\000'}
bDefault =
allowExecutableValues =
cache = {d = 0x55ee5fb5b8a0}
#24 0x7f8fcf6cc51f in KConfigIniBackend::parseConfig (this=0x55ee5e81e9a0,
currentLocale=..., entryMap=..., options=...) at
/usr/src/debug/kconfig-6.17.0/src/core/kconfigini.cpp:58
#25 KConfigPrivate::parseConfigFiles (this=0x55ee5e81e990) at
/usr/src/debug/kconfig-6.17.0/src/core/kconfig.cpp:806
file = @0x55ee5f53a950: {d = {d = 0x55ee5fb10950, ptr = 0x55ee5fb10960
u"/home/mh/.config/plasmashellrc", size = 30}, static _empty = 0 u'\000'}
files = {> =
{> = {}, }, d
= {d = 0x55ee5f53a940, ptr = 0x55ee5f53a950, size = 1}}
utf8Locale = {d = {d = 0x55ee5f6b7080, ptr = 0x55ee5f6b7090 "de_DE",
size = 5}, static _empty = 0 '\000'}
#26 0x7f8fcf6e1de7 in KSharedConfig::KSharedConfig (this=0x55ee5e6caa80,
fileName=..., flags=..., resType=QStandardPaths::Generic
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0 |1 --- Comment #15 from TraceyC --- I was able to trigger the "Apply" popup dialog after switching themes, but plasmashell did not crash on Neon Testing with Plasma 6.4.4 Given that this is likely a timing issue that doesn't prove much. I'll mark this confirmed since more than one person reproduced -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 postix changed: What|Removed |Added CC||[email protected] --- Comment #12 from postix --- I've seen this too on Tumbleweed with Plasma 6.4.4, Frameworks 6.17.0 and Qt 6.9.2, when switching between Breeze and Breeze Dark in Quick Settings: ``` #0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x7f8fccc9de53 in __pthread_kill_internal (threadid=, signo=6) at pthread_kill.c:89 #2 0x7f8fccc427b6 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 #3 0x7f8fd0396390 in KCrash::defaultCrashHandler (sig=6) at /usr/src/debug/kcrash-6.17.0/src/kcrash.cpp:605 #4 0x7f8fccc42910 in () at /lib64/libc.so.6 #5 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #6 0x7f8fccc9de53 in __pthread_kill_internal (threadid=, signo=6) at pthread_kill.c:89 #7 0x7f8fccc427b6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #8 0x7f8fccc2934b in __GI_abort () at abort.c:73 #9 0x7f8fccc2a3ad in __libc_message_impl (fmt=fmt@entry=0x7f8fccdbe35d "%s\n") at ../sysdeps/posix/libc_fatal.c:138 #10 0x7f8fccca8b77 in malloc_printerr (str=str@entry=0x7f8fccdc12a8 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5879 #11 0x7f8fccca9714 in malloc_consolidate (av=av@entry=0x7f8fccdf7ac0 ) at malloc.c:4949 #12 0x7f8fcccabdab in _int_malloc (av=av@entry=0x7f8fccdf7ac0 , bytes=bytes@entry=8192) at malloc.c:4159 #13 0x7f8fcccac892 in __libc_malloc2 (bytes=8192) at malloc.c:3443 #14 0x7f8fcd6ed0c8 in allocateData (allocSize=) at /usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/tools/qarraydata.cpp:139 #15 allocateHelper (objectSize=1, alignment=16, capacity=8174, option=) at /usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/tools/qarraydata.cpp:178 #16 allocateHelper (objectSize=1, alignment=16, capacity=, option=) at /usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/tools/qarraydata.cpp:154 #17 QArrayData::allocate1 (dptr=0x7ffe224984b0, capacity=, option=) at /usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/tools/qarraydata.cpp:208 #18 0x7f8fcd67fd84 in QTypedArrayData::allocate (capacity=140729473664576, option=QArrayData::Grow) at /usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/tools/qarraydata.h:129 #19 QArrayDataPointer::QArrayDataPointer (this=0x7ffe224984b0, alloc=140729473664576, n=, option=QArrayData::Grow) at /usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/tools/qarraydatapointer.h:58 #20 QByteArray::reallocData (this=this@entry=0x7ffe22498640, alloc=alloc@entry=6285, option=option@entry=QArrayData::Grow) at /usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/text/qbytearray.cpp:1993 #21 0x7f8fcd67ff9a in QByteArray::resize (this=0x7ffe22498640, size=6285) at /usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/text/qbytearray.cpp:1917 #22 0x7f8fcd591760 in QIODevice::readAll (this=this@entry=0x7ffe224985e0) at /usr/src/debug/qtbase-everywhere-src-6.9.2/src/corelib/io/qiodevice.cpp:1269 #23 0x7f8fcf6de273 in KConfigIniBackend::parseConfig (this=, currentLocale=..., entryMap=..., options=..., merging=false) at /usr/src/debug/kconfig-6.17.0/src/core/kconfigini.cpp:83 #24 0x7f8fcf6cc51f in KConfigIniBackend::parseConfig (this=0x55ee5e81e9a0, currentLocale=..., entryMap=..., options=...) at /usr/src/debug/kconfig-6.17.0/src/core/kconfigini.cpp:58 #25 KConfigPrivate::parseConfigFiles (this=0x55ee5e81e990) at /usr/src/debug/kconfig-6.17.0/src/core/kconfig.cpp:806 #26 0x7f8fcf6e1de7 in KSharedConfig::KSharedConfig (this=0x55ee5e6caa80, fileName=..., flags=..., resType=QStandardPaths::GenericConfigLocation) at /usr/src/debug/kconfig-6.17.0/src/core/ksharedconfig.cpp:179 #27 KSharedConfig::openConfig (_fileName=..., flags=flags@entry=..., resType=resType@entry=QStandardPaths::GenericConfigLocation) at /usr/src/debug/kconfig-6.17.0/src/core/ksharedconfig.cpp:145 #28 0x7f8fcd3a8252 in KIconTheme::current () at /usr/src/debug/kiconthemes-6.17.0/src/kicontheme.cpp:675 #29 0x7f8fcd3a89a9 in KIconLoaderPrivate::initIconThemes (this=0x55ee59d1c890) at /usr/src/debug/kiconthemes-6.17.0/src/kiconloader.cpp:443 #30 0x7f8fcd3913f3 in KIconLoaderPrivate::initIconThemes (this=0x55ee59d1c890) at /usr/src/debug/kiconthemes-6.17.0/src/kiconloader.cpp:436 #31 KIconLoaderPrivate::init (this=0x55ee59d1c890, _appname=, extraSearchPaths=) at /usr/src/debug/kiconthemes-6.17.0/src/kiconloader.cpp:420 #32 0x7f8fcd3a06f5 in KIconLoader::newIconLoader (this=0x7f8fc9370408) at /usr/src/debug/kiconthemes-6.17.0/src/kiconloader.cpp:1502 #33 0x7f8fcd391024 in KIconLoaderPrivate::_k_refreshIcons (this=0x55ee59d1c890, group=4) at /usr/src/debug/kiconthemes-6.17.0/src/kiconloader.cpp:
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #11 from Roke Julian Lockhart Beedell <[email protected]> --- *** Bug 508467 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #10 from Nate Graham --- This part tells a story: #22 0x7fa656cb8350 in QIODevice::readAll (this=this@entry=0x7ffca39fc810) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/io/qiodevice.cpp:1269 #23 0x7fa6590747ef in KConfigIniBackend::parseConfig (this=, currentLocale=..., entryMap=..., options=..., merging=false) at /usr/src/debug/kf6-kconfig-6.15.0-1.fc42.x86_64/src/core/kconfigini.cpp:83 #24 0x7fa65906680b in KConfigIniBackend::parseConfig (this=0x561a7e6c1600, currentLocale=..., entryMap=..., options=...) at /usr/src/debug/kf6-kconfig-6.15.0-1.fc42.x86_64/src/core/kconfigini.cpp:58 #25 KConfigPrivate::parseConfigFiles (this=0x561a7e6c15f0) at /usr/src/debug/kf6-kconfig-6.15.0-1.fc42.x86_64/src/core/kconfig.cpp:806 #26 0x7fa65907d7e6 in KSharedConfig::KSharedConfig (this=0x561a7b2ea080, fileName=..., flags=..., resType=QStandardPaths::GenericConfigLocation) at /usr/src/debug/kf6-kconfig-6.15.0-1.fc42.x86_64/src/core/ksharedconfig.cpp:179 #27 KSharedConfig::openConfig (_fileName=..., flags=..., flags@entry=..., resType=resType@entry=QStandardPaths::GenericConfigLocation) at /usr/src/debug/kf6-kconfig-6.15.0-1.fc42.x86_64/src/core/ksharedconfig.cpp:145 #28 0x7fa656beb2eb in KIconTheme::current () at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kicontheme.cpp:675 #29 0x7fa656beba5a in KIconLoaderPrivate::initIconThemes (this=0x561a7a681e00) at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kiconloader.cpp:443 #30 0x7fa656bd3fed in KIconLoaderPrivate::initIconThemes (this=0x561a7a681e00) at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kiconloader.cpp:436 #31 KIconLoaderPrivate::init (this=0x561a7a681e00, _appname=..., extraSearchPaths=...) at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kiconloader.cpp:420 #32 0x7fa656be351b in KIconLoader::newIconLoader (this=0x7fa650d87188) at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kiconloader.cpp:1498 #33 0x7fa656bd3c12 in KIconLoaderPrivate::_k_refreshIcons (this=0x561a7a681e00, group=1) at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kiconloader.cpp:376 So we're refreshing the icon theme, and we ask for the name of the current icon theme, which goes through KConfig, which looks at an INI-style config file, and tries to parse it, and blows up in Qt code. Could be a timing issue where the config file gets updated atomically and KConfig tries to read it in the unfortunate moment when it's in a transitional state. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added CC||corroding.worsening266@unbo ||x.at --- Comment #9 from TraceyC --- *** Bug 507731 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 Nate Graham changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 --- Comment #8 from Roke Julian Lockhart Beedell <[email protected]> --- (In reply to TraceyC from comment #7) I believe that I've been unable to reproduce it since, so it might occur solely once per installation. My assumption earlier that decided the current title might not be accurate. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added Keywords||regression See Also||https://bugs.kde.org/show_b ||ug.cgi?id=500565 --- Comment #7 from TraceyC --- This backtrace is nearly identical to bug 500565, which we thought was fixed in 6.3.2 -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 TraceyC changed: What|Removed |Added CC||[email protected] --- Comment #6 from TraceyC --- Searchable backtrace Thread 1 (Thread 0x7fa650d87300 (LWP 2130)): [KCrash Handler] #5 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #6 0x7fa6566811e3 in __pthread_kill_internal (threadid=, signo=6) at pthread_kill.c:89 #7 0x7fa656627afe in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #8 0x7fa65660f6d0 in __GI_abort () at abort.c:73 #9 0x7fa6566106f3 in __libc_message_impl (fmt=fmt@entry=0x7fa6567c248c "%s\n") at ../sysdeps/posix/libc_fatal.c:134 #10 0x7fa65668b275 in malloc_printerr (str=str@entry=0x7fa6567c5498 "malloc_consolidate(): unaligned fastbin chunk detected") at malloc.c:5829 #11 0x7fa65668bf4c in malloc_consolidate (av=av@entry=0x7fa6567f6ac0 ) at malloc.c:4903 #12 0x7fa65668e9b0 in _int_malloc (av=0x7fa6567f6ac0 , bytes=4096) at malloc.c:4099 #13 0x7fa65668fe6e in __GI___libc_malloc (bytes=4096) at malloc.c:3414 #14 0x7fa656e41f09 in allocateData (allocSize=) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.cpp:139 #15 allocateHelper (objectSize=1, alignment=16, capacity=4078, option=) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.cpp:181 #16 allocateHelper (objectSize=1, alignment=16, capacity=, option=) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.cpp:157 #17 QArrayData::allocate1 (dptr=dptr@entry=0x7ffca39fc6c0, capacity=, option=) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.cpp:211 #18 0x7fa656dcf7e8 in QTypedArrayData::allocate (capacity=, option=) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydata.h:129 #19 QArrayDataPointer::QArrayDataPointer (this=0x7ffca39fc6c0, alloc=, n=, option=) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/tools/qarraydatapointer.h:58 #20 QByteArray::reallocData (this=0x7ffca39fc870, alloc=, option=) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/text/qbytearray.cpp:1984 #21 0x7fa656dcf9cb in QByteArray::resize (this=this@entry=0x7ffca39fc870, size=size@entry=2746) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/text/qbytearray.cpp:1908 #22 0x7fa656cb8350 in QIODevice::readAll (this=this@entry=0x7ffca39fc810) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/io/qiodevice.cpp:1269 #23 0x7fa6590747ef in KConfigIniBackend::parseConfig (this=, currentLocale=..., entryMap=..., options=..., merging=false) at /usr/src/debug/kf6-kconfig-6.15.0-1.fc42.x86_64/src/core/kconfigini.cpp:83 #24 0x7fa65906680b in KConfigIniBackend::parseConfig (this=0x561a7e6c1600, currentLocale=..., entryMap=..., options=...) at /usr/src/debug/kf6-kconfig-6.15.0-1.fc42.x86_64/src/core/kconfigini.cpp:58 #25 KConfigPrivate::parseConfigFiles (this=0x561a7e6c15f0) at /usr/src/debug/kf6-kconfig-6.15.0-1.fc42.x86_64/src/core/kconfig.cpp:806 #26 0x7fa65907d7e6 in KSharedConfig::KSharedConfig (this=0x561a7b2ea080, fileName=..., flags=..., resType=QStandardPaths::GenericConfigLocation) at /usr/src/debug/kf6-kconfig-6.15.0-1.fc42.x86_64/src/core/ksharedconfig.cpp:179 #27 KSharedConfig::openConfig (_fileName=..., flags=..., flags@entry=..., resType=resType@entry=QStandardPaths::GenericConfigLocation) at /usr/src/debug/kf6-kconfig-6.15.0-1.fc42.x86_64/src/core/ksharedconfig.cpp:145 #28 0x7fa656beb2eb in KIconTheme::current () at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kicontheme.cpp:675 #29 0x7fa656beba5a in KIconLoaderPrivate::initIconThemes (this=0x561a7a681e00) at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kiconloader.cpp:443 #30 0x7fa656bd3fed in KIconLoaderPrivate::initIconThemes (this=0x561a7a681e00) at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kiconloader.cpp:436 #31 KIconLoaderPrivate::init (this=0x561a7a681e00, _appname=..., extraSearchPaths=...) at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kiconloader.cpp:420 #32 0x7fa656be351b in KIconLoader::newIconLoader (this=0x7fa650d87188) at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kiconloader.cpp:1498 #33 0x7fa656bd3c12 in KIconLoaderPrivate::_k_refreshIcons (this=0x561a7a681e00, group=1) at /usr/src/debug/kf6-kiconthemes-6.15.0-1.fc42.x86_64/src/kiconloader.cpp:376 #34 0x7fa656d657ba in QtPrivate::QSlotObjectBase::call (this=0x561a7a6905b0, r=0x7fa650d87188, a=0x7ffca39fd160) at /usr/src/debug/qt6-qtbase-6.9.1-1.fc42.x86_64/src/corelib/kernel/qobjectdefs_impl.h:461 #35 doActivate (sender=0x7fa656bff4c0 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_118Q_QGS_s_globalData8instanceEvE6holder.lto_priv.0>, signal
[plasmashell] [Bug 506642] When closing Quick Settings soon after applying a new global theme from there (especially on a slow machine), Plasma Shell crashes
https://bugs.kde.org/show_bug.cgi?id=506642 Roke Julian Lockhart Beedell <[email protected]> changed: What|Removed |Added Summary|"plasma-workspace: |When closing Quick Settings |allocateData(): plasmashell |soon after applying a new |killed by SIGABRT" when an |global theme from there |erroneous modal appeared|(especially on a slow |switching global themes |machine), Plasma Shell |from Quick Settings |crashes -- You are receiving this mail because: You are watching all bug changes.
