[Akonadi] [Bug 445364] Crash When Akonadi is Checking in the Background

Krzysztof Nowicki bugzilla_noreply at kde.org
Mon Apr 3 11:34:39 BST 2023


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

Krzysztof Nowicki <krissn at op.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krissn at op.pl
     Ever confirmed|0                           |1
          Component|general                     |EWS Resource
             Status|REPORTED                    |CONFIRMED

--- Comment #1 from Krzysztof Nowicki <krissn at op.pl> ---
This looks like a race condition when accessing EwsResource::mSubManager
pointer. This pointer is set to a newly created EwsSubscriptionManager instance
inside EwsResource::rootFolderFetchFinished(), but it looks like after creation
the pointer is cleared, which causes the subsequent lines to see a NULL pointer
there.

Two functions are able to reset this pointer to NULL:
EwsResource::reloadConfig() and EwsResource::doSetOnline(). In theory this
should not happen, as all the event processing is done in a single thread, but
it looks like one of these functions gets a call from a different thread and
the race is on.

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


More information about the Kdepim-bugs mailing list