[Dovecot] dovecot panic after upgrade 1.0.15 to 1.1.2

Timo Sirainen tss at iki.fi
Fri Aug 22 04:45:39 EEST 2008


On Thu, 2008-08-21 at 20:19 -0500, Eric Rostetter wrote:
> Quoting Timo Sirainen <tss at 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))
> >
> > http://dovecot.org/list/dovecot/2008-August/033132.html
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080822/85584e9d/attachment.bin 


More information about the dovecot mailing list