So the core file is not very useful... can you, instead, attach your doveconf -n and your virtual folder configurations and also gdb /usr/lib/dovecot/imap /path/to/core bt full Aki> On 25 July 2018 at 09:55 Jakobus Sch?rz <jakobus.schuerz at ebcont.com> wrote: > > > Hi Aki! > > This is debian buster, but a self-compiled dovecot from git! > > /usr/local/sbin/dovecot --version > 2.3.2.1 (0719df592) > > jakob > > > Am 25.07.2018 um 08:30 schrieb Aki Tuomi: > > And can you provide dovecot --version too, please. > > > > Aki > > > >> On 25 July 2018 at 09:18 Aki Tuomi <aki.tuomi at dovecot.fi> wrote: > >> > >> > >> Hi! > >> > >> Which debian release is this? > >> > >> Aki > >> > >>> On 25 July 2018 at 05:18 Jakobus Sch?rz <jakobus.schuerz at ebcont.com> wrote: > >>> > >>> > >>> Hi There! > >>> > >>> I run into this problem with virtual Mailboxes on release-2.3.2 (and > >>> also in master and in older versions of dovecot) > >>> > >>> I added the core-file. > >>> > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: > >>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Panic: Leaked view for index > >>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: Opened > >>> in index-storage.c:338 > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: > >>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Error: Raw backtrace: > >>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7ffad9ac0df1] -> > >>> /usr/local/lib/dovecot/libdovecot.so.0(+ > >>> 0xceeba) [0x7ffad9ac0eba] -> > >>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7ffad9a2efe8] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022) > >>> [0x7ffad9c66022] -> /usr/local/lib/dovecot/libdovecot-s > >>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7ffad9c3d72a] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) > >>> [0x7ffad9bbb1aa] -> > >>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0 > >>> x7ffad9792b80] -> > >>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) > >>> [0x7ffad9792d3b] -> > >>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9) > >>> [0x7ffad9795f1 > >>> 9] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) > >>> [0x7ffad9bbd6d1] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) > >>> [0x7ffad9bbd787] -> /usr/local/lib/dovecot/libdo > >>> vecot-storage.so.0(index_storage_get_status+0x31) [0x7ffad9c3bed1] -> > >>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7ffad9791ead] > >>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7ffad > >>> 9c1ff83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) > >>> [0x7ffad97b4602] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) > >>> [0x7ffad99e9813] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox > >>> _get_status+0x31) [0x7ffad9bbdb91] -> > >>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b) > >>> [0x7ffad9795b7b] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) [0 > >>> x7ffad9bbd6d1] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) > >>> [0x7ffad9bbd787] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31) > >>> [0x7ffad9c3bed1] -> /usr/loca > >>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7ffad9791ead] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) > >>> [0x7ffad9c1ff83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) > >>> [0x7ffad97b460 > >>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) > >>> [0x7ffad99e9813] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) > >>> [0x7ffad9bbdb91] -> /usr/local/lib/dovecot/lib20_virtual_plug > >>> in.so(virtual_storage_sync_init+0xf0b) [0x7ffad9795b7b] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) > >>> [0x7ffad9bbd6d1] > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: > >>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Fatal: master: service(imap): > >>> child 11292 killed with signal 6 (core dumped) > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in: > >>> AUTH??????? 19??????? PLAIN??????? service=imap secured=tls > >>> session=9KKNZclxHqPAqADc lip=192.168.0.14??????? rip=192.168.0.2 > >>> 20??????? lport=143??????? rport=41758 > >>> local_name=aldebaran.xundeenergie.at > >>> ssl_cipher=ECDHE-RSA-AES128-GCM-SHA256 ssl_cipher_bits=128 > >>> ssl_pfs=KxECDHE ssl_protocol=TLSv1.2 > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb > >>> out: CONT??????? 19 > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in: > >>> CONT<hidden> > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: > >>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: user=jakob > >>> file=/usr/local/etc/dovecot/users > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb > >>> out: OK??????? 19??????? user=jakob > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master in: > >>> REQUEST??????? 2436366337??????? 10570??????? 19 > >>> dd4c468bbfe617d4ef06a1b8ce6c111d??????? session_pid=11298 request_auth_token > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: > >>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: user=jakob > >>> file=/usr/local/etc/dovecot/users > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master userdb > >>> out: USER??????? 2436366337??????? jakob home=/var/mail/jakob > >>> acl_groups=home,admin auth_token=3ea3b630e131 > >>> 3bf5beb0f26ff740450189f63e3e > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: imap-login: Login: > >>> user=<jakob>, method=PLAIN, rip=192.168.0.220, lip=192.168.0.14, > >>> mpid=11298, TLS, session=<9KKNZclxHqPAqADc> > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: > >>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Panic: Leaked view for index > >>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: Opened > >>> in index-storage.c:338 > >>> Jul 25 04:11:29 aldebaran dovecot[10573]: > >>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Error: Raw backtrace: > >>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7fbd982b2df1] -> > >>> /usr/local/lib/dovecot/libdovecot.so.0(+ > >>> 0xceeba) [0x7fbd982b2eba] -> > >>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fbd98220fe8] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022) > >>> [0x7fbd98458022] -> /usr/local/lib/dovecot/libdovecot-s > >>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7fbd9842f72a] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) > >>> [0x7fbd983ad1aa] -> > >>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0 > >>> x7fbd97f84b80] -> > >>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) > >>> [0x7fbd97f84d3b] -> > >>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9) > >>> [0x7fbd97f87f1 > >>> 9] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) > >>> [0x7fbd983af6d1] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) > >>> [0x7fbd983af787] -> /usr/local/lib/dovecot/libdo > >>> vecot-storage.so.0(index_storage_get_status+0x31) [0x7fbd9842ded1] -> > >>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7fbd97f83ead] > >>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7fbd9 > >>> 8411f83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) > >>> [0x7fbd97fa6602] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) > >>> [0x7fbd981db813] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox > >>> _get_status+0x31) [0x7fbd983afb91] -> > >>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b) > >>> [0x7fbd97f87b7b] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) [0 > >>> x7fbd983af6d1] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) > >>> [0x7fbd983af787] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31) > >>> [0x7fbd9842ded1] -> /usr/loca > >>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7fbd97f83ead] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) > >>> [0x7fbd98411f83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) > >>> [0x7fbd97fa660 > >>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) > >>> [0x7fbd981db813] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) > >>> [0x7fbd983afb91] -> /usr/local/lib/dovecot/lib20_virtual_plug > >>> in.so(virtual_storage_sync_init+0xf0b) [0x7fbd97f87b7b] -> > >>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) > >>> [0x7fbd983af6d1] > >>> Jul 25 04:11:30 aldebaran dovecot[10573]: > >>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Fatal: master: service(imap): > >>> child 11298 killed with signal 6 (core dumped) > >>> > >>> > >>> jakob > >>> >
Hi Aki! The config is in the attachment. The output from gdb is this: # gdb /usr/lib/dovecot/imap /var/core/24491 GNU gdb (Debian 8.1-3) 8.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.? Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... /usr/lib/dovecot/imap: Datei oder Verzeichnis nicht gefunden. [New LWP 24491] Core was generated by `dovecot/imap [jakob 213'. Program terminated with signal SIGABRT, Aborted. #0? 0x00007f5c8ac4cf3b in ?? () (gdb) bt full #0? 0x00007f5c8ac4cf3b in ?? () No symbol table info available. #1? 0x0000000000000000 in ?? () No symbol table info available. (gdb) quit And i have a complex setup for virtual mailboxes... For Synoptic/AKTUELL it is: # cat /var/mail/virtual/AKTUELL/dovecot-virtual !Real/halbjahr ?all And for Real/halbjahr it is: # cat /var/mail/real/halbjahr/dovecot-virtual !Real/Alle ?all younger 15768000 And for Real/Alle it is: # cat /var/mail/real/Alle/dovecot-virtual !INBOX INBOX/* -INBOX/Trash -INBOX/Trash/* -INBOX/Archives -INBOX/Archives/* -INBOX/Drafts -INBOX/Drafts/* -INBOX/Junk -INBOX/Junk/* -INBOX/SYSTEM -INBOX/SYSTEM/* ?all jakob Am 25.07.2018 um 09:11 schrieb Aki Tuomi:> So the core file is not very useful... > > can you, instead, attach your doveconf -n and your virtual folder configurations and also > > gdb /usr/lib/dovecot/imap /path/to/core > bt full > > Aki > >> On 25 July 2018 at 09:55 Jakobus Sch?rz <jakobus.schuerz at ebcont.com> wrote: >> >> >> Hi Aki! >> >> This is debian buster, but a self-compiled dovecot from git! >> >> /usr/local/sbin/dovecot --version >> 2.3.2.1 (0719df592) >> >> jakob >> >> >> Am 25.07.2018 um 08:30 schrieb Aki Tuomi: >>> And can you provide dovecot --version too, please. >>> >>> Aki >>> >>>> On 25 July 2018 at 09:18 Aki Tuomi <aki.tuomi at dovecot.fi> wrote: >>>> >>>> >>>> Hi! >>>> >>>> Which debian release is this? >>>> >>>> Aki >>>> >>>>> On 25 July 2018 at 05:18 Jakobus Sch?rz <jakobus.schuerz at ebcont.com> wrote: >>>>> >>>>> >>>>> Hi There! >>>>> >>>>> I run into this problem with virtual Mailboxes on release-2.3.2 (and >>>>> also in master and in older versions of dovecot) >>>>> >>>>> I added the core-file. >>>>> >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Panic: Leaked view for index >>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: Opened >>>>> in index-storage.c:338 >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Error: Raw backtrace: >>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7ffad9ac0df1] -> >>>>> /usr/local/lib/dovecot/libdovecot.so.0(+ >>>>> 0xceeba) [0x7ffad9ac0eba] -> >>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7ffad9a2efe8] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022) >>>>> [0x7ffad9c66022] -> /usr/local/lib/dovecot/libdovecot-s >>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7ffad9c3d72a] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) >>>>> [0x7ffad9bbb1aa] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0 >>>>> x7ffad9792b80] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) >>>>> [0x7ffad9792d3b] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9) >>>>> [0x7ffad9795f1 >>>>> 9] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>> [0x7ffad9bbd6d1] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>> [0x7ffad9bbd787] -> /usr/local/lib/dovecot/libdo >>>>> vecot-storage.so.0(index_storage_get_status+0x31) [0x7ffad9c3bed1] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7ffad9791ead] >>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7ffad >>>>> 9c1ff83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>> [0x7ffad97b4602] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>> [0x7ffad99e9813] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox >>>>> _get_status+0x31) [0x7ffad9bbdb91] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b) >>>>> [0x7ffad9795b7b] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) [0 >>>>> x7ffad9bbd6d1] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>> [0x7ffad9bbd787] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31) >>>>> [0x7ffad9c3bed1] -> /usr/loca >>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7ffad9791ead] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) >>>>> [0x7ffad9c1ff83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>> [0x7ffad97b460 >>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>> [0x7ffad99e9813] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) >>>>> [0x7ffad9bbdb91] -> /usr/local/lib/dovecot/lib20_virtual_plug >>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7ffad9795b7b] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>> [0x7ffad9bbd6d1] >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Fatal: master: service(imap): >>>>> child 11292 killed with signal 6 (core dumped) >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in: >>>>> AUTH??????? 19??????? PLAIN??????? service=imap secured=tls >>>>> session=9KKNZclxHqPAqADc lip=192.168.0.14??????? rip=192.168.0.2 >>>>> 20??????? lport=143??????? rport=41758 >>>>> local_name=aldebaran.xundeenergie.at >>>>> ssl_cipher=ECDHE-RSA-AES128-GCM-SHA256 ssl_cipher_bits=128 >>>>> ssl_pfs=KxECDHE ssl_protocol=TLSv1.2 >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb >>>>> out: CONT??????? 19 >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in: >>>>> CONT<hidden> >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: >>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: user=jakob >>>>> file=/usr/local/etc/dovecot/users >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb >>>>> out: OK??????? 19??????? user=jakob >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master in: >>>>> REQUEST??????? 2436366337??????? 10570??????? 19 >>>>> dd4c468bbfe617d4ef06a1b8ce6c111d??????? session_pid=11298 request_auth_token >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: >>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: user=jakob >>>>> file=/usr/local/etc/dovecot/users >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master userdb >>>>> out: USER??????? 2436366337??????? jakob home=/var/mail/jakob >>>>> acl_groups=home,admin auth_token=3ea3b630e131 >>>>> 3bf5beb0f26ff740450189f63e3e >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: imap-login: Login: >>>>> user=<jakob>, method=PLAIN, rip=192.168.0.220, lip=192.168.0.14, >>>>> mpid=11298, TLS, session=<9KKNZclxHqPAqADc> >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Panic: Leaked view for index >>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: Opened >>>>> in index-storage.c:338 >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Error: Raw backtrace: >>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7fbd982b2df1] -> >>>>> /usr/local/lib/dovecot/libdovecot.so.0(+ >>>>> 0xceeba) [0x7fbd982b2eba] -> >>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fbd98220fe8] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022) >>>>> [0x7fbd98458022] -> /usr/local/lib/dovecot/libdovecot-s >>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7fbd9842f72a] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) >>>>> [0x7fbd983ad1aa] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0 >>>>> x7fbd97f84b80] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) >>>>> [0x7fbd97f84d3b] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9) >>>>> [0x7fbd97f87f1 >>>>> 9] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>> [0x7fbd983af6d1] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>> [0x7fbd983af787] -> /usr/local/lib/dovecot/libdo >>>>> vecot-storage.so.0(index_storage_get_status+0x31) [0x7fbd9842ded1] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7fbd97f83ead] >>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7fbd9 >>>>> 8411f83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>> [0x7fbd97fa6602] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>> [0x7fbd981db813] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox >>>>> _get_status+0x31) [0x7fbd983afb91] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b) >>>>> [0x7fbd97f87b7b] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) [0 >>>>> x7fbd983af6d1] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>> [0x7fbd983af787] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31) >>>>> [0x7fbd9842ded1] -> /usr/loca >>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7fbd97f83ead] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) >>>>> [0x7fbd98411f83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>> [0x7fbd97fa660 >>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>> [0x7fbd981db813] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) >>>>> [0x7fbd983afb91] -> /usr/local/lib/dovecot/lib20_virtual_plug >>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7fbd97f87b7b] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>> [0x7fbd983af6d1] >>>>> Jul 25 04:11:30 aldebaran dovecot[10573]: >>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Fatal: master: service(imap): >>>>> child 11298 killed with signal 6 (core dumped) >>>>> >>>>> >>>>> jakob >>>>>-------------- next part -------------- # 2.3.2.1 (0719df592): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.5.2 (7704de5e) # OS: Linux 4.16.0-1-amd64 x86_64 Debian buster/sid btrfs # Hostname: aldebaran.local auth_debug = yes auth_mechanisms = plain login cram-md5 digest-md5 auth_socket_path = /usr/local/var/run/dovecot/auth-userdb auth_verbose = yes first_valid_uid = 1000 imap_capability = +XDOVECOT +SPECIAL-USE imap_client_workarounds = tb-extra-mailbox-sep tb-lsub-flags delay-newmail lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes listen = *, ::1 login_trusted_networks = 127.0.0.1/8 192.168.0.0/24 192.168.1.0/24 172.17.0.0/24 172.18.0.0/24 mail_gid = vmail mail_home = ?/var/mail/%u mail_location = maildir:/var/mail/%u/Maildir:LAYOUT=fs:INDEX=/var/lib/dovecot/db/indexes/Maildir/%u:INDEXPVT=/var/lib/dovecot/db/indexes/Maildir/%u:CONTROL=/var/lib/dovecot/db/control/Maildir/%u mail_plugins = zlib quota acl listescape mail_log notify virtual fts fts_lucene mail_privileged_group = vmail mail_server_admin = mailto:jakob at xundeenergie.at mail_shared_explicit_inbox = yes mail_uid = vmail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext mmap_disable = yes namespace { list = children location = maildir:/var/mail/public/:LAYOUT=fs:INDEX=/var/lib/dovecot/db/indexes/public/%u:INDEXPVT=/var/lib/dovecot/db/indexes/public/%u prefix = Roseggergasse/ separator = / subscriptions = no type = public } namespace Archiv { hidden = no inbox = no list = children location = maildir:/var/mail/archiv/%u/:LAYOUT=fs:INDEX=/var/lib/dovecot/db/indexes/archiv/%u:INDEXPVT=/var/lib/dovecot/db/indexes/archiv/%u:CONTROL=/var/lib/dovecot/db/control/archiv/%u mailbox Archiv { auto = subscribe special_use = \Archive } mailbox Archive { auto = no special_use = \Archive } mailbox Archives { auto = no special_use = \Archive } mailbox "Gesamtes Archiv" { auto = no special_use = \Archive } prefix = Archiv/ separator = / subscriptions = no type = private } namespace Geteilt { hidden = no inbox = no list = children location = maildir:/var/mail/%%u/Maildir:LAYOUT=fs:INDEXPVT=/var/lib/dovecot/db/indexes/shared/%u/%%u:INDEX=/var/lib/dovecot/db/indexes/shared/%u/%%u prefix = Geteilt/%%n/ separator = / subscriptions = no type = shared } namespace Mailarchiv { hidden = no inbox = no list = children location = maildir:/var/mail/mailarchiv/%u/:LAYOUT=fs:INDEX=/var/lib/dovecot/db/indexes/mailarchiv/%u:INDEXPVT=/var/lib/dovecot/db/indexes/mailarchiv/%u:CONTROL=/var/lib/dovecot/db/control/mailarchiv/%u mailbox incoming { auto = create } mailbox outgoing { auto = create } prefix = Mailarchiv/ separator = / subscriptions = no type = private } namespace Real { hidden = yes ignore_on_failure = no list = no location = virtual:/var/mail/real:INDEX=/var/lib/dovecot/db/indexes/real/%u prefix = Real/ separator = / subscriptions = no } namespace Synoptic { hidden = no ignore_on_failure = no list = children location = virtual:/var/mail/virtual:INDEX=/var/lib/dovecot/db/indexes/virtual/%u mailbox AKTUELL { auto = subscribe } mailbox INBOX/Archives { auto = no special_use = \Archive } mailbox INBOX/Drafts { auto = no special_use = \Drafts } mailbox INBOX/Entw?rfe { auto = no special_use = \Drafts } mailbox INBOX/Junk { auto = no special_use = \Junk } mailbox INBOX/Sent { auto = no special_use = \Sent } mailbox INBOX/Spam { auto = no special_use = \Junk } mailbox Neue { auto = subscribe } mailbox Real/Alle { auto = no } mailbox WICHTIG { auto = subscribe } prefix = Synoptic/ separator = / subscriptions = no } namespace inbox { hidden = no inbox = yes location = mailbox "Deleted Messages" { auto = no autoexpunge = 30 days special_use = \Trash } mailbox Drafts { auto = no special_use = \Drafts } mailbox Entw?rfe { auto = no special_use = \Drafts } mailbox "Gel?schte Elemente" { auto = no autoexpunge = 30 days special_use = \Trash } mailbox "Gel?schte Objekte" { auto = no autoexpunge = 30 days special_use = \Trash } mailbox Gesendet { auto = no special_use = \Sent } mailbox "Gesendete Elemente" { auto = no special_use = \Sent } mailbox "Gesendete Objekte" { auto = no special_use = \Sent } mailbox Junk { auto = subscribe autoexpunge = 30 days special_use = \Junk } mailbox Mistk?bel { auto = no autoexpunge = 30 days special_use = \Trash } mailbox Papierkorb { auto = no autoexpunge = 30 days special_use = \Trash } mailbox SYSTEM { auto = subscribe } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { auto = no special_use = \Sent } mailbox Spam { auto = no autoexpunge = 30 days special_use = \Junk } mailbox Trash { auto = no autoexpunge = 30 days special_use = \Trash } prefix = INBOX/ separator = / subscriptions = no type = private } namespace subscriptions { hidden = yes list = no location = prefix = subscriptions = yes } passdb { args = scheme=CRYPT username_format=%u /usr/local/etc/dovecot/users driver = passwd-file } plugin { acl = vfile:/usr/local/etc/dovecot/dovecot-acl:cache_secs=300 acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes.db fts = lucene fts_autoindex = yes fts_autoindex_max_recent_msgs = 80 fts_index_timeout = 90 fts_lucene = whitespace_chars=@. normalize no_snowball mail_home = ?/var/mail/%u setting_name = sieve, managedsieve sieve = file:/var/mail/%u/sieve/;active=/var/mail/%u/sieve/%u.sieve sieve_before = /usr/local/etc/dovecot/sieve/global.sieve sieve_global_dir = /usr/local/etc/dovecot/sieve/ } postmaster_address = postmaster at localhost protocols = imap pop3 lmtp sieve service anvil { client_limit = 199999 unix_listener anvil-auth-penalty { mode = 0700 } } service auth { unix_listener auth-client { group = vmail mode = 0666 user = Debian-exim } unix_listener auth-userdb { group = vmail mode = 0666 user = vmail } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } process_min_avail = 1 service_count = 0 } service imap { executable = imap postlogin process_limit = 1024 vsz_limit = 400 M } service lmtp { executable = lmtp -L user = vmail vsz_limit = 400 M } service postlogin { executable = script-login -d rawlog } service stats { unix_listener stats-writer { group = vmail mode = 0600 user = vmail } } ssl = required ssl_cert = </usr/local/etc/dovecot/ssl/certs/dovecot.crt ssl_cipher_list = ALL:!ADH:!LOW:!SSLv2:!SSLv3:!EXP:!aNULL:+HIGH:+MEDIUM ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it userdb { args = username_format=%u /usr/local/etc/dovecot/users default_fields = home=/var/mail/%u driver = passwd-file } verbose_proctitle = yes protocol lmtp { auth_username_format = %n mail_plugins = zlib quota acl listescape mail_log notify virtual fts fts_lucene quota sieve acl } protocol lda { mail_plugins = zlib quota acl listescape mail_log notify virtual fts fts_lucene quota sieve acl } protocol imap { mail_max_userip_connections = 30 mail_plugins = zlib quota acl listescape mail_log notify virtual fts fts_lucene imap_quota imap_acl }
Try running gdb again with corrected path for imap binary ---Aki TuomiDovecot oy -------- Original message --------From: Jakobus Sch?rz <jakobus.schuerz at ebcont.com> Date: 25/07/2018 10:46 (GMT+02:00) To: dovecot at dovecot.org Subject: Re: Panic: Leaked view for index - virtual mailbox Hi Aki! The config is in the attachment. The output from gdb is this: # gdb /usr/lib/dovecot/imap /var/core/24491 GNU gdb (Debian 8.1-3) 8.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.? Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... /usr/lib/dovecot/imap: Datei oder Verzeichnis nicht gefunden. [New LWP 24491] Core was generated by `dovecot/imap [jakob 213'. Program terminated with signal SIGABRT, Aborted. #0? 0x00007f5c8ac4cf3b in ?? () (gdb) bt full #0? 0x00007f5c8ac4cf3b in ?? () No symbol table info available. #1? 0x0000000000000000 in ?? () No symbol table info available. (gdb) quit And i have a complex setup for virtual mailboxes... For Synoptic/AKTUELL it is: # cat /var/mail/virtual/AKTUELL/dovecot-virtual !Real/halbjahr ?all And for Real/halbjahr it is: # cat /var/mail/real/halbjahr/dovecot-virtual !Real/Alle ?all younger 15768000 And for Real/Alle it is: # cat /var/mail/real/Alle/dovecot-virtual !INBOX INBOX/* -INBOX/Trash -INBOX/Trash/* -INBOX/Archives -INBOX/Archives/* -INBOX/Drafts -INBOX/Drafts/* -INBOX/Junk -INBOX/Junk/* -INBOX/SYSTEM -INBOX/SYSTEM/* ?all jakob Am 25.07.2018 um 09:11 schrieb Aki Tuomi:> So the core file is not very useful... > > can you, instead, attach your doveconf -n and your virtual folder configurations and also > > gdb /usr/lib/dovecot/imap /path/to/core > bt full > > Aki > >> On 25 July 2018 at 09:55 Jakobus Sch?rz <jakobus.schuerz at ebcont.com> wrote: >> >> >> Hi Aki! >> >> This is debian buster, but a self-compiled dovecot from git! >> >> /usr/local/sbin/dovecot --version >> 2.3.2.1 (0719df592) >> >> jakob >> >> >> Am 25.07.2018 um 08:30 schrieb Aki Tuomi: >>> And can you provide dovecot --version too, please. >>> >>> Aki >>> >>>> On 25 July 2018 at 09:18 Aki Tuomi <aki.tuomi at dovecot.fi> wrote: >>>> >>>> >>>> Hi! >>>> >>>> Which debian release is this? >>>> >>>> Aki >>>> >>>>> On 25 July 2018 at 05:18 Jakobus Sch?rz <jakobus.schuerz at ebcont.com> wrote: >>>>> >>>>> >>>>> Hi There! >>>>> >>>>> I run into this problem with virtual Mailboxes on release-2.3.2 (and >>>>> also in master and in older versions of dovecot) >>>>> >>>>> I added the core-file. >>>>> >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Panic: Leaked view for index >>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: Opened >>>>> in index-storage.c:338 >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Error: Raw backtrace: >>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7ffad9ac0df1] -> >>>>> /usr/local/lib/dovecot/libdovecot.so.0(+ >>>>> 0xceeba) [0x7ffad9ac0eba] -> >>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7ffad9a2efe8] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022) >>>>> [0x7ffad9c66022] -> /usr/local/lib/dovecot/libdovecot-s >>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7ffad9c3d72a] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) >>>>> [0x7ffad9bbb1aa] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0 >>>>> x7ffad9792b80] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) >>>>> [0x7ffad9792d3b] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9) >>>>> [0x7ffad9795f1 >>>>> 9] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>> [0x7ffad9bbd6d1] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>> [0x7ffad9bbd787] -> /usr/local/lib/dovecot/libdo >>>>> vecot-storage.so.0(index_storage_get_status+0x31) [0x7ffad9c3bed1] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7ffad9791ead] >>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7ffad >>>>> 9c1ff83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>> [0x7ffad97b4602] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>> [0x7ffad99e9813] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox >>>>> _get_status+0x31) [0x7ffad9bbdb91] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b) >>>>> [0x7ffad9795b7b] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) [0 >>>>> x7ffad9bbd6d1] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>> [0x7ffad9bbd787] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31) >>>>> [0x7ffad9c3bed1] -> /usr/loca >>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7ffad9791ead] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) >>>>> [0x7ffad9c1ff83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>> [0x7ffad97b460 >>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>> [0x7ffad99e9813] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) >>>>> [0x7ffad9bbdb91] -> /usr/local/lib/dovecot/lib20_virtual_plug >>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7ffad9795b7b] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>> [0x7ffad9bbd6d1] >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Fatal: master: service(imap): >>>>> child 11292 killed with signal 6 (core dumped) >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in: >>>>> AUTH??????? 19??????? PLAIN??????? service=imap secured=tls >>>>> session=9KKNZclxHqPAqADc lip=192.168.0.14??????? rip=192.168.0.2 >>>>> 20??????? lport=143??????? rport=41758 >>>>> local_name=aldebaran.xundeenergie.at >>>>> ssl_cipher=ECDHE-RSA-AES128-GCM-SHA256 ssl_cipher_bits=128 >>>>> ssl_pfs=KxECDHE ssl_protocol=TLSv1.2 >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb >>>>> out: CONT??????? 19 >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in: >>>>> CONT<hidden> >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: >>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: user=jakob >>>>> file=/usr/local/etc/dovecot/users >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb >>>>> out: OK??????? 19??????? user=jakob >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master in: >>>>> REQUEST??????? 2436366337??????? 10570??????? 19 >>>>> dd4c468bbfe617d4ef06a1b8ce6c111d??????? session_pid=11298 request_auth_token >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: >>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: user=jakob >>>>> file=/usr/local/etc/dovecot/users >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master userdb >>>>> out: USER??????? 2436366337??????? jakob home=/var/mail/jakob >>>>> acl_groups=home,admin auth_token=3ea3b630e131 >>>>> 3bf5beb0f26ff740450189f63e3e >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: imap-login: Login: >>>>> user=<jakob>, method=PLAIN, rip=192.168.0.220, lip=192.168.0.14, >>>>> mpid=11298, TLS, session=<9KKNZclxHqPAqADc> >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Panic: Leaked view for index >>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: Opened >>>>> in index-storage.c:338 >>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Error: Raw backtrace: >>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7fbd982b2df1] -> >>>>> /usr/local/lib/dovecot/libdovecot.so.0(+ >>>>> 0xceeba) [0x7fbd982b2eba] -> >>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fbd98220fe8] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022) >>>>> [0x7fbd98458022] -> /usr/local/lib/dovecot/libdovecot-s >>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7fbd9842f72a] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) >>>>> [0x7fbd983ad1aa] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0 >>>>> x7fbd97f84b80] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) >>>>> [0x7fbd97f84d3b] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9) >>>>> [0x7fbd97f87f1 >>>>> 9] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>> [0x7fbd983af6d1] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>> [0x7fbd983af787] -> /usr/local/lib/dovecot/libdo >>>>> vecot-storage.so.0(index_storage_get_status+0x31) [0x7fbd9842ded1] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7fbd97f83ead] >>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7fbd9 >>>>> 8411f83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>> [0x7fbd97fa6602] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>> [0x7fbd981db813] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox >>>>> _get_status+0x31) [0x7fbd983afb91] -> >>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b) >>>>> [0x7fbd97f87b7b] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) [0 >>>>> x7fbd983af6d1] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>> [0x7fbd983af787] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31) >>>>> [0x7fbd9842ded1] -> /usr/loca >>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7fbd97f83ead] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) >>>>> [0x7fbd98411f83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>> [0x7fbd97fa660 >>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>> [0x7fbd981db813] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) >>>>> [0x7fbd983afb91] -> /usr/local/lib/dovecot/lib20_virtual_plug >>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7fbd97f87b7b] -> >>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>> [0x7fbd983af6d1] >>>>> Jul 25 04:11:30 aldebaran dovecot[10573]: >>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Fatal: master: service(imap): >>>>> child 11298 killed with signal 6 (core dumped) >>>>> >>>>> >>>>> jakob >>>>>-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180725/bed3c792/attachment.html>
Hi! Was looking at your config and I am puzzled why you are adding ? mailbox INBOX/Archives { ??? auto = no ??? special_use = \Archive ? } under namespace 'Synoptic'? Do you actually have a virtual folder config for all those folders? You can't just "move" folders into a namespace by declaring them there, those become Synoptic/INBOX/Archives, and require a dovecot-virtual file to work. If the only mailbox in Synoptic, that has a dovecot-virtual file is 'AKTUELL', you should remove all folders that do not have a dovecot-virtual file under /var/mail/virtual. Aki On 25.07.2018 10:46, Jakobus Sch?rz wrote:> Hi Aki! > > The config is in the attachment. > > The output from gdb is this: > > > # gdb /usr/lib/dovecot/imap /var/core/24491 > GNU gdb (Debian 8.1-3) 8.1 > Copyright (C) 2018 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law.? Type "show > copying" > and "show warranty" for details. > This GDB was configured as "x86_64-linux-gnu". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>. > Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > For help, type "help". > Type "apropos word" to search for commands related to "word"... > /usr/lib/dovecot/imap: Datei oder Verzeichnis nicht gefunden. > [New LWP 24491] > Core was generated by `dovecot/imap [jakob 213'. > Program terminated with signal SIGABRT, Aborted. > #0? 0x00007f5c8ac4cf3b in ?? () > (gdb) bt full > #0? 0x00007f5c8ac4cf3b in ?? () > No symbol table info available. > #1? 0x0000000000000000 in ?? () > No symbol table info available. > (gdb) quit > > And i have a complex setup for virtual mailboxes... > > For Synoptic/AKTUELL it is: > > # cat /var/mail/virtual/AKTUELL/dovecot-virtual > !Real/halbjahr > ?all > > And for Real/halbjahr it is: > > # cat /var/mail/real/halbjahr/dovecot-virtual > !Real/Alle > ?all younger 15768000 > > And for Real/Alle it is: > > # cat /var/mail/real/Alle/dovecot-virtual > !INBOX > INBOX/* > -INBOX/Trash > -INBOX/Trash/* > -INBOX/Archives > -INBOX/Archives/* > -INBOX/Drafts > -INBOX/Drafts/* > -INBOX/Junk > -INBOX/Junk/* > -INBOX/SYSTEM > -INBOX/SYSTEM/* > ?all > > > jakob > > > Am 25.07.2018 um 09:11 schrieb Aki Tuomi: >> So the core file is not very useful... >> >> can you, instead, attach your doveconf -n and your virtual folder >> configurations and also >> >> gdb /usr/lib/dovecot/imap /path/to/core >> bt full >> >> Aki >> >>> On 25 July 2018 at 09:55 Jakobus Sch?rz <jakobus.schuerz at ebcont.com> >>> wrote: >>> >>> >>> Hi Aki! >>> >>> This is debian buster, but a self-compiled dovecot from git! >>> >>> /usr/local/sbin/dovecot --version >>> 2.3.2.1 (0719df592) >>> >>> jakob >>> >>> >>> Am 25.07.2018 um 08:30 schrieb Aki Tuomi: >>>> And can you provide dovecot --version too, please. >>>> >>>> Aki >>>> >>>>> On 25 July 2018 at 09:18 Aki Tuomi <aki.tuomi at dovecot.fi> wrote: >>>>> >>>>> >>>>> Hi! >>>>> >>>>> Which debian release is this? >>>>> >>>>> Aki >>>>> >>>>>> On 25 July 2018 at 05:18 Jakobus Sch?rz >>>>>> <jakobus.schuerz at ebcont.com> wrote: >>>>>> >>>>>> >>>>>> Hi There! >>>>>> >>>>>> I run into this problem with virtual Mailboxes on release-2.3.2 (and >>>>>> also in master and in older versions of dovecot) >>>>>> >>>>>> I added the core-file. >>>>>> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Panic: Leaked view for index >>>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: >>>>>> Opened >>>>>> in index-storage.c:338 >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Error: Raw backtrace: >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7ffad9ac0df1] -> >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+ >>>>>> 0xceeba) [0x7ffad9ac0eba] -> >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) >>>>>> [0x7ffad9a2efe8] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022) >>>>>> [0x7ffad9c66022] -> /usr/local/lib/dovecot/libdovecot-s >>>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7ffad9c3d72a] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) >>>>>> [0x7ffad9bbb1aa] -> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0 >>>>>> x7ffad9792b80] -> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) >>>>>> >>>>>> [0x7ffad9792d3b] -> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9) >>>>>> >>>>>> [0x7ffad9795f1 >>>>>> 9] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>>> >>>>>> [0x7ffad9bbd6d1] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>>> [0x7ffad9bbd787] -> /usr/local/lib/dovecot/libdo >>>>>> vecot-storage.so.0(index_storage_get_status+0x31) >>>>>> [0x7ffad9c3bed1] -> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) >>>>>> [0x7ffad9791ead] >>>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7ffad >>>>>> 9c1ff83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>>> [0x7ffad97b4602] -> >>>>>> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>>> [0x7ffad99e9813] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox >>>>>> _get_status+0x31) [0x7ffad9bbdb91] -> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b) >>>>>> >>>>>> [0x7ffad9795b7b] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>>> [0 >>>>>> x7ffad9bbd6d1] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>>> [0x7ffad9bbd787] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31) >>>>>> >>>>>> [0x7ffad9c3bed1] -> /usr/loca >>>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7ffad9791ead] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) >>>>>> [0x7ffad9c1ff83] -> >>>>>> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>>> [0x7ffad97b460 >>>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>>> [0x7ffad99e9813] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) >>>>>> >>>>>> [0x7ffad9bbdb91] -> /usr/local/lib/dovecot/lib20_virtual_plug >>>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7ffad9795b7b] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>>> >>>>>> [0x7ffad9bbd6d1] >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>>> imap(jakob)<11292><rg2GZclxHaPAqADc>: Fatal: master: service(imap): >>>>>> child 11292 killed with signal 6 (core dumped) >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in: >>>>>> AUTH??????? 19??????? PLAIN??????? service=imap secured=tls >>>>>> session=9KKNZclxHqPAqADc lip=192.168.0.14??????? rip=192.168.0.2 >>>>>> 20??????? lport=143??????? rport=41758 >>>>>> local_name=aldebaran.xundeenergie.at >>>>>> ssl_cipher=ECDHE-RSA-AES128-GCM-SHA256 ssl_cipher_bits=128 >>>>>> ssl_pfs=KxECDHE ssl_protocol=TLSv1.2 >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb >>>>>> out: CONT??????? 19 >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client in: >>>>>> CONT<hidden> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: >>>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: >>>>>> user=jakob >>>>>> file=/usr/local/etc/dovecot/users >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: client passdb >>>>>> out: OK??????? 19??????? user=jakob >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master in: >>>>>> REQUEST??????? 2436366337??????? 10570??????? 19 >>>>>> dd4c468bbfe617d4ef06a1b8ce6c111d??????? session_pid=11298 >>>>>> request_auth_token >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: >>>>>> passwd-file(jakob,192.168.0.220,<9KKNZclxHqPAqADc>): lookup: >>>>>> user=jakob >>>>>> file=/usr/local/etc/dovecot/users >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: auth: Debug: master userdb >>>>>> out: USER??????? 2436366337??????? jakob home=/var/mail/jakob >>>>>> acl_groups=home,admin auth_token=3ea3b630e131 >>>>>> 3bf5beb0f26ff740450189f63e3e >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: imap-login: Login: >>>>>> user=<jakob>, method=PLAIN, rip=192.168.0.220, lip=192.168.0.14, >>>>>> mpid=11298, TLS, session=<9KKNZclxHqPAqADc> >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Panic: Leaked view for index >>>>>> /var/lib/dovecot/db/indexes/Maildir/jakob/&ANY-BB/dovecot.index: >>>>>> Opened >>>>>> in index-storage.c:338 >>>>>> Jul 25 04:11:29 aldebaran dovecot[10573]: >>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Error: Raw backtrace: >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+0xcedf1) [0x7fbd982b2df1] -> >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(+ >>>>>> 0xceeba) [0x7fbd982b2eba] -> >>>>>> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) >>>>>> [0x7fbd98220fe8] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xf7022) >>>>>> [0x7fbd98458022] -> /usr/local/lib/dovecot/libdovecot-s >>>>>> torage.so.0(index_storage_mailbox_close+0x9a) [0x7fbd9842f72a] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_close+0x1a) >>>>>> [0x7fbd983ad1aa] -> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0xab80) [0 >>>>>> x7fbd97f84b80] -> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_backend_box_open+0x2b) >>>>>> >>>>>> [0x7fbd97f84d3b] -> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0x12a9) >>>>>> >>>>>> [0x7fbd97f87f1 >>>>>> 9] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>>> >>>>>> [0x7fbd983af6d1] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>>> [0x7fbd983af787] -> /usr/local/lib/dovecot/libdo >>>>>> vecot-storage.so.0(index_storage_get_status+0x31) >>>>>> [0x7fbd9842ded1] -> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) >>>>>> [0x7fbd97f83ead] >>>>>> -> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) [0x7fbd9 >>>>>> 8411f83] -> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>>> [0x7fbd97fa6602] -> >>>>>> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>>> [0x7fbd981db813] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox >>>>>> _get_status+0x31) [0x7fbd983afb91] -> >>>>>> /usr/local/lib/dovecot/lib20_virtual_plugin.so(virtual_storage_sync_init+0xf0b) >>>>>> >>>>>> [0x7fbd97f87b7b] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>>> [0 >>>>>> x7fbd983af6d1] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync+0x37) >>>>>> [0x7fbd983af787] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_storage_get_status+0x31) >>>>>> >>>>>> [0x7fbd9842ded1] -> /usr/loca >>>>>> l/lib/dovecot/lib20_virtual_plugin.so(+0x9ead) [0x7fbd97f83ead] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(+0xb0f83) >>>>>> [0x7fbd98411f83] -> >>>>>> /usr/local/lib/dovecot/lib20_fts_plugin.so(+0x10602) >>>>>> [0x7fbd97fa660 >>>>>> 2] -> /usr/local/lib/dovecot/lib01_acl_plugin.so(+0xf813) >>>>>> [0x7fbd981db813] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x31) >>>>>> >>>>>> [0x7fbd983afb91] -> /usr/local/lib/dovecot/lib20_virtual_plug >>>>>> in.so(virtual_storage_sync_init+0xf0b) [0x7fbd97f87b7b] -> >>>>>> /usr/local/lib/dovecot/libdovecot-storage.so.0(mailbox_sync_init+0x51) >>>>>> >>>>>> [0x7fbd983af6d1] >>>>>> Jul 25 04:11:30 aldebaran dovecot[10573]: >>>>>> imap(jakob)<11298><9KKNZclxHqPAqADc>: Fatal: master: service(imap): >>>>>> child 11298 killed with signal 6 (core dumped) >>>>>> >>>>>> >>>>>> jakob >>>>>> >