D12371: fix always reproducible crash

David Faure noreply at phabricator.kde.org
Sun Apr 22 07:31:55 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180422/9568a870/attachment.html>


More information about the Kde-frameworks-devel mailing list