On Sat, 2008-11-01 at 19:28 +0100, Jonas Smedegaard wrote:
> Attached is a corruption discovered this morning, and my hand-crafted 
> corection that pleased offlineimap. They are gzipped simply to convince 
> mutt that they shouldn't be treated as ascii (I am not familar with 
> educating mutt manually).

Hmm. Dovecot v1.0 updates the dovecot-uidlist file only by recreating
the entire file. Those files have a lot of corruption in them. There are
a lot of NUL characters in places where Dovecot simply couldn't have
written them. There are also several garbage characters that Dovecot
couldn't have written unless its memory was badly corrupted.

Aren't you seeing any other crashes and such? If these uidlist files are
getting so badly corrupted, it's weird that you're not seeing all kinds
of other random crashes. Are you using Dovecot's index files?

Here's one interesting part in the bad uidlist (replaced NULs with
spaces):

488 1225345601.P24822Q15.xayide.jones.dk:2,S
489 1                            ones.dk:2,S
490 1225345603.P24822Q17.xayide.jones.dk:2,S

That really looks like the corruption has happened after Dovecot already
wrote the file.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to