Bug 405682 - akonadi_imap_resource and akonadiserver crashe every couple of minutes
Summary: akonadi_imap_resource and akonadiserver crashe every couple of minutes
Status: RESOLVED DUPLICATE of bug 401692
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-20 12:42 UTC by Aldoo
Modified: 2019-04-19 12:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
akonadi_imap_resource crash log (8.49 KB, text/plain)
2019-03-20 12:42 UTC, Aldoo
Details
akonadiserver crash log (99.71 KB, text/plain)
2019-03-20 12:43 UTC, Aldoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aldoo 2019-03-20 12:42:20 UTC
Created attachment 118931 [details]
akonadi_imap_resource crash log

akonadi_imap_resource and akonadiserver crashe every couple of minutes. There is nothing much to make it happen. It seems it happens only when synchronizing my IMAP mailboxes, but I am not sure of this.

There is a load of associated bugs in my kmail/akonadi, which may or not be related to these crashes:
- following one of the crashes, one of my IMAP accounts has mails in its root folder (which is supposed to be unpopulated; of course I cannot delete these mails).
- sometimes, after a crashe, the whole mailbox needs to be downloaded again (this means a couple of gigabytes to download!)
- kmail status bar frequently reports errors (sorry I do not have examples now, I will try to copy one and add it to this report as soon as I can)
- one of my IMAP accounts frequently loses its name and receives a generic name instead (such as "Compte IMAP 6", sorry the locale is French).
- in kmail status bar, the agent filtering agent seems stuck forever at 0%
- synchronization seems to often restart several times for a given folder. Sometimes the progress bar goes back a few %, then progresses again.
- synchronization of big folders is always very slow (although IMAP protocol should allow for just downloading the delta, should it not?)
- when I mark a message as spam (which should move it to spam folder), the message comes back at the next synchronization
- spam seems never to be filter out anyway (although the bogosity field is correctly set up in every received message)

All in all, kmail has become almost unusable for me in the last weeks. 




SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.15
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION

My setup of kmail/akonadi consists in
- a local mail folder
- 3 IMAP accounts with local cache
- a couple of calendars and address books (probably unrelated to this bug)

Morover, the antispam (bogofilter) filters are set up.
Comment 1 Aldoo 2019-03-20 12:43:07 UTC
Created attachment 118932 [details]
akonadiserver crash log
Comment 2 Christoph Feck 2019-04-19 11:21:36 UTC

*** This bug has been marked as a duplicate of bug 401692 ***
Comment 3 Aldoo 2019-04-19 11:37:45 UTC
I do not know if it is a duplicate: my crashes did not happen on logout, but any time akonadi checked for new mail.

Anyway, after deleting all configuration files and starting from fresh ones, the crashes are gone.
Note that deleting the cached database was not enough (I had already tried that before I reported this bug).
Comment 4 Christoph Feck 2019-04-19 12:56:59 UTC
Description is indeed not accurate. The crash caused by the unhandled exception could happen on start, on exit, or anytime inbetween.

If this still happens with KDEPIM 5.11 (released with KDE Applications 19.04 yesterday), please add a comment.