On Tue, 2006-05-02 at 14:43 +0100, Jonathan Knight wrote:
Timo Sirainen wrote:
On Tue, 2006-05-02 at 12:48 +0100, Jonathan Knight wrote:
May 2 12:39:00 lenny dovecot: IMAP(XXXXX): file mbox-sync-rewrite.c: line 106 (mbox_sync_headers_add_space): assertion failed: (start_pos < data_size)
Hmm. Does attached patch help?
Sorry folks - I was testing out the bug with my own mailbox so I was offline for a moment or two.
I had a flash of inspiration which has identified the cause of the problem. Due to an earlier mistake (not mine!) we ended up with the students having two copies of most of their mail messages. The bug is triggered by trying to delete one of the duplicates. Once the index files are mangled there is no way back other than deleting the index files and starting again.
Well, if you can still reproduce this bug easily, I'd like to know if the patch fixes it :)