Re: [Dovecot] mbox assertion failure
On Sun, 2006-01-08 at 18:56 +0000, Michael Stevens wrote:
Jan 8 18:53:12 saigo dovecot: imap(mstevens): file mbox-sync-rewrite.c: line 106 (mbox_sync_headers_add_space): assertion failed: (start_pos < data_size)
For everyone else too, attached patch fixes this.
Timo Sirainen wrote ..
On Sun, 2006-01-08 at 18:56 +0000, Michael Stevens wrote:
Jan 8 18:53:12 saigo dovecot: imap(mstevens): file mbox-sync-rewrite.c: line 106 (mbox_sync_headers_add_space): assertion failed: (start_pos < data_size)
For everyone else too, attached patch fixes this. Will this patch get merged into CVS? I have been having the same errors with the inbox files (/var/spool/mail/%user%).
Harout Hedeshian
On 8 Jan 2006, at 21:46, Harout S. Hedeshian wrote:
Timo Sirainen wrote ..
On Sun, 2006-01-08 at 18:56 +0000, Michael Stevens wrote:
Jan 8 18:53:12 saigo dovecot: imap(mstevens): file mbox-sync-rewrite.c: line 106 (mbox_sync_headers_add_space):
assertion failed: (start_pos < data_size)For everyone else too, attached patch fixes this.
Since rebuilding with the patch I've seen:
Jan 8 21:40:17 saigo dovecot: imap(mstevens): Corrupted index cache
file /home/
mstevens/mail/.imap/INBOX/dovecot.index.cache: record points outside
file
once, and:
Jan 8 21:41:50 saigo dovecot: imap(mstevens): UIDs broken with
partial sync in
mbox file /home/mstevens/mail/tss
For a number of mailboxes.
Should any of these worry me?
Michael
On Sun, 2006-01-08 at 21:51 +0000, Michael Stevens wrote:
For everyone else too, attached patch fixes this.
Since rebuilding with the patch I've seen:
Jan 8 21:40:17 saigo dovecot: imap(mstevens): Corrupted index cache
file /home/ mstevens/mail/.imap/INBOX/dovecot.index.cache: record points outside
fileonce, and:
Jan 8 21:41:50 saigo dovecot: imap(mstevens): UIDs broken with
partial sync in mbox file /home/mstevens/mail/tssFor a number of mailboxes.
Should any of these worry me?
If you're able to reproduce these, I'd like to know how. But I doubt the patch had anything to do with these. Probably these happened only once to each mailbox? Anyway both of them are the kind of problems that Dovecot fixes itself transparently.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 8 Jan 2006, at 22:16, Timo Sirainen wrote:
If you're able to reproduce these, I'd like to know how. But I
doubt the patch had anything to do with these. Probably these happened only once to each mailbox? Anyway both of them are the kind of problems that Dovecot fixes itself transparently.
I suspect I can't, but I'll let you know if I work it out. I think it
was Apple Mail trying to do a sync of all my mailboxes.
It did only happen once to each mailbox.
Michael
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin)
iD8DBQFDwY+oyzbtqr+wCIgRArVTAJsFKJNsSNWzfOi8BUQka+EEefCXFQCfUBxy YUvo6Evy/11lx+2rrjkSzeM= =KhuJ -----END PGP SIGNATURE-----
On Sun, 2006-01-08 at 14:46 -0700, Harout S. Hedeshian wrote:
Timo Sirainen wrote ..
On Sun, 2006-01-08 at 18:56 +0000, Michael Stevens wrote:
Jan 8 18:53:12 saigo dovecot: imap(mstevens): file mbox-sync-rewrite.c: line 106 (mbox_sync_headers_add_space): assertion failed: (start_pos < data_size)
For everyone else too, attached patch fixes this. Will this patch get merged into CVS?
Already is there.
(06.01.08 kl.23:28) Timo Sirainen skrev följande till dovecot@dovecot.org:
On Sun, 2006-01-08 at 18:56 +0000, Michael Stevens wrote:
Jan 8 18:53:12 saigo dovecot: imap(mstevens): file mbox-sync-rewrite.c: line 106 (mbox_sync_headers_add_space): assertion failed: (start_pos < data_size)
For everyone else too, attached patch fixes this.
I have alpha5 patched with this and see the following sometimes:
dovecot: Jan 10 16:24:32 Error: imap(gostae): file mbox-sync-update.c: line 49 (mbox_sync_move_buffer): assertion failed: (ctx->mail.offset + ctx->mail.space <= pos || ctx->mail.offset > pos + have) dovecot: Jan 10 16:24:32 Error: child 13969 (imap) killed with signal 6
Anything you need to figure this one out ?
Thanks, Jens Låås
'Old C programmers don't die ... they're just cast into void*'
Jens Låås Email: jens.laas@data.slu.se
Department of Computer Services, SLU Phone: +46 18 67 35 15
Vindbrovägen 1
P.O. Box 7079
S-750 07 Uppsala
SWEDEN
participants (4)
-
Harout S. Hedeshian
-
Jens Laas
-
Michael Stevens
-
Timo Sirainen