In order to provide more information, here is a sample output of mail.err:
Mar 7 13:37:30 mba dovecot: imap(document): Error: mdbox map
/mba_data/emails/document/storage/dovecot.map.index corrupted:
map_uid=284393 refcount too low
Mar 7 13:37:30 mba dovecot: imap(document): Fatal: master: service(imap):
child 7549 killed with signal 11 (core dumped)
Mar 7 13:37:30 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/Drafts/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:37:30 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/Templates/_Old/dbox-Mails/dovecot.index
reset, view is now inconsistent
Mar 7 13:37:30 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/Templates/Divers/dbox-Mails/dovecot.index
reset, view is now inconsistent
Mar 7 13:37:31 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/Sent/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:37:31 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/_QSW - a
verifier/dbox-Mails/dovecot.index reset, view is now inconsistent
Mar 7 13:37:31 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/Anick/dbox-Mails/dovecot.index
reset, view is now inconsistent
Mar 7 13:37:31 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/Anick/dbox-Mails/dovecot.index
reset, view is now inconsistent
Mar 7 13:37:31 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/Kristine/dbox-Mails/dovecot.index
reset, view is now inconsistent
Mar 7 13:37:31 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/PO/dbox-Mails/dovecot.index
reset, view is now inconsistent
Mar 7 13:37:31 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/Daphne/dbox-Mails/dovecot.index
reset, view is now inconsistent
Mar 7 13:37:31 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:37:31 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/Sent/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:37:31 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:37:31 dovecot: last message repeated 4 times
Mar 7 13:37:31 mba dovecot: imap(document): Error: mdbox map
/mba_data/emails/document/storage/dovecot.map.index corrupted:
map_uid=284393 refcount too low
Mar 7 13:37:32 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:37:32 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:37:32 mba dovecot: imap(document): Fatal: master: service(imap):
child 7561 killed with signal 11 (core dumped)
Mar 7 13:37:33 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:37:33 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/Sent/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:37:34 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:37:34 dovecot: last message repeated 2 times
Mar 7 13:37:34 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/Sent/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:37:34 mba dovecot: imap(document): Error:
/mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
view is now inconsistent
Mar 7 13:38:59 dovecot: last message repeated 3 times
On Mon, Mar 7, 2016 at 12:58 PM, Joe Beaubien <joe.beaubien at gmail.com>
wrote:
> Hi everyone,
>
> Dovecot keeps on segfaulting on me and I am unsure why. This setup has
> been running for 5 years and has given me very little trouble.
>
> I am running Dovecot 2.1.7, setup with mdbox.
>
> The imap process keeps on segfaulting for the same account (makes me think
> maybe an email or folder of that account is problematic).
>
> My big issue is that force-resync also causes doveadm to segfault.
>
> Here is the mail.err file I am getting:
>
> Mar 7 12:34:36 mba kernel: [ 1955.486324] imap[5663]: segfault at 0 ip
> 00007ff1c1bd0b5e sp 00007fffd8599a40 error 4 in
> libdovecot-storage.so.0.0.0[7ff1c1b51000+fb000]
> Mar 7 12:34:36 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/INBOX/Sara/dbox-Mails/dovecot.index
> reset, view is now inconsistent
> Mar 7 12:34:36 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/INBOX/Lucie/dbox-Mails/dovecot.index
> reset, view is now inconsistent
> Mar 7 12:34:37 mba dovecot: imap(document): Error: mdbox map
> /mba_data/emails/document/storage/dovecot.map.index corrupted:
> map_uid=284393 refcount too low
> Mar 7 12:34:37 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/Templates/dbox-Mails/dovecot.index
> reset, view is now inconsistent
> Mar 7 12:34:39 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/Sent/dbox-Mails/dovecot.index reset,
> view is now inconsistent
> Mar 7 12:34:40 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
> view is now inconsistent
> Mar 7 12:34:40 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
> view is now inconsistent
> Mar 7 12:34:41 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
> view is now inconsistent
> Mar 7 12:34:41 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
> view is now inconsistent
> Mar 7 12:34:41 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
> view is now inconsistent
> Mar 7 12:34:42 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/INBOX/_EE - a
> verifier/dbox-Mails/dovecot.index reset, view is now inconsistent
> Mar 7 12:34:43 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/INBOX/dbox-Mails/dovecot.index reset,
> view is now inconsistent
> Mar 7 12:34:48 mba kernel: [ 1967.972883] imap[5688]: segfault at 0 ip
> 00007f058ebc9b5e sp 00007fff9baa7c00 error 4 in
> libdovecot-storage.so.0.0.0[7f058eb4a000+fb000]
> Mar 7 12:34:49 mba dovecot: imap(document): Error:
> /mba_data/emails/document/mailboxes/INBOX/Lucie/dbox-Mails/dovecot.index
> reset, view is now inconsistent
> Mar 7 12:43:44 mba dovecot: imap(document): Error: indexer disconnected
> unexpectedly
> Mar 7 12:43:44 mba dovecot: indexer: Error: Indexer worker disconnected,
> discarding 119 requests for document
> Mar 7 12:48:31 mba kernel: [ 2790.363755] doveadm[6586]: segfault at 0 ip
> 00007f1b2023fb5e sp 00007fff4e8ce200 error 4 in
> libdovecot-storage.so.0.0.0[7f1b201c0000+fb000]
> Mar 7 12:49:10 mba kernel: [ 2829.203900] doveadm[6604]: segfault at 0 ip
> 00007fa0d16e4b5e sp 00007fff1b89f480 error 4 in
> libdovecot-storage.so.0.0.0[7fa0d1665000+fb000]
>
>
> First line is imap segfaulting. Last lines are doveadm segfaulting when I
> try to run force-resync.
>
> Does anyone have any clue what to do in this situation?
>
> Regards,
>
> -Joe
>
>
>
>
>