Error in virtual mailbox dovecot 2.3-devel maybe in mailcount

Jakobus Schürz wertstoffe at nurfuerspam.de
Fri Jan 12 12:04:57 EET 2018


Hi there!

I splitted my Mailarchiv to an extra namespace. Because i have some 
Problems with the Archiv.

I can open all Folders from Mailarchiv with dovecot. But i want to have 
a "all archives" Mailbox to search in all messages in only one virtual 
mailbox. Trying to open this virtual folder from thunderbird, I get in a 
big archiv this error in logs from dovecot:

Jän 12 10:54:41 aldebaran dovecot[839]: 
imap(jakob)<11302><9ILYQJFipPlcPAkS>: Error: virtual index 
/var/mail/virtual/ARCHIV: Broken mailbox_count header
Jän 12 10:54:41 aldebaran dovecot[839]: 
imap(jakob)<11302><9ILYQJFipPlcPAkS>: Error: virtual index 
/var/mail/virtual/ARCHIV: Broken mailbox_count header
Jän 12 10:54:41 aldebaran dovecot[839]: 
imap(jakob)<11302><9ILYQJFipPlcPAkS>: Panic: Leaked view for index 
/var/lib/dovecot/db/indexes/archiv/jakob/Archiv/2016/Mailinglisten/stvkr-a/dovecot.index: 
Opened in index-storage.c:336
Jän 12 10:54:41 aldebaran dovecot[839]: 
imap(jakob)<11302><9ILYQJFipPlcPAkS>: Error: Raw backtrace: 
/usr/local/lib/dovecot/libdovecot.so.0(+0xc6021) [0x7f391bf02021] -> 
/usr/local/lib/dovecot/libdovecot.so.0(+0xc60ed) [0x7f391bf020ed] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f391be74481] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf3942) 
[0x7f391c2a1942] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_mailbox_close+0x72) 
[0x7f391c278ec2] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) 
[0x7f391c1f8c0a] -> 
/usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xa7e0) [0x7f39174637e0] 
-> 
/usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) 
[0x7f391746397b] -> 
/usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x1026) 
[0x7f3917466926] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x4d) 
[0x7f391c1fb05d] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) 
[0x7f391c1fb117] -> dovecot/imap [jakob 92.60.9.18 
select](cmd_select_full+0x171) [0x55759e0911a1] -> dovecot/imap [jakob 
92.60.9.18 select](command_exec+0x64) [0x55759e098ca4] -> dovecot/imap 
[jakob 92.60.9.18 select](+0x1b0b2) [0x55759e0970b2] -> dovecot/imap 
[jakob 92.60.9.18 select](+0x1b13c) [0x55759e09713c] -> dovecot/imap 
[jakob 92.60.9.18 select](client_handle_input+0x1a5) [0x55759e097565] -> 
dovecot/imap [jakob 92.60.9.18 select](client_input+0x82) 
[0x55759e097be2] -> 
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x69) 
[0x7f391bf19c09] -> 
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x109) 
[0x7f391bf1b4a9] -> 
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x52) 
[0x7f391bf19d12] -> 
/usr/local/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) 
[0x7f391bf19f28] -> 
/usr/local/lib/dovecot/libdovecot.so.0(master_service_run+0x13) 
[0x7f391be971e3] -> dovecot/imap [jakob 92.60.9.18 select](main+0x328) 
[0x55759e089768] -> 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f391babd2b1] 
-> dovecot/imap [jakob 92.60.9.18 select](_start+0x2a) [0x55759e08994a]
Jän 12 10:54:41 aldebaran dovecot[839]: 
imap(jakob)<11302><9ILYQJFipPlcPAkS>: Fatal: master: service(imap): 
child 11302 killed with signal 6 (core not dumped)

and if i search the virtual mailbox with doveadm i get almost the same 
error. The "Broken mailbox_count_header" is missing there.

The full amount of emails in archiv is about 28000

# ulimit -n 256000
# doveadm search -u jakob mailbox Real/Archiv all
doveadm(jakob): Panic: Leaked view for index 
/var/lib/dovecot/db/indexes/archiv/jakob/Archiv/2016/Diverses/Standard-foren/dovecot.index: 
Opened in index-storage.c:336
doveadm(jakob): Error: Raw backtrace: 
/usr/local/lib/dovecot/libdovecot.so.0(+0xc6021) [0x7f8259fe6021] -> 
/usr/local/lib/dovecot/libdovecot.so.0(+0xc6079) [0x7f8259fe6079] -> 
/usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f8259f58481] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf3942) 
[0x7f825a385942] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_mailbox_close+0x72) 
[0x7f825a35cec2] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) 
[0x7f825a2dcc0a] -> 
/usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xa7e0) [0x7f82559507e0] 
-> 
/usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) 
[0x7f825595097b] -> 
/usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x1026) 
[0x7f8255953926] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x4d) 
[0x7f825a2df05d] -> 
/usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) 
[0x7f825a2df117] -> doveadm(doveadm_mail_iter_init+0x94) 
[0x56303334be94] -> doveadm(+0x33715) [0x56303334f715] -> 
doveadm(+0x29a88) [0x563033345a88] -> doveadm(+0x2a702) [0x563033346702] 
-> doveadm(doveadm_cmd_ver2_to_mail_cmd_wrapper+0x230) [0x563033347570] 
-> doveadm(doveadm_cmd_run_ver2+0x575) [0x563033357155] -> 
doveadm(doveadm_cmd_try_run_ver2+0x37) [0x5630333571a7] -> 
doveadm(main+0x1d2) [0x5630333360c2] -> 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f8259ba12b1] 
-> doveadm(_start+0x2a) [0x5630333364ca]
Abgebrochen

Thanks

Jakob



More information about the dovecot mailing list