[Dovecot] assertion failed in 1.1.7 file mbox-sync.c: line 1305 (mbox_sync_handle_eof_updates)

Diego Liziero diegoliz at gmail.com
Sat Dec 13 11:49:13 EET 2008


On Thu, Dec 4, 2008 at 8:26 AM, Diego Liziero <diegoliz at gmail.com> wrote:
> Dovecot 1.1.7 is running so smoothly that I gave up checking its log
> files daily. :)
>
> I've just had a look, and among the usual
> "IMAP(username): FETCH for mailbox Sent UID xx got too little data: xx vs xx"
> messages (that means that unfortunately sometimes some messages are
> still written truncated) I saw this assertion failure:
>
> file mbox-sync.c: line 1305 (mbox_sync_handle_eof_updates): assertion
> failed: (file_size >=
>  sync_ctx->expunged_space + trailer_size)

Btw:
(gdb) fr 6
#6  0x080911de in mbox_sync_handle_eof_updates (sync_ctx=0xbfbac0f4,
mail_ctx=0xbfbac008) at mbox-sync.c:1305
1305                    i_assert(file_size >= sync_ctx->expunged_space
+ trailer_size);
(gdb) print file_size
$1 = 242
(gdb) print sync_ctx->expunged_space
$2 = 243
(gdb) print trailer_size
$3 = 0

Regards,
Diego.


More information about the dovecot mailing list