<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>Try running gdb again with corrected path for imap binary</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">---<div>Aki Tuomi</div><div>Dovecot oy</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Original message --------</div><div>From: Jakobus Schürz <jakobus.schuerz@ebcont.com> </div><div>Date: 25/07/2018  10:46  (GMT+02:00) </div><div>To: dovecot@dovecot.org </div><div>Subject: Re: Panic: Leaked view for index - virtual mailbox </div><div><br></div></div>Hi Aki!<br><br>The config is in the attachment.<br><br>The output from gdb is this:<br><br><br># gdb /usr/lib/dovecot/imap /var/core/24491<br>GNU gdb (Debian 8.1-3) 8.1<br>Copyright (C) 2018 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <br><http://gnu.org/licenses/gpl.html><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "x86_64-linux-gnu".<br>Type "show configuration" for configuration details.<br>For bug reporting instructions, please see:<br><http://www.gnu.org/software/gdb/bugs/>.<br>Find the GDB manual and other documentation resources online at:<br><http://www.gnu.org/software/gdb/documentation/>.<br>For help, type "help".<br>Type "apropos word" to search for commands related to "word"...<br>/usr/lib/dovecot/imap: Datei oder Verzeichnis nicht gefunden.<br>[New LWP 24491]<br>Core was generated by `dovecot/imap [jakob 213'.<br>Program terminated with signal SIGABRT, Aborted.<br>#0  0x00007f5c8ac4cf3b in ?? ()<br>(gdb) bt full<br>#0  0x00007f5c8ac4cf3b in ?? ()<br>No symbol table info available.<br>#1  0x0000000000000000 in ?? ()<br>No symbol table info available.<br>(gdb) quit<br><br>And i have a complex setup for virtual mailboxes...<br><br>For Synoptic/AKTUELL it is:<br><br># cat /var/mail/virtual/AKTUELL/dovecot-virtual<br>!Real/halbjahr<br>  all<br><br>And for Real/halbjahr it is:<br><br># cat /var/mail/real/halbjahr/dovecot-virtual<br>!Real/Alle<br>  all younger 15768000<br><br>And for Real/Alle it is:<br><br># cat /var/mail/real/Alle/dovecot-virtual<br>!INBOX<br>INBOX/*<br>-INBOX/Trash<br>-INBOX/Trash/*<br>-INBOX/Archives<br>-INBOX/Archives/*<br>-INBOX/Drafts<br>-INBOX/Drafts/*<br>-INBOX/Junk<br>-INBOX/Junk/*<br>-INBOX/SYSTEM<br>-INBOX/SYSTEM/*<br>  all<br><br><br>jakob<br><br><br>Am 25.07.2018 um 09:11 schrieb Aki Tuomi:<br>> So the core file is not very useful...<br>><br>> can you, instead, attach your doveconf -n and your virtual folder configurations and also<br>><br>> gdb /usr/lib/dovecot/imap /path/to/core<br>> bt full<br>><br>> Aki<br>><br>>> On 25 July 2018 at 09:55 Jakobus Schürz <jakobus.schuerz@ebcont.com> wrote:<br>>><br>>><br>>> Hi Aki!<br>>><br>>> This is debian buster, but a self-compiled dovecot from git!<br>>><br>>> /usr/local/sbin/dovecot --version<br>>> 2.3.2.1 (0719df592)<br>>><br>>> jakob<br>>><br>>><br>>> Am 25.07.2018 um 08:30 schrieb Aki Tuomi:<br>>>> And can you provide dovecot --version too, please.<br>>>><br>>>> Aki<br>>>><br>>>>> On 25 July 2018 at 09:18 Aki Tuomi <aki.tuomi@dovecot.fi> wrote:<br>>>>><br>>>>><br>>>>> Hi!<br>>>>><br>>>>> Which debian release is this?<br>>>>><br>>>>> Aki<br>>>>><br>>>>>> On 25 July 2018 at 05:18 Jakobus Schürz <jakobus.schuerz@ebcont.com> wrote:<br>>>>>><br>>>>>><br>>>>>> Hi There!<br>>>>>><br>>>>>> I run into this problem with virtual Mailboxes on release-2.3.2 (and<br>>>>>> also in master and in older versions of dovecot)<br>>>>>><br>>>>>> I added the core-file.<br>>>>>><br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]:<br>>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Panic: Leaked view for index<br>>>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: Opened<br>>>>>> in index-storage.c:338<br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]:<br>>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Error: Raw backtrace:<br>>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7ffad9ac0df1] -><br>>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+<br>>>>>> 0xceeba) [0x7ffad9ac0eba] -><br>>>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7ffad9a2efe8] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022)<br>>>>>> [0x7ffad9c66022] -> /usr/local/lib/dovecot/libdovecot-s<br>>>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7ffad9c3d72a] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a)<br>>>>>> [0x7ffad9bbb1aa] -><br>>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0<br>>>>>> x7ffad9792b80] -><br>>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b)<br>>>>>> [0x7ffad9792d3b] -><br>>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9)<br>>>>>> [0x7ffad9795f1<br>>>>>> 9] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)<br>>>>>> [0x7ffad9bbd6d1] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37)<br>>>>>> [0x7ffad9bbd787] -> /usr/local/lib/dovecot/libdo<br>>>>>> vecot-storage.so.0(index_storage_get_status+0x31) [0x7ffad9c3bed1] -><br>>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7ffad9791ead]<br>>>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7ffad<br>>>>>> 9c1ff83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602)<br>>>>>> [0x7ffad97b4602] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813)<br>>>>>> [0x7ffad99e9813] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox<br>>>>>> _get_status+0x31) [0x7ffad9bbdb91] -><br>>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b)<br>>>>>> [0x7ffad9795b7b] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) [0<br>>>>>> x7ffad9bbd6d1] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37)<br>>>>>> [0x7ffad9bbd787] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31)<br>>>>>> [0x7ffad9c3bed1] -> /usr/loca<br>>>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7ffad9791ead] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83)<br>>>>>> [0x7ffad9c1ff83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602)<br>>>>>> [0x7ffad97b460<br>>>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813)<br>>>>>> [0x7ffad99e9813] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31)<br>>>>>> [0x7ffad9bbdb91] -> /usr/local/lib/dovecot/lib20_virtual_plug<br>>>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7ffad9795b7b] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)<br>>>>>> [0x7ffad9bbd6d1]<br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]:<br>>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Fatal: master: service(imap):<br>>>>>> child 11292 killed with signal 6 (core dumped)<br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in:<br>>>>>> AUTH        19        PLAIN        service=imap secured=tls<br>>>>>> session=9KKNZclxHqPAqADc lip=192.168.0.14        rip=192.168.0.2<br>>>>>> 20        lport=143        rport=41758<br>>>>>> local_name=aldebaran.xundeenergie.at<br>>>>>> ssl_cipher=ECDHE-RSA-AES128-GCM-SHA256 ssl_cipher_bits=128<br>>>>>> ssl_pfs=KxECDHE ssl_protocol=TLSv1.2<br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb<br>>>>>> out: CONT        19<br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in:<br>>>>>> CONT<hidden><br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug:<br>>>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: user=jakob<br>>>>>> file=/usr/local/etc/dovecot/users<br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb<br>>>>>> out: OK        19        user=jakob<br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master in:<br>>>>>> REQUEST        2436366337        10570        19<br>>>>>> dd4c468bbfe617d4ef06a1b8ce6c111d        session_pid=11298 request_auth_token<br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug:<br>>>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: user=jakob<br>>>>>> file=/usr/local/etc/dovecot/users<br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master userdb<br>>>>>> out: USER        2436366337        jakob home=/var/mail/jakob<br>>>>>> acl_groups=home,admin auth_token=3ea3b630e131<br>>>>>> 3bf5beb0f26ff740450189f63e3e<br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: imap-login: Login:<br>>>>>> user=<jakob>, method=PLAIN, rip=192.168.0.220, lip=192.168.0.14,<br>>>>>> mpid=11298, TLS, session=<9KKNZclxHqPAqADc><br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]:<br>>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Panic: Leaked view for index<br>>>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: Opened<br>>>>>> in index-storage.c:338<br>>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]:<br>>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Error: Raw backtrace:<br>>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7fbd982b2df1] -><br>>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+<br>>>>>> 0xceeba) [0x7fbd982b2eba] -><br>>>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fbd98220fe8] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022)<br>>>>>> [0x7fbd98458022] -> /usr/local/lib/dovecot/libdovecot-s<br>>>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7fbd9842f72a] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a)<br>>>>>> [0x7fbd983ad1aa] -><br>>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0<br>>>>>> x7fbd97f84b80] -><br>>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b)<br>>>>>> [0x7fbd97f84d3b] -><br>>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9)<br>>>>>> [0x7fbd97f87f1<br>>>>>> 9] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)<br>>>>>> [0x7fbd983af6d1] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37)<br>>>>>> [0x7fbd983af787] -> /usr/local/lib/dovecot/libdo<br>>>>>> vecot-storage.so.0(index_storage_get_status+0x31) [0x7fbd9842ded1] -><br>>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7fbd97f83ead]<br>>>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7fbd9<br>>>>>> 8411f83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602)<br>>>>>> [0x7fbd97fa6602] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813)<br>>>>>> [0x7fbd981db813] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox<br>>>>>> _get_status+0x31) [0x7fbd983afb91] -><br>>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b)<br>>>>>> [0x7fbd97f87b7b] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) [0<br>>>>>> x7fbd983af6d1] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37)<br>>>>>> [0x7fbd983af787] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31)<br>>>>>> [0x7fbd9842ded1] -> /usr/loca<br>>>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7fbd97f83ead] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83)<br>>>>>> [0x7fbd98411f83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602)<br>>>>>> [0x7fbd97fa660<br>>>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813)<br>>>>>> [0x7fbd981db813] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31)<br>>>>>> [0x7fbd983afb91] -> /usr/local/lib/dovecot/lib20_virtual_plug<br>>>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7fbd97f87b7b] -><br>>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51)<br>>>>>> [0x7fbd983af6d1]<br>>>>>> Jul 25 04:11:30 aldebaran dovecot[10573]:<br>>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Fatal: master: service(imap):<br>>>>>> child 11298 killed with signal 6 (core dumped)<br>>>>>><br>>>>>><br>>>>>> jakob<br>>>>>><br><br></body></html>