On Mon, 2007-09-10 at 10:16 -0700, Doug Council wrote:
I have been getting these assertion failures every couple days, killing the IMAP process. After it happens, I can login immediately and everything is fine until it happens again. Here is the log entry:
Sep 10 10:03:41 mailbox-4 dovecot: nh: IMAP(username): file mail-index-view-sync.c: line 666 (mail_index_view_sync_end): assertion failed: (view->log_file_offset >= view->map->hdr.log_file_int_offset) Sep 10 10:03:41 mailbox-4 dovecot: child 38458 (imap) killed with signal 6
It started after I disabled indexing for deliver and IMAP:
I suppose it's because of that. I just tried running stress testing with indexes disabled, but I couldn't reproduce this.
I probably could get it fixed if I looked hard enough at the code, but I'd rather use my time to make a stable v1.1.0 release. Its indexing code has had major changes, and this assert doesn't even exist in it anymore.