[Dovecot] Backtrace on mdbox index
Hello,
I current using dovecot with mdbox and on one account i get this error:
doveadm(user@domain): Panic: file mail-index-sync-ext.c: line 209 (sync_ext_reorder): assertion failed: (offset < (uint16_t)-1) doveadm(user@domain): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x3fd8a) [0x7fae684fdd8a] -> /usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x32) [0x7fae684fde72] -> /usr/lib/dovecot/libdovecot.so.0(i_error+0) [0x7fae684d719f] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x9bdc3) [0x7fae68c1edc3] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_ext_intro+0x1e6) [0x7fae68c1fa76] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_record+0x49f) [0x7fae68c21a3f] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_map+0x234) [0x7fae68c225a4] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_map+0x86) [0x7fae68c13cd6] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x8b609) [0x7fae68c0e609] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_open+0x210) [0x7fae68c0eaa0] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x591c6) [0x7fae68bdc1c6] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_map_get_zero_ref_files+0x2d) [0x7fae68bdcd6d] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_purge+0xbc) [0x7fae68bde7ac] -> doveadm() [0x40a135] -> doveadm() [0x40a813] -> doveadm(doveadm_mail_single_user+0x61) [0x40a8d1] -> doveadm() [0x40aafd] -> doveadm(doveadm_mail_try_run+0x141) [0x40af11] -> doveadm(main+0x381) [0x4109c1] -> /lib/libc.so.6(__libc_start_main+0xfd) [0x7fae67d6ec8d] -> doveadm() [0x409ff9] Aborted
All doveadm commands fail on thie error, index / force-resync / search / fetch etc.
Any help?
On Mon, 2012-04-02 at 11:14 -0300, Francisco Wagner C. Freire wrote:
I current using dovecot with mdbox and on one account i get this error:
doveadm(user@domain): Panic: file mail-index-sync-ext.c: line 209 (sync_ext_reorder): assertion failed: (offset < (uint16_t)-1)
Dovecot version? I think I've fixed this in recent v2.1.x.
I tried with dovecot 2.1.3 and got the same error, any ideia ?
2012/4/3 Timo Sirainen tss@iki.fi
On Mon, 2012-04-02 at 11:14 -0300, Francisco Wagner C. Freire wrote:
I current using dovecot with mdbox and on one account i get this error:
doveadm(user@domain): Panic: file mail-index-sync-ext.c: line 209 (sync_ext_reorder): assertion failed: (offset < (uint16_t)-1)
Dovecot version? I think I've fixed this in recent v2.1.x.
--
Jean Michel Feltrin
Could you privately send me your all of your dovecot.index, dovecot.index.log, dovecot.map.index and dovecot.map.index.log files under mdbox? None of those contain any sensitive data.
On Tue, 2012-04-03 at 11:17 -0300, Jean Michel wrote:
I tried with dovecot 2.1.3 and got the same error, any ideia ?
2012/4/3 Timo Sirainen tss@iki.fi
On Mon, 2012-04-02 at 11:14 -0300, Francisco Wagner C. Freire wrote:
I current using dovecot with mdbox and on one account i get this error:
doveadm(user@domain): Panic: file mail-index-sync-ext.c: line 209 (sync_ext_reorder): assertion failed: (offset < (uint16_t)-1)
Dovecot version? I think I've fixed this in recent v2.1.x.
On 2.4.2012, at 17.14, Francisco Wagner C. Freire wrote:
I current using dovecot with mdbox and on one account i get this error:
doveadm(user@domain): Panic: file mail-index-sync-ext.c: line 209 (sync_ext_reorder): assertion failed: (offset < (uint16_t)-1)
Almost 100%, while running force-resync got this message this time:
doveadm(acc@domain): Error: Log synchronization error at seq=49,offset=3876 for /storage/3/bd/05/server00001/users/domain/cache/storage/dovecot.map.index: Broken extension introduction: Record alignment is too large doveadm(acc@domain): Warning: fscking index file /storage/3/bd/05/server00001/users/domain/cache/storage/dovecot.map.index doveadm(acc@domain): Warning: mdbox /storage/3/bd/05/server00001/users/domain/mdbox/storage: rebuilding indexes
....
doveadm(acc@domain): Panic: file mail-storage.c: line 787 (mailbox_check_mismatching_separators): assertion failed: (strncmp(vname, ns->prefix, ns->prefix_len-1) == 0) doveadm(acc@domain): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x443da) [0x7fa9c7bbd3da] -> /usr/lib/dovecot/libdovecot.so.0(default_fatal_handler+0x32) [0x7fa9c7bbd4c2] -> /usr/lib/dovecot/libdovecot.so.0(i_error+0) [0x7fa9c7b9451f] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_open_stream+0) [0x7fa9c7e813c0] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_storage_rebuild_in_context+0xb2b) [0x7fa9c7e43aeb] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_sync_begin+0x7ec) [0x7fa9c7e41abc] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_sync+0x46) [0x7fa9c7e41b26] -> /usr/lib/dovecot/libdovecot-storage.so.0(mdbox_storage_sync_init+0x87) [0x7fa9c7e41c07] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x31) [0x7fa9c7e7ff91] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x27) [0x7fa9c7e80aa7] -> doveadm() [0x4103d7] -> doveadm() [0x40f898] -> doveadm() [0x40fbf4] -> doveadm(doveadm_mail_try_run+0x141) [0x410071] -> doveadm(main+0x3a1) [0x416c31] -> /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa9c7835c8d] -> doveadm() [0x40f1c9]
I'm sending again a link with the indexes and more details on your email.
2012/4/3 Timo Sirainen tss@iki.fi
On 2.4.2012, at 17.14, Francisco Wagner C. Freire wrote:
I current using dovecot with mdbox and on one account i get this error:
doveadm(user@domain): Panic: file mail-index-sync-ext.c: line 209 (sync_ext_reorder): assertion failed: (offset < (uint16_t)-1)
--
Jean Michel Feltrin
On 4.4.2012, at 14.08, Jean Michel wrote:
doveadm(acc@domain): Panic: file mail-storage.c: line 787 (mailbox_check_mismatching_separators): assertion failed: (strncmp(vname, ns->prefix, ns->prefix_len-1) == 0)
That's a bit strange. Can you get a core of it? http://dovecot.org/bugreport.html
If you can access the crash with gdb, try commands like:
fr 6 (or maybe 5, or maybe 4, or 7, or whatever makes the following commands work) p *box o *box.list.ns
participants (3)
-
Francisco Wagner C. Freire
-
Jean Michel
-
Timo Sirainen