[Akonadi] [Bug 418844] Akonadi IMAP resource crash after attempted offline/online
Ahmad Samir
bugzilla_noreply at kde.org
Wed Sep 2 11:59:28 BST 2020
https://bugs.kde.org/show_bug.cgi?id=418844
Ahmad Samir <a.samirh78 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest Commit|https://invent.kde.org/pim/ |https://invent.kde.org/pim/
|akonadi/commit/53574eb6fccc |akonadi/commit/66d1135d1273
|8f6a03dcea6c1ca1aa02dd89520 |31fb3a2a7e047b0577d7e67d3dc
|9 |2
--- Comment #11 from Ahmad Samir <a.samirh78 at gmail.com> ---
Git commit 66d1135d127331fb3a2a7e047b0577d7e67d3dc2 by Ahmad Samir.
Committed on 02/09/2020 at 10:58.
Pushed by ahmadsamir into branch 'release/20.08'.
AgentBase: Fix crash in setOnline
When setOnline tries to access the mSettings member after the latter has
been deleted we get a crash; mSettings is deleted in quit() or cleanup(),
therefore it looks like a race condition: the Agent is about to quit, but
some other code calls setOnline leading to a crash. It looks like this can
happen in more than one way, e.g. via a dbus call (from AgentInstance), or
via a sub-class of AgentBase calling setOnline directly. Use a bool member
var, modelled after how AgentInstance uses a similar logic.
(cherry picked from commit 53574eb6fccc8f6a03dcea6c1ca1aa02dd895209)
M +8 -0 src/agentbase/agentbase.cpp
M +2 -0 src/agentbase/agentbase_p.h
https://invent.kde.org/pim/akonadi/commit/66d1135d127331fb3a2a7e047b0577d7e67d3dc2
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list