[Dovecot] segfault in RC15

Timo Sirainen tss at iki.fi
Sun Dec 10 22:26:10 UTC 2006


On Sun, 2006-12-10 at 20:37 +0100, Cor Bosman wrote:
> > See if this patch makes it give corrupted index file errors instead:
> > 
> > http://dovecot.org/list/dovecot-cvs/2006-December/007059.html
> 
> It does:
> 
> Dec 10 18:55:44 dovecot2.xs4all.nl dovecot: IMAP(XXX): Corrupted Index file /var/run/dovecot-index/l/ld/XXX/.INBOX/dovecot.index: Record [27].uid=0
> Dec 10 20:07:28 dovecot2.xs4all.nl dovecot: IMAP(XXX): Corrupted Index file /var/run/dovecot-index/d/di/XXX/.INBOX/dovecot.index: Record [1659].uid=0
> Dec 10 20:07:33 dovecot2.xs4all.nl dovecot: IMAP(XXX): Corrupted Index file /var/run/dovecot-index/d/di/XXX/.INBOX/dovecot.index: Record [1659].uid=0

Could you send me those broken index and log files? The attached patch
copies them to /tmp when index gets corrupted.

The index and log files don't contain any message contents, so it's safe
to send them.

BTW. http://dovecot.org/tools/idxview.c and
http://dovecot.org/tools/logview.c can be used to look into them if you
want to do it yourself. Although I think those can be compiled only
against CVS HEAD.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: save-broken-indexes.diff
Type: text/x-patch
Size: 775 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20061211/6f434692/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20061211/6f434692/attachment.pgp 


More information about the dovecot mailing list