[Dovecot] Assertion Failure in mbox-sync.c

Todd Burroughs todd at hostopia.com
Sat May 28 00:03:33 EEST 2005


On Tue, 24 May 2005, Timo Sirainen wrote:

> But included a patch to Dovecot, it should give some more information now 
> instead of just crashing.

I've seen the error happen on a few different mailboxes since running the
patched version.  The last value is always one less than the first two.
Here's an example:

dovecot: May 27 15:55:23 Error:  8039 IMAP(dirk.hostopia.com):
MBOX /mailhome/new/d/h/dirk.hostopia.com/mbox: 
sizes differ: 400781206 vs 400781206 vs. 400781205


This is from this code in src/lib-storage/index/mbox/mbox-sync.c

                 i_error("MBOX %s: sizes differ: %"PRIuUOFF_T" vs %"
                         PRIuUOFF_T" vs. %"PRIuUOFF_T, sync_ctx->mbox->path,
                         st1.st_size, st2.st_size,
                         sync_ctx->file_input->v_offset);


Todd



More information about the dovecot mailing list