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