JB Zimmerman
2006-Oct-27 17:03 UTC
[Dovecot] imap process crashing with "file mail-cache-fields.c: line 26: unreached"
Hoping someone's seen this and/or can help...heh. I'm running the at rpm of dovecot, version dovecot-1.0-0_27.rc10.el4.at. I'm running it on RHEL4, up to date. We're using Maildir (we're upgraded from a Courier-IMAP installation) and things are working...but...we have a few users with very large mailboxes (not their inboxes) where they archive stuff (200k+ messages). When they try to read those mailboxes, the imap server instantly drops the connection, and I get the following in the log: --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-- host and user names changed to protect the guilty. I have tried increasing the imap process size max to 512, as well as doubling the IMAP command size to 131072 (bytes)? Neither made a difference. *other* mailboxes on the same account work fine. The error happens *immediately*, not after a timeout, as soon as they select the mailbox in their client (we're using Evolution, and have tried pine as well...I'm working on trying other clients). The Maildir caching optimization settings in the conf are left to default. Any ideas? Many thanks. J.B. Zimmerman -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20061027/8c2c9620/attachment.bin>
Hans Morten Kind
2006-Oct-27 19:18 UTC
[Dovecot] imap process crashing with "file mail-cache-fields.c: line 26: unreached"
> --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() hmk
Timo Sirainen
2006-Nov-02 17:56 UTC
[Dovecot] imap process crashing with "file mail-cache-fields.c: line 26: unreached"
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