[dolphin] [Bug 473488] Crash right before copying to pen drive

Méven bugzilla_noreply at kde.org
Wed Mar 27 11:20:41 GMT 2024


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

--- Comment #19 from Méven <meven at kde.org> ---
Git commit b184cad07de7cefe9bccff500ad6b022ce3018c1 by Méven Car.
Committed on 27/03/2024 at 11:06.
Pushed by meven into branch 'master'.

KCoreDirListerCache:: make sure not to reinsert an item twice

In slotUpdateResult and processPendingUpdates.

pendingUpdates can be updated in KCoreDirListerCache::slotFilesChanged
called synchrounously when file on disk are changed or asynchrously when
its parent directory is scanned for whatever reason. It can happen that
the pendingUpdateTimer triggers as the file is updated, this may cause
reinsert for the same url, the second one causing a crash.

Not 100% sure this is sufficient to fix the crash, so only CC.

M  +17   -3    src/core/kcoredirlister.cpp

https://invent.kde.org/frameworks/kio/-/commit/b184cad07de7cefe9bccff500ad6b022ce3018c1

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list