D20079: Fix crash due to using an attribute from a collection that went out of scope

Daniel Vrátil noreply at phabricator.kde.org
Thu Mar 28 11:38:22 GMT 2019


dvratil added a comment.


  Interesting, shouldn't the attribute be owned by the Collection in `d->mCollectionMap`? The `parentCollection` should be just a shallow copy, so going out of scope should just decrease the ref counter in the shared instance, nothing more. This could point to some more fundamental problem...
  
  Could you try to turn this into some test case in Akonadi?

REPOSITORY
  R170 Akonadi Calendar

REVISION DETAIL
  https://phabricator.kde.org/D20079

To: dfaure, dvratil, winterz
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190328/2c213011/attachment.html>


More information about the kde-pim mailing list