Summary: | Crash When Akonadi is Checking in the Background | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Aaron Nixon <aaron.nixon> |
Component: | EWS Resource | Assignee: | Krzysztof Nowicki <krissn> |
Status: | CONFIRMED --- | ||
Severity: | crash | CC: | bugs.kde.org, krissn, nate |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.18.80 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Aaron Nixon
2021-11-12 05:59:34 UTC
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. *** Bug 487367 has been marked as a duplicate of this bug. *** |