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

--- Comment #22 from Sebastian Sauer <[email protected]> ---
(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.

Reply via email to