Hello Timo, latest 2.0 hg version (changeset a6b050cc4a9a) segfaults when selecting a virtual mailbox. Backtrace and dovecot -n are attached.
Please let me know if I can help with anything else to debug this. Regards, e-frog
Core was generated by `dovecot/imap'. Program terminated with signal 11, Segmentation fault. #0 0xb745d876 in array_get_modifiable_i (array=0x9de57f8, count_r=0xbfa2f314) at ../../../src/lib/array.h:198 198 *count_r = array->buffer->used / array->element_size; (gdb) bt full #0 0xb745d876 in array_get_modifiable_i (array=0x9de57f8, count_r=0xbfa2f314) at ../../../src/lib/array.h:198 198 *count_r = array->buffer->used / array->element_size; (gdb) bt full #0 0xb745d876 in array_get_modifiable_i (array=0x9de57f8, count_r=0xbfa2f314) at ../../../src/lib/array.h:198 No locals. #1 0xb745e8ad in virtual_config_free (mbox=0x9de56a8) at virtual-config.c:393 bboxes = 0x9de58a0 i = 3215127352 count = 3077046260 #2 0xb7460db8 in virtual_mailbox_free (box=0x9de56a8) at virtual-storage.c:326 mbox = 0x9de56a8 #3 0xb746c5d3 in fts_mailbox_free (box=0x9de56a8) at fts-storage.c:71 fbox = 0x9de5c88 #4 0xb76a4142 in mailbox_free (_box=0xbfa2f3f0) at mail-storage.c:637 box = 0x9de56a8 #5 0xb7609374 in cmd_getquotaroot (cmd=0x9ab8c18) at imap-quota-plugin.c:116 client = 0x9ab8810 quser = 0x9ab5820 ns = 0x9ab4550 box = 0x0 iter = 0x0 root = 0x0 mailbox = 0x9aba4d0 "virtual/ungelesen" storage_name = 0x9aba4d8 "ungelesen" name = 0x9ab40c0 "user" quotaroot_reply = 0x9a92460 quota_reply = 0x9a92510 #6 0x080581c1 in client_command_input (cmd=0x9ab8c18) at imap-client.c:646 client = 0x9ab8810 command = 0x8058eb1 __FUNCTION__ = "client_command_input" #7 0x080583f4 in client_command_input (cmd=0x9ab8c18) at imap-client.c:696 client = 0x9ab8810 command = 0x9a9ae5c __FUNCTION__ = "client_command_input" #8 0x080584f7 in client_handle_next_command (client=0x9ab8810, remove_io_r=0xbfa2f4ee) at imap-client.c:737 size = 36 #9 0x08058575 in client_handle_input (client=0x9ab8810) at imap-client.c:749 _data_stack_cur_id = 3 ret = 9 remove_io = false handled_commands = false __FUNCTION__ = "client_handle_input" #10 0x080586cc in client_input (client=0x9ab8810) at imap-client.c:788 cmd = 0x0 output = 0x9ab1f8c bytes = 36 __FUNCTION__ = "client_input" #11 0xb7656455 in io_loop_handler_run (ioloop=0x9a9a358) at ioloop-epoll.c:212 ctx = 0x9a9a478 events = 0x9a9a4b8 event = 0x9a9a4b8 list = 0x9ab45c8 io = 0x9ab45a0 tv = {tv_sec = 1799, tv_usec = 999117} events_count = 6 t_id = 2 msecs = 1800000 ret = 1 i = 0 j = 0 call = true #12 0xb7655182 in io_loop_run (ioloop=0x9a9a358) at ioloop.c:350 No locals. #13 0xb763f254 in master_service_run (service=0x9a9a2a8, callback=0x806302a <client_connected>) at master-service.c:480 No locals. #14 0x08063277 in main (argc=1, argv=0x9a9a1c0) at main.c:357 set_roots = {0x8066380, 0x0} service_flags = MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN storage_service_flags = MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT postlogin_socket_path = 0x0 username = 0x0 c = -1
dovecot -n # 2.0.beta4 (a6b050cc4a9a): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-21-generic-pae i686 Ubuntu lucid (development branch) auth_debug = yes auth_socket_path = /var/run/dovecot/auth-userdb auth_username_format = %Ln deliver_log_format = msgid=%m: from=%f: %$ dict { dictionary = mysql:/etc/dovecot/dovecot-dict-sql.conf } disable_plaintext_auth = no lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes mail_debug = yes namespace { hidden = no inbox = yes list = yes location = prefix = separator = / subscriptions = yes type = private } namespace { location = virtual:/etc/dovecot/virtual:INDEX=~/.maildir/control prefix = virtual/ separator = / subscriptions = no type = private } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { fts = squat fts_squat = partial=4 full=10 quota = dict:user::proxy::dictionary sieve = ~/.dovecot.sieve sieve_dir = ~/.sieve sieve_global_dir = /etc/dovecot/sieve-global/ } postmaster_address = postmas...@ubuntu-test protocols = imap lmtp managesieve quota_full_tempfail = yes sendmail_path = /usr/lib/sendmail service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } unix_listener auth-userdb { mode = 0666 } } service dict { unix_listener dict { mode = 0666 } } service lmtp { unix_listener /var/spool/postfix/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } service managesieve-login { inet_listener sieve_deprecated { port = 2000 } } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } verbose_proctitle = yes protocol lda { info_log_path = /var/log/deliver.log log_path = /var/log/deliver.log mail_plugins = virtual quota sieve } protocol imap { mail_plugins = quota imap_quota fts fts_squat virtual } protocol lmtp { mail_plugins = virtual quota sieve } protocol managesieve { mail_plugins = virtual }