[Akonadi] [Bug 450217] (SEGV) Crash in Akonadi::Server::AkonadiServer::connectionDisconnected

Sandro Knauß bugzilla_noreply at kde.org
Tue Apr 25 00:28:12 BST 2023


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

Sandro Knauß <sknauss at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sknauss at kde.org
      Latest Commit|                            |https://invent.kde.org/pim/
                   |                            |akonadi/commit/1d9d64ec3cf7
                   |                            |8dfdddc2239df0d33b08dc44210
                   |                            |4
             Status|REPORTED                    |RESOLVED
   Version Fixed In|                            |23.04.1
         Resolution|---                         |FIXED

--- Comment #23 from Sandro Knauß <sknauss 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.1

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