Potapov Sergey
2014-Jul-16 13:17 UTC
Dovecot 2.2.13 Assertion failed in mailbox_list_create
Hi I got this error when configured imapc proxy (http://wiki2.dovecot.org/HowTo/ImapcProxy) and moved indexes to memory (mail_location = imapc:~/imapc:INDEX=MEMORY), with indexes on disk this error does not occurred. Jul 16 17:06:31 imap-login: Info: Login: user=<user87>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=21703, secured, session=<iwFgMU/+lwB/AAAB> Jul 16 17:06:31 imap(user87): Panic: file mailbox-list.c: line 136 (mailbox_list_create): assertion failed: (set->root_dir == NULL || *set->root_dir != '\0' || ((*class_p)->props & MAILBOX_LIST_PROP_NO_ROOT) != 0) Jul 16 17:06:31 imap(user87): Error: Raw backtrace: /home/lion/dovecot-2.2/lib/dovecot/libdovecot.so.0(+0x872a6) [0x7f39be4d52a6] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot.so.0(+0x88683) [0x7f39be4d6683] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7f39be4d55f9] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot-storage.so.0(mailbox_list_create+0x204) [0x7f39be7ff031] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot-storage.so.0(+0x78934) [0x7f39be7d4934] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot-storage.so.0(+0x78bbb) [0x7f39be7d4bbb] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot-storage.so.0(mailbox_list_get_path+0x34) [0x7f39be80230a] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot-storage.so.0(mailbox_get_path_to+0x8a) [0x7f39be7f9455] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot-storage.so.0(+0x9a0ee) [0x7f39be7f60ee] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot-storage.so.0(mailbox_get_status+0x32) [0x7f39be7f793c] -> dovecot/imap(imap_status_get+0xf0) [ 0x4252ac] -> dovecot/imap(cmd_status+0x1b7) [0x416177] -> dovecot/imap(command_exec+0x5f) [0x41bdf4] -> dovecot/imap() [0x41ad47] -> dovecot/imap() [0x41b049] -> dovecot/imap() [0x41b169] -> dovecot/imap(client_handle_input+0x7e) [0x41b1e9] -> dovecot/imap(client_input+0xe6) [0x41b37c] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot.so.0(io_loop_call_io+0xb6) [0x7f39be4eec32] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x1e5) [0x7f39be4f0ce4] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x18) [0x7f39be4eedcd] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot.so.0(io_loop_run+0xaf) [0x7f39be4eed26] -> /home/lion/dovecot-2.2/lib/dovecot/libdovecot.so.0(master_service_run+0x2e) [0x7f39be477d6d] -> dovecot/imap(main+0x2b3) [0x428a6d] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f39be0af76d] -> dovecot/imap() [0x40ad59] # 2.2.13 (fd0616d553b0+): /home/lion/dovecot-2.2/etc/dovecot/dovecot.conf # OS: Linux 3.11.0-24-generic x86_64 Ubuntu 12.04.4 LTS auth_mechanisms = plain login default_internal_user = lion default_login_user = lion disable_plaintext_auth = no imapc_host = localhost log_path = /home/lion/dovecot-2.2/var/log/dovecot.log mail_home = /home/lion/dovecot-2.2/home/vmail/%u mail_location = imapc:~/imapc:INDEX=MEMORY namespace inbox { inbox = yes location mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix } passdb { args = host=localhost port=143 default_fields = userdb_imapc_user=%u userdb_imapc_password=%w driver = imap } plugin { fts = solr fts_solr = url=http://localhost:8080/solr/ break-imap-search mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size } service anvil { chroot } service auth-worker { user = $default_internal_user } service imap-login { chroot inet_listener imap { port = 10143 } inet_listener imaps { port = 10993 } } service lmtp { chroot } service pop3-login { chroot inet_listener pop3 { port = 10110 } inet_listener pop3s { port = 10995 } } ssl = no userdb { driver = prefetch }