error getting messages from mdbox_deleted

Aki Tuomi aki.tuomi at open-xchange.com
Wed Feb 3 12:53:40 EET 2021


> On 03/02/2021 12:31 Marc <marc at f1-outsourcing.eu> wrote:
> 
>  
> > > 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
> 
>

Try debuginfo-install dovecot

Anyways, can you try force-resync -u xxxxxx "*" (w/o mailbox deleted)?

if you have namespace prefix, you need to use "PREFIX/*"

Aki


More information about the dovecot mailing list