Bug 3532 - cache file gets corrupted when receiving via IMAP & sending mail at the same time
Summary: cache file gets corrupted when receiving via IMAP & sending mail at the same ...
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Folders/IMAP (show other bugs)
Version: 3.12.0
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2015-10-04 08:21 UTC by Michał Górny
Modified: 2015-10-06 08:29 UTC (History)
0 users

See Also:


Attachments

Description Michał Górny 2015-10-04 08:21:34 UTC
I've seen this three times already, though it's not easy to reproduce. I have a few IMAP accounts with many folders and periodic mail checks enabled. It happens that when I edit a message in the foreground, claws starts checking mail in the background and I click 'send'. Now, usually that works somehow.

However, there's some hidden ugly race condition that sometimes makes claws confuse 'Queue' with another folder. Long story short, claws hangs for a while (fetching mail bodies, I guess) and then suddenly 'Queue' contains 1000+ mails that were really in another folder.
Comment 1 Francis 2015-10-05 10:15:43 UTC
The other race I noted is that the filtering rules are not run on received messages.
Comment 2 Paul 2015-10-05 10:31:42 UTC
are messages really moved or is it just the cache file that gets messed up?
Comment 3 Michał Górny 2015-10-05 15:26:27 UTC
Just the cache.

Note You need to log in before you can comment on or make changes to this bug.