D17328: Fix leak in AkonadiCollectionView

Kevin Funk noreply at phabricator.kde.org
Mon Dec 3 12:16:42 GMT 2018


kfunk abandoned this revision.
kfunk added a comment.


  Running into a crash with that patch, need to revisit:
  
    ==10521==ERROR: AddressSanitizer: heap-use-after-free on address 0x6030005ab740 at pc 0x7ff8ea006223 bp 0x7fff413c3540 sp 0x7fff413c3538
    READ of size 8 at 0x6030005ab740 thread T0
        #0 0x7ff8ea006222 in QScopedPointerDeleter<Akonadi::ETMViewStateSaver>::cleanup(Akonadi::ETMViewStateSaver*) /home/kfunk/devel/build/qt5.11/qtbase/include/QtCore/../../../../../src/qt5.11/qtbase/src/corelib/tools/qscopedpointer.h:60:9
        #1 0x7ff8ea006199 in QScopedPointer<Akonadi::ETMViewStateSaver, QScopedPointerDeleter<Akonadi::ETMViewStateSaver> >::reset(Akonadi::ETMViewStateSaver*) /home/kfunk/devel/build/qt5.11/qtbase/include/QtCore/../../../../../src/qt5.11/qtbase/src/corelib/tools/qscopedpointer.h:159:9
        #2 0x7ff8e9fffd73 in NewNodeExpander::restoreTreeState() /home/kfunk/devel/src/kf5/korganizer/src/akonadicollectionview.cpp:235:27
        #3 0x7ff8e9ffc62c in NewNodeExpander::onSourceRowsInserted(QModelIndex const&, int, int) /home/kfunk/devel/src/kf5/korganizer/src/akonadicollectionview.cpp:183:17

REPOSITORY
  R210 KOrganizer

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

To: kfunk
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/20181203/5dd29d1e/attachment.html>


More information about the kde-pim mailing list