Panic: file mdbox-map.c: line 1494 (mdbox_map_get_uid_validity): assertion failed: (map->view != NULL)

Marc Marc at f1-outsourcing.eu
Fri Mar 12 12:37:40 EET 2021


/testtest/index/storage/dovecot.map.index
> > doveadm(testtest): Warning: mdbox
> /home/popusers/testtest/mdbox/storage: rebuilding indexes
> > doveadm(testtest): Warning: fscking index file
> /home/popindex/testtest/index/storage/dovecot.map.index
> >
> > [@ conf.d]# doveadm -f table -o
> mail_location=mdbox_deleted:/home/popusers/testtest/mdbox mailbox status
> -u testtest all inbox
> 
> Does it happen if you use unseen instead of all?

Yes same result[1], but oh oh, on the archive[2] it seems to be ok. I have also included the 'not deleted' commands[3] in case they are useful.

[1]
# doveadm -f table -o mail_location=mdbox_deleted:/home/popusers/testtest/mdbox mailbox status -u testtest unseen inbox
doveadm(testtest): Panic: file mdbox-map.c: line 1494 (mdbox_map_get_uid_validity): assertion failed: (map->view != NULL)
doveadm(testtest): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0xa192e) [0x7ff0d6c2992e] -> /usr/lib64/dovecot/libdovecot.so.0(default_fatal_handler+0x2a) [0x7ff0d6c2999a] -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7ff0d6bb9257] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x61830) [0x7ff0d6f20830] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mdbox_update_header+0xa0) [0x7ff0d6f25110] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x5d698) [0x7ff0d6f1c698] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x5d7e0) [0x7ff0d6f1c7e0] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x44) [0x7ff0d6f0b2d4] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) [0x7ff0d6f0b377] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31) [0x7ff0d6f85f51] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) [0x7ff0d6f0b781] -> doveadm(+0x349b5) [0x55b940e099b5] -> doveadm(+0x2bdcc) [0x55b940e00dcc] -> doveadm(+0x2c9ca) [0x55b940e019ca] -> doveadm(doveadm_cmd_ver2_to_mail_cmd_wrapper+0x233) [0x55b940e02823] -> doveadm(doveadm_cmd_run_ver2+0x50c) [0x55b940e12fac] -> doveadm(doveadm_cmd_try_run_ver2+0x37) [0x55b940e13047] -> doveadm(main+0x1e4) [0x55b940df1214] -> /lib64/libc.so.6(__libc_start_main+0xf5) [0x7ff0d67dc555] -> doveadm(+0x1c605) [0x55b940df1605]


[2]
doveadm -f table -o mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox mailbox status -u testtest all inbox
mailbox messages recent uidnext uidvalidity unseen highestmodseq vsize guid                             firstsaved
INBOX   0        0      1       1615544465  0      1             0     d259272e91404b602d720000fe361dd3 18446744073709551615

# doveadm -f table -o mail_location=mdbox_deleted:/home/mail-archive/testtest/mdbox mailbox status -u testtest unseen inbox
mailbox unseen
INBOX   0

[3]
# doveadm -f table -o mail_location=mdbox:/home/mail-archive/testtest/mdbox mailbox status -u testtest all inbox
mailbox messages recent uidnext uidvalidity unseen highestmodseq vsize guid                             firstsaved
INBOX   0        0      1       1615539952  0      1             0     058c4c2df02e4b60522a0000fe361dd3 18446744073709551615
# doveadm -f table -o mail_location=mdbox:/home/popusers/testtest/mdbox mailbox status -u testtest all inbox
mailbox messages recent uidnext uidvalidity unseen highestmodseq vsize guid                             firstsaved
INBOX   0        0      1       1615545286  0      1             0     3aa2b221c6434b60d6150000fe361dd3 18446744073709551615


More information about the dovecot mailing list