Hi Olivier,
I think I am hitting the same issue on a test machine, but I didn't had
the time yet to debug it properly.
Is your INBOX/spam folder configured to be auto-created?
What mailbox format do you use? (I am using maildir)
Cheers,
Chris
On Tue, 18 Jun 2013 17:14:52 +0200
interfaSys s?rl <interfasys at gmail.com> wrote:
> Hello,
>
> Dovecot keeps crashing at login time. Things were fine on 2.2.2
> Fatal: master: service(imap): child 5014 killed with signal 11
>
> Here is the trace:
> Core was generated by `imap'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x00000000105cdfdf in mailbox_list_get_storage
> (list=0x7fffffffe310, vname=0x10a04ab0 "INBOX/spam",
> storage_r=0x7fffffffe308) at mailbox-list.c:811
> 811 if (set != NULL && set->driver[0] !=
'\0') {
> (gdb) bt full
> #0 0x00000000105cdfdf in mailbox_list_get_storage
> (list=0x7fffffffe310, vname=0x10a04ab0 "INBOX/spam",
> storage_r=0x7fffffffe308) at mailbox-list.c:811
> set = 0x10a89758
> #1 0x00000000108c2876 in acl_backend_vfile_get_local_dir
> (backend=0x10a33a40, name=0x10a04a48 "INBOX/spam") at
> acl-backend-vfile.c:148
> ns = 0x10a5d3c0
> list = 0x10a45040
> storage = 0xb
> type = MAILBOX_LIST_PATH_TYPE_DIR
> dir = 0x10a1a250 "INBOX/spam"
> inbox = 0x1055dcc0 <static_system_pool>
"\200\334U\020"
> vname = 0x10a04ab0 "INBOX/spam"
> error = 0x0
> __FUNCTION__ = "acl_backend_vfile_get_local_dir"
> #2 0x00000000108c2a6c in acl_backend_vfile_object_init
> (_backend=0x10a33a40, name=0x10a04a48 "INBOX/spam") at
> acl-backend-vfile.c:195
> _data_stack_cur_id = 9
> backend = 0x10a33a40
> aclobj = 0x10a8c380
> dir = 0x10a04a68 "\003"
> vname = 0x10a45258 "\220R\244\020"
> #3 0x00000000108c05a2 in acl_object_init_from_name
> (backend=0x10a33a40, name=0x10a04a48 "INBOX/spam") at
acl-api.c:15
> No locals.
> #4 0x00000000108ca3d7 in acl_mailbox_list_have_right
> (list=0x10a45040, name=0x10a04a48 "INBOX/spam", parent=false,
> acl_storage_right_idx=0, can_see_r=0x0) at acl-mailbox-list.c:63
> alist = 0x10a45328
> backend = 0x10a33a40
> idx_arr = 0x10a453f8
> aclobj = 0x1ffffe420
> ret = 0
> ret2 = 10
> #5 0x00000000108cad9c in acl_mailbox_list_info_is_visible
> (ctx=0x10a11040) at acl-mailbox-list.c:336
> info = 0x10a110a8
> acl_name = 0x10a04a48 "INBOX/spam"
> ret = 0
> __FUNCTION__ = "acl_mailbox_list_info_is_visible"
> #6 0x00000000108caf36 in acl_mailbox_list_iter_next (_ctx=0x10a11040)
> at acl-mailbox-list.c:386
> _data_stack_cur_id = 8
> ctx = 0x10a11040
> info = 0x10a4a0c0
> ret = 0
> #7 0x00000000105e4394 in mailbox_list_iter_next_call (ctx=0x10a11040)
> at mailbox-list-iter.c:941
> info = 0x10a110a8
> set = 0x10a11110
> #8 0x00000000105e44ae in autocreate_iter_next (ctx=0x10a11040) at
> mailbox-list-iter.c:969
> actx = 0x10a11110
> info = 0x7fffffffe510
> autoboxes = 0x10a45040
> autobox = 0x7fffffffe530
> count = 4096
> __FUNCTION__ = "autocreate_iter_next"
> #9 0x00000000105e466c in mailbox_list_iter_next (ctx=0x10a11040) at
> mailbox-list-iter.c:1010
> _data_stack_cur_id = 7
> info = 0x10a11118
> #10 0x00000000108cacd3 in iter_mailbox_has_visible_children
> (ctx=0x10a10840, only_nonpatterns=false) at acl-mailbox-list.c:299
> iter = 0x10a11040
> info = 0x10a11118
> pattern = 0x10a047c8
> prefix = 0x10a04800 "INBOX/*"
> i = 5
> prefix_len = 6
> stars = false
> ret = true
> __FUNCTION__ = "iter_mailbox_has_visible_children"
> #11 0x00000000108cade9 in acl_mailbox_list_info_is_visible
> (ctx=0x10a10840) at acl-mailbox-list.c:345
> info = 0x10a108a8
> acl_name = 0x10a047a0 "INBOX"
> ret = 1
> __FUNCTION__ = "acl_mailbox_list_info_is_visible"
> #12 0x00000000108caf36 in acl_mailbox_list_iter_next (_ctx=0x10a10840)
> at acl-mailbox-list.c:386
> _data_stack_cur_id = 6
> ctx = 0x10a10840
> info = 0x10a490c0
> ret = 0
> #13 0x00000000105e4394 in mailbox_list_iter_next_call (ctx=0x10a10840)
> at mailbox-list-iter.c:941
> info = 0x0
> set = 0x0
> #14 0x00000000105e44ae in autocreate_iter_next (ctx=0x10a10840) at
> mailbox-list-iter.c:969
> actx = 0x10a10910
> info = 0x7fffffffe6b0
> autoboxes = 0x2
> autobox = 0x10a9b000
> count = 0
> __FUNCTION__ = "autocreate_iter_next"
> #15 0x00000000105e466c in mailbox_list_iter_next (ctx=0x10a10840) at
> mailbox-list-iter.c:1010
> _data_stack_cur_id = 5
> info = 0x10a1b780
> #16 0x00000000105e343b in mailbox_list_ns_iter_try_next
> (_ctx=0x10a10440, info_r=0x7fffffffe768) at mailbox-list-iter.c:580
> ctx = 0x10a10440
> ns = 0x1050912c <o_stream_get_buffer_used_size+41>
> info = 0x10a1b808
> error = MAIL_ERROR_NONE
> errstr = 0x10a47840 ""
> has_children = false
> __FUNCTION__ = "mailbox_list_ns_iter_try_next"
> #17 0x00000000105e36fc in mailbox_list_ns_iter_next (_ctx=0x10a10440)
> at mailbox-list-iter.c:645
> info = 0x0
> #18 0x00000000105e4394 in mailbox_list_iter_next_call (ctx=0x10a10440)
> at mailbox-list-iter.c:941
> ---Type <return> to continue, or q <return> to quit---
> info = 0x417e06 <client_send_line_next+159>
> set = 0x7fffffffe7d0
> #19 0x00000000105e467e in mailbox_list_iter_next (ctx=0x10a10440) at
> mailbox-list-iter.c:1012
> _data_stack_cur_id = 4
> info = 0x2
> #20 0x000000000041039c in cmd_list_continue (cmd=0x10a47840) at
> cmd-list.c:229
> ctx = 0x10a47938
> info = 0x10a10918
> flags = (MAILBOX_NOCHILDREN | MAILBOX_SELECT)
> str = 0x10a04548
> mutf7_name = 0x10a04698
> name = 0x10a10c40 "INBOX"
> ret = 1
> #21 0x0000000000410c2c in cmd_list_full (cmd=0x10a47840, lsub=false)
> at cmd-list.c:463
> client = 0x10a47040
> args = 0x10a100d8
> list_args = 0x104e15a0 <buffer_write+90>
> arg_count = 32767
> ctx = 0x10a47938
> patterns = {arr = {buffer = 0x10a47978, element_size = 8}, v >
0x10a47978, v_modifiable = 0x10a47978}
> ref = 0x10a47968 ""
> pattern = 0x10a47970 "*"
> patterns_strarr = 0x10a479b0
> str = 0x10a04268
> #22 0x0000000000410c81 in cmd_list (cmd=0x10a47840) at cmd-list.c:478
> No locals.
> #23 0x0000000000419e11 in command_exec (cmd=0x10a47840) at
> imap-commands.c:156
> hook = 0x10a22100
> ret = false
> #24 0x0000000000418d59 in client_command_input (cmd=0x10a47840) at
> imap-client.c:775
> client = 0x10a47040
> command = 0x7fffffffe950
> __FUNCTION__ = "client_command_input"
> #25 0x0000000000419059 in client_command_input (cmd=0x10a47840) at
> imap-client.c:836
> client = 0x10a47040
> command = 0x10a277e0
> __FUNCTION__ = "client_command_input"
> #26 0x0000000000419179 in client_handle_next_command
> (client=0x10a47040, remove_io_r=0x7fffffffe9dd) at imap-client.c:874
> No locals.
> #27 0x00000000004191f9 in client_handle_input (client=0x10a47040) at
> imap-client.c:886
> _data_stack_cur_id = 3
> ret = false
> remove_io = false
> handled_commands = false
> __FUNCTION__ = "client_handle_input"
> #28 0x000000000041938c in client_input (client=0x10a47040) at
> imap-client.c:928
> cmd = 0x10a21178
> output = 0x10a92088
> bytes = 19
> __FUNCTION__ = "client_input"
> #29 0x00000000104fc976 in io_loop_call_io (io=0x10a8c2c0) at
> ioloop.c:387 ioloop = 0x10a21040
> t_id = 2
> #30 0x00000000104fe46f in io_loop_handler_run (ioloop=0x10a21040) at
> ioloop-kqueue.c:148
> ctx = 0x10a190a0
> events = 0x10a50000
> event = 0x10a50000
> tv = {tv_sec = 1799, tv_usec = 999497}
> ts = {tv_sec = 1799, tv_nsec = 999497000}
> io = 0x10a8c2c0
> events_count = 6
> ret = 1
> i = 0
> __FUNCTION__ = "io_loop_handler_run"
> #31 0x00000000104fca19 in io_loop_run (ioloop=0x10a21040) at
> ioloop.c:406 No locals.
> #32 0x0000000010493800 in master_service_run (service=0x10a1b140,
> callback=0x425f06 <client_connected>) at master-service.c:560
> No locals.
> #33 0x0000000000426220 in main (argc=1, argv=0x7fffffffebe8) at
> main.c:400 set_roots = {0x42f680 <imap_setting_parser_info>, 0x0}
> login_set = {auth_socket_path = 0x10a04038 "p@\240\020",
> postlogin_socket_path = 0x0, postlogin_timeout_secs = 60,
> callback = 0x425cca <login_client_connected>,
> failure_callback = 0x425e92 <login_client_failed>, request_auth_token
> = 1} service_flags = MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN
> storage_service_flags > MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT
username = 0x0
> c = -1
>
>
>
> Cheers,
>
> Olivier