dfaure added a comment.
It looks like the issue is that forgetDirs() doesn't find smb:// on the line of code that says `DirectoryDataHash::iterator dit = directoryData.find(urlStr);.` So it goes into early return and doesn't do dirData.listersCurrentlyHolding.removeAll(lister); which later leads to using a deleted lister that is still in listersCurrentlyHolding (for a slightly different URL). Can you check the contents of directoryData at that point? Could it be that it has an entry for smb:/// with three slashes? One solution is to call printDebug(), which will output lots of information including the contents of directoryData(). REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D12371 To: jtamate, dfaure, #frameworks, apol Cc: apol, michaelh, bruns