Bug 439631 - Akonadi crashes often and sometimes it doesn't start up at all
Summary: Akonadi crashes often and sometimes it doesn't start up at all
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-08 08:51 UTC by Bart Ribbers
Modified: 2023-01-22 23:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
akonadictl start crash log (2.07 KB, text/plain)
2021-07-08 08:51 UTC, Bart Ribbers
Details
Akonadi.err (1.15 KB, text/plain)
2022-02-14 11:32 UTC, Domenico Panella
Details
mysql.err (150.33 KB, text/plain)
2022-02-14 11:32 UTC, Domenico Panella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Ribbers 2021-07-08 08:51:39 UTC
Created attachment 139942 [details]
akonadictl start crash log

SUMMARY
On my system, Akonadi crashes _constantly_. Not so much it's unusable, but enough to be _really_ annoying. Normally Kontact manages to restart it after instructed to do so, but sometimes akonadi just keeps crashing on startup and is completely unusable till I reboot.

The log talks about "D-Bus session bus is not available" when I try to start it via akonadictl, but seeing most of the time Akonadi _does_ start, I fail to see how that could be breaking it.

STEPS TO REPRODUCE
1. Have Kontact or Kmail running in the background
2. After a while of idling, click on an e-mail
3. Observe Akonadi most of the time, but not always, crashing

OBSERVED RESULT
Akonadi crashes and has to be restarted before the PIM suite can be used again.

EXPECTED RESULT
Akonadi to not crash obviously.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Alpine Linux
(available in About System)
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3 (KDE patches applied)

ADDITIONAL INFORMATION
This system uses Musl libc instead of glibc which might be the cause of the issues here, uncertain.
Comment 1 Bart Ribbers 2022-02-13 17:22:05 UTC
I tracked this down to specifically akonadi_imap_resources crashing, makes sense as it often (but not always) happens when I receive a new email. Sadly imap crashing takes the whole of Akonadi with it...
Comment 2 Domenico Panella 2022-02-14 11:31:18 UTC
Same problem here on:

Operating System: Slackware 15.0
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.16.9 (64-bit)
Graphics Platform: X11
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 3 Domenico Panella 2022-02-14 11:32:05 UTC
Created attachment 146703 [details]
Akonadi.err
Comment 4 Domenico Panella 2022-02-14 11:32:39 UTC
Created attachment 146705 [details]
mysql.err