On Thu, 2008-08-21 at 20:19 -0500, Eric Rostetter wrote:
Quoting Timo Sirainen tss@iki.fi:
On Thu, 2008-08-21 at 17:50 -0500, Eric Rostetter wrote:
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))
I saw that, but the line "just comment out that line" is kind of confusing as to which line (or lines) I should comment out. Is it just the assert (and leave the return), or is it the whole conditional around the assert, or something else?
I meant the assert itself (or change it to an i_error("recent flag bug")). Although few clients really use recent flags, so it probably doesn't matter much what you do. :)
Anyway I'll try to look into why it's crashing. But it doesn't look like I can reproduce this with my imaptest tool, since it's been running for 2,5 hours now without this crash.
You could also see if this patch happens to help (probably not): http://hg.dovecot.org/dovecot-1.1/rev/7f5cc9e805ec