[kdepim] [Bug 279749] Kontact crashed when trying to open gpg encripted email

Tobias N. ot.an at gmx.net
Fri Jan 31 20:21:59 GMT 2014


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

--- Comment #35 from Tobias N. <ot.an at gmx.net> ---
Created attachment 84924
  --> https://bugs.kde.org/attachment.cgi?id=84924&action=edit
Patch to solve the bug entirely

The bug 96498 was very related to bug 279749 and has been fixed already.
However, it did not fix the problem entirely by avoiding simultaneous updates
of a view.
E.g. when displaying an encrypted message, a dialog to enter the passphrase
could be shown,
blocking the tree-parser.
Simultaneously, the user may select another message, making the node in the
objecttreeparser
obsolete and invalid (thus causing a crash, when accessing the node's parent).
To solve this problem, all methods, that are processed after closing the
dialog, must not
access the obsolete message node (done by setting mCancelTreeParsing=true).
Then, by updating the viewer, it is made sure, that the finally selected
message is displayed.

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



More information about the Kdepim-bugs mailing list