Re: [Dovecot] Crash: index-mail.c: line 790
On Thu, February 22, 2007 2:51 pm, Timo Sirainen tss@iki.fi said:
BTW. Could you add %p (pid) to mail_log_prefix? That would tell in situations like these if these errors came from the same process or a different one.
I've added the pid to the log right after the username. Here is another similar crash...
Mar 4 17:21:26 mail40a dovecot: IMAP(flanigan@example.com)(27115): file index-mail.c: line 790: unreached Mar 4 17:21:26 mail40a dovecot: IMAP(flanigan@example.com)(27115): Raw backtrace: imap [0x80a6832] -> imap [0x80a63af] -> imap [0x8081acd] -> imap(mail_set_seq+0x10) [0x8099f3c] -> imap(index_storage_search_next+0x3b) [0x80844c7] -> imap(mailbox_search_next+0x14) [0x809ad40] -> imap(imap_fetch+0x64) [0x805cff4] -> imap(cmd_fetch+0xee) [0x805899a] -> imap(cmd_uid+0x4d) [0x805b19d] -> imap [0x805bb86] -> imap [0x805bb00] -> imap(_client_input+0x5a) [0x805bc4e] -> imap(io_loop_handler_run+0x10c) [0x80ab980] -> imap(io_loop_run+0x25) [0x80aadf9] -> imap(main+0x6b) [0x8062b73] -> /lib/tls/libc.so.6(__libc_start_main+0xda) [0x13d78a] -> imap(setuid+0xa1) [0x8056e8d] Mar 4 17:21:26 mail40a dovecot: child 27115 (imap) killed with signal 6 Mar 4 17:21:31 mail40a dovecot: IMAP(flanigan@example.com)(27199): fscking index file /data1/mail/ex/example.com/fl/flanigan/.Trash/dovecot.index Mar 4 17:21:31 mail40a dovecot: IMAP(flanigan@example.com)(27199): Fixed index file /data1/mail/ex/example.com/fl/flanigan/.Trash/dovecot.index: first_recent_uid_lowwater 3345 -> 3297
On Sun, 2007-03-04 at 17:34 -0500, Bill Boebel wrote:
On Thu, February 22, 2007 2:51 pm, Timo Sirainen tss@iki.fi said:
BTW. Could you add %p (pid) to mail_log_prefix? That would tell in situations like these if these errors came from the same process or a different one.
I've added the pid to the log right after the username. Here is another similar crash...
Mar 4 17:21:26 mail40a dovecot: IMAP(flanigan@example.com)(27115): file index-mail.c: line 790: unreached
This time there weren't those "Append with UID xx, but next_uid = yy" errors before this?
On Sun, 2007-03-04 at 17:34 -0500, Bill Boebel wrote:
On Thu, February 22, 2007 2:51 pm, Timo Sirainen tss@iki.fi said:
BTW. Could you add %p (pid) to mail_log_prefix? That would tell in situations like these if these errors came from the same process or a different one.
I've added the pid to the log right after the username. Here is another similar crash...
Mar 4 17:21:26 mail40a dovecot: IMAP(flanigan@example.com)(27115): file index-mail.c: line 790: unreached
Maybe this fixes it: http://dovecot.org/list/dovecot-cvs/2007-March/007959.html
This makes the logging a bit better: http://dovecot.org/list/dovecot-cvs/2007-March/007961.html
If the above didn't help, this fix might also have something to do with it: http://dovecot.org/list/dovecot-cvs/2007-March/007953.html
On Tue, 2007-03-06 at 22:26 +0200, Timo Sirainen wrote:
Mar 4 17:21:26 mail40a dovecot: IMAP(flanigan@example.com)(27115): file index-mail.c: line 790: unreached
Maybe this fixes it: http://dovecot.org/list/dovecot-cvs/2007-March/007959.html
Actually this shouldn't happen normally. I think the code exists only for dbox. But I'm not sure if it still gets there somehow. Added an assert to find out: http://dovecot.org/list/dovecot-cvs/2007-March/007962.html
participants (2)
-
Bill Boebel
-
Timo Sirainen