I recently upgraded dovecot from 1.0.15 to 1.1.2 and since then I am getting the following types of things in the logs:
Aug 21 17:23:13 mail1 dovecot: imap-login: Login: user=<myuser>,
method=PLAIN, rip=172.16.78.20, lip=172.16.78.22
Aug 21 17:24:01 mail1 dovecot: Panic: IMAP(myuser): file index-sync.c:
line 39 (index_mailbox_set_recent_uid): assertion failed:
(seq_range_exists(&ibox->recent_flags, uid))
Aug 21 17:24:01 mail1 dovecot: IMAP(myuser): Raw backtrace: imap
[0x80d25bb] -> imap [0x80d2def] -> imap [0x80d2719] -> imap
[0x809edb8] -> imap(index_mailbox_set_recent_seq+0x46) [0x809ee06] ->
imap [0x8083183] -> imap [0x8083621] -> imap [0x8083c3c] ->
imap(mbox_sync+0x25) [0x80840d5] -> imap [0x807b993] ->
imap(mail_index_transaction_commit+0x51) [0x80aee31] ->
imap(index_transaction_commit+0x52) [0x809fe32] ->
imap(mailbox_transaction_commit_get_uids+0x34) [0x80a2874] ->
imap(cmd_copy+0x16a) [0x805b19a] -> imap [0x806068e] -> imap
[0x8060536] -> imap [0x80606ea] -> imap [0x8060791] ->
imap(client_input+0x67) [0x8060897] -> imap(io_loop_handler_run+0x112)
[0x80daa92] -> imap(io_loop_run+0x2f) [0x80d9e4f] -> imap(main+0x61)
[0x8068d81] -> /lib/tls/libc.so.6(__libc_start_main+0xda) [0x12679a]
-> imap(__fxstat64+0x6d) [0x8059ed1]
Did I miss something in the upgrade process, or is this a bug that has yet to be fixed?
This seems to be happening to many various users for various reasons. But I can verify for Andreas M. Kirchwitz who noted the other day that one of the easiest way to produce it seems to be "saving" or "moving" between folders in (Al)Pine...
If Timo wants, I can send the dovecot.(index|index.cache|index.log) files for when this happens, but I would need to know what to send (both the folder being moved from and folder being moved to, or just one of them) and anything else needed, and the email to send them to. Sending the folder itself might be problematic, but might be possible.
If we can't get this resolved by early next week, I might have to downgrade back to the previous version...
-- Eric Rostetter The Department of Physics The University of Texas at Austin
Go Longhorns!