Bug 371112

Summary: Handle akonadi_control and akonadiserver crash gracefully
Product: [Frameworks and Libraries] Akonadi Reporter: András Manţia <amantia>
Component: serverAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: dvratil
Priority: NOR    
Version: GIT (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description András Manţia 2016-10-18 13:32:03 UTC
When akonadi_control or akonadiserver crashes, the agents and resources remain in memory, and an akonadictl restart or akonadictl stop does not remove them.
This case should be handled gracefully (the agents should detect the server crashed).

Reproducible: Always
Comment 1 Daniel Vrátil 2016-10-19 08:25:54 UTC
To clarify: the akonadiserver process is managed by akonadi_control too (and will be restarted by akonadi_control if it crashes) so the only case when agents should self-terminate is when akonadi_control crashes ( == org.freedesktop.Akonadi.Control service disappears from DBus)