On 03/23/2015 12:10 AM, Gedalya wrote:
This happened after upgrading to 2.2.16. Running on Debian wheezy amd64. We never had such a crash on this server before. However, this too was a single incident. All accounts use Maildir.
Mar 21 09:32:02 imap1 dovecot: imap(----@---.com): Error: Log synchronization error at seq=0,offset=0 for /stor/mail/domains/----/----/Maildir/dovecot.index: Append with UID 6684, but next_uid = 6685 Mar 21 09:32:02 imap1 dovecot: imap(----@---.com): Error: /stor/mail/domains/----/----/Maildir/dovecot.index view syncing failed to apply changes Mar 21 09:32:02 imap1 dovecot: imap(----@---.com): Panic: file index-sync.c: line 265 (index_mailbox_sync_next_expunge): assertion failed: (range->seq2 <= ctx->messages_count) Mar 21 09:32:02 imap1 dovecot: imap(----@---.com): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x7b57f) [0x7f34cd27c57f] -> /usr/lib/dovecot/libdovecot.so.0(+0x7b5de) [0x7f34cd27c5de] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f34cd22b0d5] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xb5391) [0x7f34cd5a6391] -> dovecot/imap ----@---.com xx.xx.xx.xx UID FETCH - 2373 bytes waiting [0x7f34cda5ad2e] -> dovecot/imap ----@---.com xx.xx.xx.xx UID FETCH - 2373 bytes waiting [0x7f34cda5b344] -> dovecot/imap ----@---.com xx.xx.xx.xx UID FETCH - 2373 bytes waiting [0x7f34cda5b67f] -> dovecot/imap ----@---.com xx.xx.xx.xx UID FETCH - 2373 bytes waiting [0x7f34cda52910] -> /usr/lib/dovecot/libdovecot.so.0(+0x98a85) [0x7f34cd299a85] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7f34cd28e80b] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xbb) [0x7f34cd28f88b] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x9) [0x7f34cd28e899] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f34cd28e918] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f34cd2307d3] -> dovecot/imap ----@---.com xx.xx.xx.xx UID FETCH - 2373 bytes waiting [0x7f34cda46997] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f34cce94ead] -> dovecot/imap ----@---.com xx.xx.xx.xx UID FETCH - 2373 bytes waiting [0x7f34cda46b09] Mar 21 09:32:02 imap1 dovecot: imap(----@---.com): Fatal: master: service(imap): child 30144 killed with signal 6 (core dumps disabled)
And now it just happened, again, same user!
The previous dovecot version before the upgrade was 2.2.12
Mar 28 07:51:17 imap1 dovecot: imap(----@----.com): Error: Log synchronization error at seq=0,offset=0 for /stor/mail/domains/----.com/----/Maildir/dovecot.index: Append with UID 12794, but next_uid = 12795 Mar 28 07:51:17 imap1 dovecot: imap(----@----.com): Error: /stor/mail/domains/----.com/----/Maildir/dovecot.index view syncing failed to apply changes Mar 28 07:51:17 imap1 dovecot: imap(----@----.com): Panic: file index-sync.c: line 265 (index_mailbox_sync_next_expunge): assertion failed: (range->seq2 <= ctx->messages_count) Mar 28 07:51:17 imap1 dovecot: imap(----@----.com): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x7b57f) [0x7f136acdc57f] -> /usr/lib/dovecot/libdovecot.so.0(+0x7b5de) [0x7f136acdc5de] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f136ac8b0d5] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xb5391) [0x7f136b006391] -> dovecot/imap ----@----.com xx.xx.xx.xx UID FETCH [0x7f136b4bad2e] -> dovecot/imap ----@----.com xx.xx.xx.xx UID FETCH [0x7f136b4bb344] -> dovecot/imap ----@----.com xx.xx.xx.xx UID FETCH [0x7f136b4bb67f] -> dovecot/imap ----@----.com xx.xx.xx.xx UID FETCH [0x7f136b4b2725] -> dovecot/imap ----@----.com xx.xx.xx.xx UID FETCH [0x7f136b4b2a35] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7f136acee80b] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xbb) [0x7f136acef88b] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x9) [0x7f136acee899] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7f136acee918] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f136ac907d3] -> dovecot/imap ----@----.com xx.xx.xx.xx UID FETCH [0x7f136b4a6997] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f136a8f4ead] -> dovecot/imap ----@----.com xx.xx.xx.xx UID FETCH [0x7f136b4a6b09] Mar 28 07:51:17 imap1 dovecot: imap(----@----.com): Fatal: master: service(imap): child 12444 killed with signal 6 (core dumps disabled)