Bug 331748 - Kmail/akonadi bug produces thousands of copies of previous mail in local folder outbox
Summary: Kmail/akonadi bug produces thousands of copies of previous mail in local fold...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Archive Mail Agent (show other bugs)
Version: 4.12
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 21:36 UTC by Andreas
Modified: 2017-01-07 22:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas 2014-03-04 21:36:59 UTC
Since recent update to kde 4.12.2 akonadi fills my Local folder outbox with thousands of copies of the previously sent mail whenever I restart. In fact it does not seem to stop anywhere. CPU usage and memory uses is going up (due to kmail and akonadi_*). I have a configuration with multiple different akonadi resources. Local mbox and new Kmail format local folders (this outbox is the one which gets populated) and a few imap mail boxes. Akonadi created about 20'000 visible messages in the outbox before the system started to get slow.
The only way I found to escape a system crash was deleting with (Ctrl+A) and (Shift+Del) all the messages akonadi produces. I did this repeatedly and faster than new messages were produced until the outbox was eventually empty. The third time I encountered the bug I also did 'find . -name "*" -print0 | xargs -0 rm' in  '~/.local/share/local-mail/outbox/new' (rm * did not work anymore because there were too many items). I do not know if this would be sufficient however.
I am aware that the amount of information I can provide is probably not sufficient to debug this.
However the bug, in my opinion, is that akonadi is capable in principle of creating so many messages at a time at all. Just consider the situation in which I sent a mail to my boss, then I restart and I am connected to the internet when the system comes up, I don't watch it and the messages actually get send (before my system crashes do to missing memory and disk space). It will be hard to explain that I did not send the messages intentionally.

Reproducible: Always
Comment 1 Denis Kurz 2016-09-24 20:44:30 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:25:29 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.