[Dovecot] dovecot-1.1.rc3 segmentation fault in fetch_bodystructure

Diego Liziero diegoliz at gmail.com
Tue Mar 11 10:55:02 EET 2008


On Tue, Mar 11, 2008 at 9:09 AM, Timo Sirainen <tss at iki.fi> wrote:
>
>  Well, I'm not sure how you managed to cause this, but this should fix
>  it: http://hg.dovecot.org/dovecot-1.1/rev/7e27d67d3abe

Thank you Timo for the quick fix,
here we have latest rc3 in a production environment.
It has been used by over 600 users in the last 2 days.

The most failing assertion (9694 times in 2 days) is the one I posted yesterday:
Panic: IMAP(username): file index-sync.c: line 39
(index_mailbox_set_recent_uid): assertion failed:
(seq_range_exists(&ibox->recent_flags, uid))

It happens when users are moving messages to Trash folder with thunderbird.
The workaround for the user is to delete directly the messages without
moving them to Trash.

We had also some trouble with pop3. A couple of users weren't able to
get new mail (see log below) until we deleted completely their .imap
dir.

Diego.
---
Error: POP3(username): Cached message offset lost for seq 1 in mbox
file /maildir/username
Error: POP3(username): Log synchronization error at seq=1,offset=7824
for /maildir/username/.imap/INBOX/dovecot.index: Broken extension
introduction: Record field alignmentation 8 not used
Error: POP3(username): Log synchronization error at seq=1,offset=7856
for /maildir/username/.imap/INBOX/dovecot.index: Broken extension
introduction: Record field points outside record size (0+16 > 12)
Error: POP3(username): Log synchronization error at seq=1,offset=7928
for /maildir/username/.imap/INBOX/dovecot.index: Broken extension
introduction: Record field alignmentation 8 not used
Error: POP3(username): Log synchronization error at seq=1,offset=8004
for /maildir/username/.imap/INBOX/dovecot.index: Broken extension
introduction: Record field points outside record size (0+16 > 12)
Warning: POP3(username): fscking index file
/maildir/username/.imap/INBOX/dovecot.index
Error: POP3(username): Cached message offset lost for seq 1 in mbox
file /cl/e/spool-mail/username
Error: POP3(username): Log synchronization error at seq=1,offset=8208
for /maildir/username/.imap/INBOX/dovecot.index: Broken extension
introduction: Record field alignmentation 8 not used
Error: POP3(username): Log synchronization error at seq=1,offset=8240
for /maildir/username/.imap/INBOX/dovecot.index: Broken extension
introduction: Record field points outside record size (0+16 > 12)
Error: POP3(username): Log synchronization error at seq=1,offset=8312
for /maildir/username/.imap/INBOX/dovecot.index: Broken extension
introduction: Record field alignmentation 8 not used
Error: POP3(username): Log synchronization error at seq=1,offset=8388
for /maildir/username/.imap/INBOX/dovecot.index: Broken extension
introduction: Record field points outside record size (0+16 > 12)
Warning: POP3(username): fscking index file
/maildir/username/.imap/INBOX/dovecot.index
Error: POP3(username): Sending log messages too fast, throttling..
Error: POP3(username): Couldn't init INBOX: Can't sync mailbox:
Messages keep getting expunged


More information about the dovecot mailing list