[Dovecot] imap process crashing with "file mail-cache-fields.c: line 26: unreached"

Timo Sirainen tss at iki.fi
Thu Nov 2 17:56:08 UTC 2006


On Fri, 2006-10-27 at 21:18 +0200, Hans Morten Kind wrote:
> > --cut--
> > Oct 27 11:20:11 hostname dovecot: IMAP(user): file mail-cache-fields.c:
> > line 26: unreached
> > Oct 27 11:20:11 hostname dovecot: child 27514 (imap) killed with signal
> > 6
> > --cut--
> 
> 
> We did also experience this after moving to rc10,
> by some reason field_has_fixed_size() in src/lib-index/mail-cache-fields.c
> is called with an undef value of 32,
> it seems to be safe to return FALSE rather than i_unreched()

It shouldn't really be happening at all, but I think this change should
change the crash to a "cache file corrupted" error:

http://dovecot.org/list/dovecot-cvs/2006-November/006642.html
-------------- 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/20061102/c8512d22/attachment.pgp 


More information about the dovecot mailing list