[Dovecot] beta8: cores on corrupted index file
Timo,
I saw a couple of these cores over the weekend. The syslog says:
May 21 19:04:48 emerald dovecot: [ID 107833 mail.error] IMAP(user): Corrupted index cache file /home/students/s/user/.imap/sent-mail-apr-2004/dovecot.index.cache: indexid changed
With a resulting core file from imap at this time. I also discovered a remaining lock file on the person's imap file:
-rw------- 1 user user 3088940 May 10 2004 sent-mail-apr-2004 -rw------- 1 user user 13 May 21 19:04 sent-mail-apr-2004.lock
The lockfile contains the pid of the process that cores:
May 21 19:04:48 emerald dovecot: [ID 684838 mail.error] child 17480 (imap) killed with signal 11
The gdb output of the core file is attached.
Jeff Earickson Colby College
On Mon, 2006-05-22 at 10:22 -0400, Jeff A. Earickson wrote:
May 21 19:04:48 emerald dovecot: [ID 107833 mail.error] IMAP(user): Corrupted index cache file /home/students/s/user/.imap/sent-mail-apr-2004/dovecot.index.cache: indexid changed
The crash if fixed in CVS, and also the actual cause of it is probably fixed also. I did several fixes to cache file handling code and can't anymore get it to cause errors.
participants (2)
-
Jeff A. Earickson
-
Timo Sirainen