[Dovecot] test80: assert/core debug info

Timo Sirainen tss at iki.fi
Wed Aug 17 02:32:20 EEST 2005


On 16.8.2005, at 18:14, Jeff A. Earickson wrote:

> Attached is gdb information from core dumps related to the
> following assert in test-80:
>
> IMAP(username): file mbox-sync-update.c: line 442 
> (mbox_sync_update_header_from): assertion failed: (ctx->mail.uid == 0 
> || ctx->mail.uid_broken || ctx->mail.uid == mail->uid)
..

This patch will fix it I think?

--- src/lib-storage/index/mbox/mbox-sync-parse.c        7 Aug 2005 
11:28:13 -0000       1.44
+++ src/lib-storage/index/mbox/mbox-sync-parse.c        16 Aug 2005 
23:30:00 -0000
@@ -342,7 +342,7 @@
                 return TRUE;
         }

-       if (ctx->sync_ctx->seq == 1 && !ctx->seen_imapbase) {
+       if (ctx->seq == 1 && !ctx->seen_imapbase) {
                 /* Don't bother allowing X-UID before X-IMAPbase
                    header. c-client doesn't allow it either, and this
                    way the UID doesn't have to be reset if X-IMAPbase
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20050817/86a2a2ba/PGP.pgp


More information about the dovecot mailing list