[Akonadi] [Bug 462692] Random Akonadi segmentation fault
Daniel Vrátil
bugzilla_noreply at kde.org
Sat Apr 22 14:18:07 BST 2023
https://bugs.kde.org/show_bug.cgi?id=462692
Daniel Vrátil <dvratil at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|DUPLICATE |FIXED
Latest Commit| |https://invent.kde.org/pim/
| |akonadi/commit/1d9d64ec3cf7
| |8dfdddc2239df0d33b08dc44210
| |4
Version Fixed In| |23.04.0
--- Comment #3 from Daniel Vrátil <dvratil at kde.org> ---
Git commit 1d9d64ec3cf78dfdddc2239df0d33b08dc442104 by Daniel Vrátil.
Committed on 22/04/2023 at 10:34.
Pushed by carlschwan into branch 'release/23.04'.
Fix crash on server shutdown
When AkonadiServer::quit() is called it clears the vector of existing
connections and destroys them. This can race with a resource disconnecting
or crashing on its own, which then enqueues a singal emission from the
Connection to remove itself from the connections vector as well.
Previously the code assumed the Connection must always exist in the vector
which caused a crash when it did not...surprise surprise.
FIXED-IN: 23.04.0
M +4 -2 src/server/akonadi.cpp
https://invent.kde.org/pim/akonadi/commit/1d9d64ec3cf78dfdddc2239df0d33b08dc442104
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list