[Dovecot] dovecot-1.2.8 imap crash (with backtrace)

Brandon Davidson brandond at uoregon.edu
Wed Dec 23 20:37:03 EET 2009


Timo,

On 12/23/09 8:37 AM, "David Halik" <dhalik at jla.rutgers.edu> wrote:
> I switched all of our servers to dotlock_use_excl=no last night, but
> we're still seeing the errors:

We too have set dotlock_use_excl = no. I'm not seeing the "Stale NFS file
handle" message any more, but I am still seeing a crash. The crashes seem to
be leaving the indexes in a bad state:

Dec 23 09:07:44 oh-popmap3p dovecot: imap: user=<cnisser>, rip=x.x.x.x,
pid=30101: Panic: file maildir-uidlist.c: line 403
(maildir_uidlist_records_array_delete): assertion failed: (pos != NULL)
Dec 23 09:07:44 oh-popmap3p dovecot: imap: user=<cnisser>, rip= x.x.x.x,
pid=30101: Raw backtrace: imap [0x4d8986] -> imap [0x4d97b0] ->
imap(i_fatal+0) [0x4d8c7a] -> imap [0x44f2cc] -> imap [0x44f814] -> imap
[0x4500a2] -> imap(maildir_uidlist_refresh+0x9d) [0x450686] -> imap
[0x44bff1] -> imap [0x44c0a8] -> imap [0x44c178] ->
imap(maildir_storage_sync_init+0x7c) [0x44c6e6] ->
imap(mailbox_sync_init+0x44) [0x489922] -> imap(imap_sync_init+0xab)
[0x42e02b] -> imap [0x41ccc4] -> imap [0x41cd26] -> imap [0x4733be] -> imap
[0x4e4171] -> imap(io_loop_handle_timeouts+0x1d) [0x4e41ce] ->
imap(io_loop_handler_run+0x86) [0x4e4f29] -> imap(io_loop_run+0x3b)
[0x4e4214] -> imap(main+0xa6) [0x4300af] ->
/lib64/libc.so.6(__libc_start_main+0xf4) [0x3217e1d994] -> imap [0x419aa9]
Dec 23 09:07:45 oh-popmap3p dovecot: dovecot: child 30101 (imap) killed with
signal 6 (core dumped)
Dec 23 09:09:16 cc-popmap3p dovecot: imap: user=<cnisser>, rip= x.x.x.x,
pid=5975: Corrupted index cache file
/home16/cnisser/.imapidx/.INBOX/dovecot.index.cache: invalid record size
Dec 23 09:09:17 oh-popmap2p dovecot: imap: user=<cnisser>, rip=y.y.y.y,
pid=3279: read() failed with index cache file
/home16/cnisser/.imapidx/.INBOX/dovecot.index.cache: Input/output error
Dec 23 09:09:38 cc-popmap3p dovecot: imap: user=<cnisser>, rip= x.x.x.x,
pid=5975: Corrupted index cache file
/home16/cnisser/.imapidx/.INBOX/dovecot.index.cache: invalid record size
Dec 23 09:18:12 cc-popmap3p dovecot: imap: user=<cnisser>, rip= x.x.x.x,
pid=5975: Corrupted index cache file
/home16/cnisser/.imapidx/.INBOX/dovecot.index.cache: invalid record size

We're also seeing another odd error that seems to be unrelated to the
crashes, but seemed like it bears reporting. Reading of uidlists and cache
files seems to intermittently fail with EIO. It doesn't seem to tie in with
anything else, and I don't see any corresponding NFS errors in the system
log.

Dec 23 09:31:06 oh-popmap4p dovecot: imap: user=<joet>, rip=a.a.a.a,
pid=7641: read(/home6/joet/Maildir/dovecot-uidlist) failed: Input/output
error 
Dec 23 09:53:17 cc-popmap2p dovecot: imap: user=<catm>, rip=b.b.b.b,
pid=12840: read(/home3/catm/Maildir/dovecot-uidlist) failed: Input/output
error 
Dec 23 09:59:38 cc-popmap5p dovecot: imap: user=<kforrist>, rip=c.c.c.c,
pid=13539: read() failed with index cache file
/home15/kforrist/.imapidx/.INBOX/dovecot.index.cache: Input/output error

-Brad



More information about the dovecot mailing list