[Dovecot] A few rc17 imap crashes

Timo Sirainen tss at iki.fi
Tue Jan 16 22:19:23 UTC 2007


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? ;)
-------------- 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/20070117/102dd7c4/attachment.pgp 


More information about the dovecot mailing list