[Dovecot] A few rc17 imap crashes

Rainer Ophoven rainer at route66.homelinux.net
Tue Jan 16 22:48:16 UTC 2007


it did not take long:

dovecot: Jan 16 23:26:08 Info: imap-login: Login: user=<rainer>,
method=PLAIN, rip=192.168.1.232, lip=192.168.1.1, TLS
dovecot: Jan 16 23:32:16 Info: imap-login: Login: user=<rainer>,
method=PLAIN, rip=192.168.1.232, lip=192.168.1.1, TLS
dovecot: Jan 16 23:37:14 Error: IMAP(rainer): Fixed index file
/home/rainer/Maildir/.INBOX.dovecot/dovecot.index:
first_recent_uid_lowwater 330 -> 329
dovecot: Jan 16 23:37:14 Error: IMAP(rainer): Corrupted index file
/home/rainer/Maildir/.INBOX.dovecot/dovecot.index: Record field keywords
points outside record size (12 < 12+2)
dovecot: Jan 16 23:37:14 Error: IMAP(rainer): Corrupted index file
/home/rainer/Maildir/.INBOX.dovecot/dovecot.index: Record field keywords
points outside record size (12 < 12+2)
dovecot: Jan 16 23:37:14 Error: IMAP(rainer): Corrupted index file
/home/rainer/Maildir/.INBOX.dovecot/dovecot.index: Record field keywords
points outside record size (12 < 12+2)
dovecot: Jan 16 23:37:14 Error: IMAP(rainer): Corrupted index file
/home/rainer/Maildir/.INBOX.dovecot/dovecot.index: Record field keywords
points outside record size (12 < 12+2)
dovecot: Jan 16 23:37:14 Error: child 1239 (imap) killed with signal 11
dovecot: Jan 16 23:39:15 Info: imap-login: Login: user=<rainer>,
method=PLAIN, rip=192.168.1.232, lip=192.168.1.1, TLS
dovecot: Jan 16 23:39:15 Error: IMAP(rainer): Corrupted index file
/home/rainer/Maildir/.INBOX.dovecot/dovecot.index: Record field keywords
points outside record size (12 < 12+2)
dovecot: Jan 16 23:39:15 Error: IMAP(rainer): Corrupted index file
/home/rainer/Maildir/.INBOX.dovecot/dovecot.index: Record field keywords
points outside record size (12 < 12+2)

my setup: linux 2.4.34, postfix, amavisd, dovecot, thunderbird-1.5.0.9
on XP, with rules moving incoming mails depending on "subject" and
"from" into various subfolders.

Timo Sirainen wrote:
> On Tue, 2007-01-16 at 16:24 +0000, Chris Wakelin wrote:
>> Timo Sirainen wrote:
>>> On Thu, 2007-01-11 at 21:32 +0000, Chris Wakelin wrote:
>>>>> dovecot: Jan 11 11:39:59 Info: IMAP 5751 xxxxxxxx xxx.xxx.xxx.xxx : Opened Sent (18 msgs)
>>>>> dovecot: Jan 11 11:39:59 Error: child 5751 (imap) killed with signal 11
>>>>> dovecot: Jan 11 12:28:49 Info: IMAP 12765 xxxxxxxx xxx.xxx.xxx.xxx : Disconnected: Internal error occurred. Refer to server log for more information. [2007-01-11 12:28:49]
>>>>> dovecot: Jan 11 12:28:49 Error: child 12765 (imap) killed with signal 10
>>> Didn't it log the internal error?
>> Sorry, yes, it was:
>> Corrupted Index file <path>/.imap/Gloria/dovecot.index: Record [2].uid=0
>>
>> I've had four of these between 11th-15th January, all for different
>> folders/users, not always "Record [2]" but all of them had "uid=0".
> 
> I'm beginning to think that this has something to do with creating index
> files and a race condition somewhere in it. I've done a couple of fixes
> that should change this error message to something else:
> 
> http://dovecot.org/list/dovecot-cvs/2007-January/007375.html
> http://dovecot.org/list/dovecot-cvs/2007-January/007377.html
> http://dovecot.org/list/dovecot-cvs/2007-January/007385.html
> 
> The last patch is the most important one, if my guess is correct. You
> should then start seeing "Record field cache points outside record
> size". I'm still not sure why that happens though.
> 
> Hmm. Actually I think that would also explain the memory corruption.
> Great, one less thing to worry about. Now please just tell me that my
> fix works? ;)

-- 
in diesem Sinne,
Rainer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 208 bytes
Desc: OpenPGP digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20070116/86820594/attachment.pgp 


More information about the dovecot mailing list