[Dovecot] Index corruption causes child process to die

Luigi Rosa lrosa at hypertrek.info
Wed Nov 8 19:46:49 UTC 2006


Timo Sirainen said the following On 7/11/2006 22:39:

> Oh, right, the patch.

It happened again ad was more serious.

{two mail arrived from two different mailing lists, Thunderbirds moves 
them in their mailbox but...}

Nov  8 20:36:44 mail dovecot: IMAP(lrosa): Fixed index file 
/var/spool/mail2/lrosa/.Postfix/dovecot.index: 
first_recent_uid_lowwater 10272 -> 10271
Nov  8 20:36:44 mail dovecot: IMAP(lrosa): Corrupted index file 
/var/spool/mail2/lrosa/.Postfix/dovecot.index: Duplicate header 
extension keywords
Nov  8 20:36:44 mail dovecot: child 12176 (imap) killed with signal 11

{I tried to open the mailbox with the new mail, but Thunderbird was 
waiting something from IMAP server, but the server was not responding 
as TB expected. I forced close TB}

Nov  8 20:36:58 mail dovecot: imap-login: Login: user=<lrosa>, 
method=plain, rip=62.123.164.114, lip=62.123.164.113
Nov  8 20:37:25 mail dovecot: IMAP(lrosa): Disconnected in IDLE
Nov  8 20:37:25 mail dovecot: IMAP(lrosa): file ioloop.c: line 22 
(io_add): assertion failed: (fd >= 0)
Nov  8 20:37:25 mail dovecot: child 15393 (imap) killed with signal 6
Nov  8 20:37:25 mail dovecot: IMAP(polo): Disconnected
Nov  8 20:37:25 mail dovecot: IMAP(polo): Disconnected
Nov  8 20:37:25 mail dovecot: IMAP(polo): Disconnected in IDLE
Nov  8 20:37:25 mail dovecot: IMAP(polo): file ioloop.c: line 22 
(io_add): assertion failed: (fd >= 0)
Nov  8 20:37:25 mail dovecot: child 12243 (imap) killed with signal 6
Nov  8 20:37:31 mail dovecot: IMAP(lrosa): Disconnected in IDLE
Nov  8 20:37:31 mail dovecot: IMAP(lrosa): file ioloop.c: line 22 
(io_add): assertion failed: (fd >= 0)
Nov  8 20:37:31 mail dovecot: child 12178 (imap) killed with signal 6
Nov  8 20:37:31 mail dovecot: IMAP(lrosa): Disconnected in IDLE
Nov  8 20:37:31 mail dovecot: IMAP(lrosa): file ioloop.c: line 22 
(io_add): assertion failed: (fd >= 0)
Nov  8 20:37:31 mail dovecot: IMAP(virusalert): Disconnected in IDLE
Nov  8 20:37:31 mail dovecot: IMAP(virusalert): file ioloop.c: line 22 
(io_add): assertion failed: (fd >= 0)
Nov  8 20:37:31 mail dovecot: IMAP(lrosa): Disconnected in IDLE
Nov  8 20:37:31 mail dovecot: IMAP(lrosa): file ioloop.c: line 22 
(io_add): assertion failed: (fd >= 0)
Nov  8 20:37:31 mail dovecot: child 12164 (imap) killed with signal 6
Nov  8 20:37:31 mail dovecot: child 12245 (imap) killed with signal 6
Nov  8 20:37:31 mail dovecot: child 15010 (imap) killed with signal 6

{I testarted Thunderbird, please note that the same thunderbird 
handles 3 different accounts on the same server, but only 'lrosa' 
receives mail, the other can be considered unused}

Nov  8 20:37:52 mail dovecot: imap-login: Login: user=<lrosa>, 
method=plain, rip=62.123.164.114, lip=62.123.164.113
Nov  8 20:37:53 mail last message repeated 2 times

{same behaviour as before, I cannot open the mailbox with the new 
mail, I have to force close TB again}

Nov  8 20:37:54 mail dovecot: IMAP(lrosa): Corrupted index file 
/var/spool/mail2/lrosa/.Postfix/dovecot.index: Duplicate header 
extension keywords
Nov  8 20:37:54 mail dovecot: IMAP(lrosa): Corrupted index file 
/var/spool/mail2/lrosa/.Postfix/dovecot.index: Duplicate header 
extension keywords
Nov  8 20:38:04 mail dovecot: imap-login: Login: user=<lrosa>, 
method=plain, rip=62.123.164.114, lip=62.123.164.113
Nov  8 20:38:09 mail dovecot: imap-login: Login: user=<lrosa>, 
method=plain, rip=62.123.164.114, lip=62.123.164.113
Nov  8 20:38:25 mail dovecot: IMAP(lrosa): Disconnected in IDLE
Nov  8 20:38:25 mail dovecot: IMAP(lrosa): file ioloop.c: line 22 
(io_add): assertion failed: (fd >= 0)
Nov  8 20:38:25 mail dovecot: child 15421 (imap) killed with signal 6
Nov  8 20:38:25 mail dovecot: IMAP(lrosa): Disconnected in IDLE
Nov  8 20:38:25 mail dovecot: IMAP(lrosa): file ioloop.c: line 22 
(io_add): assertion failed: (fd >= 0)
Nov  8 20:38:25 mail dovecot: child 15424 (imap) killed with signal 6
Nov  8 20:38:25 mail dovecot: IMAP(lrosa): Disconnected in IDLE
Nov  8 20:38:25 mail dovecot: IMAP(lrosa): file ioloop.c: line 22 
(io_add): assertion failed: (fd >= 0)
Nov  8 20:38:25 mail dovecot: child 15415 (imap) killed with signal 6

{this time I decide to stop and restart Dovecot too}

Nov  8 20:38:41 mail dovecot: Dovecot v1.0.rc13 starting up

{everything is back to normal, with the exception that the two mail 
boxes with new messages has three copies of the new message: the 
original and one for each of the two incidents above}






Ciao,
luigi

-- 
/
+--[Luigi Rosa]--
\

Organic chemistry is the chemistry of carbon compounds.
Biochemistry is the study of carbon compounds that crawl.
     --Mike Adams


More information about the dovecot mailing list