Folder corrupts (doubled messages, empty subject, invalid date) when deleting while receiving pop messages

UNCONFIRMED
Unassigned

Status

Thunderbird
Folder and Message Lists
--
major
UNCONFIRMED
7 years ago
2 years ago

People

(Reporter: jiri slaby, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: dupeme?)

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0
Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:5.0a2) Gecko/20110420 Thunderbird/3.3a4pre

I have a POP3 account with high traffic (mailinglists). When I'm receiving emails and deleting them simultaneously, it will likely corrupt the folder. This is reproducible in around 9 of 10 cases.

Reproducible: Sometimes

Steps to Reproduce:
1. press Get Mail
2. switch to the message list
3. start deleting unwanted messages.

Actual Results:  
folder is corrupted -- doubled messages, messages with empty subject are listed in the list, invalid date etc.

Repair Folder cures that.

Comment 1

6 years ago
jiri, are you doing this in Unified Folders  Inbox?
Summary: Folder corrupts when deleting while receiving → Folder corrupts (doubled messages, empty subject, invalid date) when deleting while receiving pop messages
Whiteboard: dupeme?
(Reporter)

Comment 2

6 years ago
(In reply to comment #1)
> jiri, are you doing this in Unified Folders  Inbox?

Nope, separate inboxes for each email account.

Happened today with 6.0.
What size are your folders on disk ?
(Reporter)

Comment 4

6 years ago
(In reply to Ludovic Hirlimann [:Usul] from comment #3)
> What size are your folders on disk ?

What exactly do you mean? For example output of du -sh ~/.thunderbird/*.default/Mail/*?

Or disk cache in advanced setting? That one is set to 1024M.
(Reporter)

Comment 5

6 years ago
(In reply to jiri slaby from comment #4)
> (In reply to Ludovic Hirlimann [:Usul] from comment #3)
> > What size are your folders on disk ?
> 
> What exactly do you mean? For example output of du -sh
> ~/.thunderbird/*.default/Mail/*?

$ du -s Mail/pop.gmail.com/*|sort -n
0       Mail/pop.gmail.com/Archives
0       Mail/pop.gmail.com/Drafts
0       Mail/pop.gmail.com/Sent
0       Mail/pop.gmail.com/Trash
4       Mail/pop.gmail.com/Archives.msf
4       Mail/pop.gmail.com/Drafts.msf
4       Mail/pop.gmail.com/filterlog.html
4       Mail/pop.gmail.com/msgFilterRules.dat
4       Mail/pop.gmail.com/Sent.msf
4       Mail/pop.gmail.com/Trash.msf
4       Mail/pop.gmail.com/Trash.sbd
16      Mail/pop.gmail.com/popstate.dat
324     Mail/pop.gmail.com/Inbox.msf
580     Mail/pop.gmail.com/Inbox.sbd
16828   Mail/pop.gmail.com/Inbox
Not reaching or 2 or 4 GB limit. Repairing helps. Did you try to compact the inbox to see if that would help solving the issue ?
(Reporter)

Comment 7

6 years ago
(In reply to Ludovic Hirlimann [:Usul] from comment #6)
> Not reaching or 2 or 4 GB limit. Repairing helps. Did you try to compact the
> inbox to see if that would help solving the issue ?

It does not help.

The issue occurs when I'm *in* the folder. The more activity I do during receive of messages, the more likely the issue occurs. It looks like a race condition.

E.g. marking messages as read, deleting them and so on while receiving to the same folder is a killer. It occurs every time.
(Reporter)

Comment 8

6 years ago
And I'm now at 12 beta and it still happens...
I'm running out of ideas here ?
You need to log in before you can comment on or make changes to this bug.