[kdepim] [Bug 364994] Kmail crash when deleting message in thread view

Daniel Vrátil via KDE Bugzilla bugzilla_noreply at kde.org
Thu Sep 15 09:53:54 BST 2016


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

Daniel Vrátil <dvratil at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/mess
                   |                            |agelib/c335c60684fb6de58fae
                   |                            |567234c72277a3b1bf58
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
   Version Fixed In|                            |16.08.1

--- Comment #14 from Daniel Vrátil <dvratil at kde.org> ---
Git commit c335c60684fb6de58fae567234c72277a3b1bf58 by Daniel Vrátil.
Committed on 15/09/2016 at 08:42.
Pushed by dvratil into branch 'Applications/16.08'.

Expire dying parent from threading cache before processing children

Fixes a crash in the Model when a thread leader is removed and
ViewJob for its children is started to re-attach the subtree
to a new parent node. The second pass would then get a pointer
to the now-deleted parent from the threading cache leading to
a crash eventually.

This patch makes sure the parent is expired from the cache
before the ViewJobs are started. The cache miss triggers actual
threading calculation in Pass2 and Pass3 and updates our cache.
FIXED-IN: 16.08.1

M  +5    -1    messagelist/src/core/model.cpp
M  +1    -0    messagelist/src/core/threadingcache.h

http://commits.kde.org/messagelib/c335c60684fb6de58fae567234c72277a3b1bf58

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list