> > I was trying to list messages deleted with
> >
> > doveadm -f flow -o mail_location=mdbox_deleted:/home/mail/xxxxxxx
> /mdbox fetch -u xxxxxxx "mailbox date.saved guid" ALL
> >
> > And getting this error. What is this about?
> >
> > doveadm(xxxxxxx): Panic: file mdbox-map.c: line 1494
> (mdbox_map_get_uid_validity): assertion failed: (map->view != NULL)
> > doveadm(xxxxxxx): Error: Raw backtrace:
> /usr/lib64/dovecot/libdovecot.so.0(+0xa192e) [0x7f854625592e] ->
> /usr/lib64/dovecot/libdovecot.so.0(default_fatal_handler+0x2a)
> [0x7f854625599a] -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0)
> [0x7f85461e5257] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x61830)
> [0x7f854654c830] -> /usr/lib64/dovecot/libdovecot-
> storage.so.0(mdbox_update_header+0xa0) [0x7f8546551110] ->
> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x5d698) [0x7f8546548698] ->
> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x5d7e0) [0x7f85465487e0] ->
> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x44)
> [0x7f85465372d4] -> /usr/lib64/dovecot/libdovecot-
> storage.so.0(mailbox_sync+0x37) [0x7f8546537377] ->
> doveadm(doveadm_mail_iter_init+0x98) [0x55b4cd34c118] ->
> doveadm(+0x305b1) [0x55b4cd34a5b1] -> doveadm(+0x2bdcc) [0x55b4cd345dcc]
> -> doveadm(+0x2c9ca) [0x55b4cd3469ca] ->
> doveadm(doveadm_cmd_ver2_to_mail_cmd_wrapper+0x233) [0x55b4cd347823] ->
> doveadm(dovea!
> dm_cmd_ru
> n_ver2+0x50c) [0x55b4cd357fac] ->
> doveadm(doveadm_cmd_try_run_ver2+0x37) [0x55b4cd358047] ->
> doveadm(main+0x1e4) [0x55b4cd336214] ->
> /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f8545e08555] ->
> doveadm(+0x1c605) [0x55b4cd336605]
> > Aborted
>
> Could be a bug, can you try running it in gdb with debug symbols
> installed and post `bt full` from gdb along with `doveconf -n`?
>
I am not really familiar with gdb. I found this in another thread, I hope this
is ok.
yum install dovecot-debuginfo gdb
gdb doveadm
set args -f flow -o mail_location=mdbox_deleted:/home/popusers/xxxx/mdbox fetch
-u xxxx "mailbox date.saved guid" ALL
run
bt full
#0 0x00007ffff6f73387 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ffff6f74a78 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007ffff73ac926 in default_fatal_finish () from
/usr/lib64/dovecot/libdovecot.so.0
No symbol table info available.
#3 0x00007ffff73ac99a in default_fatal_handler () from
/usr/lib64/dovecot/libdovecot.so.0
No symbol table info available.
#4 0x00007ffff733c257 in i_panic () from /usr/lib64/dovecot/libdovecot.so.0
No symbol table info available.
#5 0x00007ffff76a3830 in mdbox_map_get_uid_validity () from
/usr/lib64/dovecot/libdovecot-storage.so.0
No symbol table info available.
#6 0x00007ffff76a8110 in mdbox_update_header () from
/usr/lib64/dovecot/libdovecot-storage.so.0
No symbol table info available.
#7 0x00007ffff769f698 in mdbox_deleted_mailbox_create_indexes () from
/usr/lib64/dovecot/libdovecot-storage.so.0
No symbol table info available.
#8 0x00007ffff769f7e0 in mdbox_deleted_storage_sync_init () from
/usr/lib64/dovecot/libdovecot-storage.so.0
No symbol table info available.
#9 0x00007ffff768e2d4 in mailbox_sync_init () from
/usr/lib64/dovecot/libdovecot-storage.so.0
No symbol table info available.
#10 0x00007ffff768e377 in mailbox_sync () from
/usr/lib64/dovecot/libdovecot-storage.so.0
No symbol table info available.
#11 0x0000555555586118 in doveadm_mail_iter_init ()
No symbol table info available.
#12 0x00005555555845b1 in cmd_fetch_run ()
No symbol table info available.
#13 0x000055555557fdcc in doveadm_mail_next_user ()
No symbol table info available.
#14 0x00005555555809ca in doveadm_mail_cmd_exec ()
No symbol table info available.
#15 0x0000555555581823 in doveadm_cmd_ver2_to_mail_cmd_wrapper ()
No symbol table info available.
#16 0x0000555555591fac in doveadm_cmd_run_ver2 ()
No symbol table info available.
#17 0x0000555555592047 in doveadm_cmd_try_run_ver2 ()
No symbol table info available.
#18 0x0000555555570214 in main ()
No symbol table info available.