Hi, this seems to have done it! I've applied the former patch as well as these ones to all our servers and haven't seen that error for over an hour.
Thanks,
Nuno Lopes
Timo Sirainen wrote:
On Thu, 2008-06-05 at 15:01 +0100, Nuno Lopes wrote:
Hi, I'm getting this assertion after making an upgrade from 1.1rc3 to 1.1rc7. Deleting the index files solves the problem. This seems to happen only to some accounts but I haven't managed to find which ones. I'm using dovecot's deliver to deliver the messages.
Panic: IMAP(user@example.com): file index-sort-string.c: line 575 (index_sort_add_ids_range): assertion failed: (strcmp(left_str, str) < 0)
I did several fixes to sort indexes:
http://hg.dovecot.org/dovecot-1.1/rev/5824e6f1d279 http://hg.dovecot.org/dovecot-1.1/rev/63602977ca9b http://hg.dovecot.org/dovecot-1.1/rev/dd899a1841d9