[EXT] Re: Dovecot v2.3.17 released

Frank Elsner frank.elsner at mailbox.org
Thu Oct 28 21:24:00 EEST 2021


On Thu, 28 Oct 2021 19:17:40 +0300 (EEST) Aki Tuomi wrote:
> 
> > On 28/10/2021 19:10 Frank Elsner <frank.elsner at mailbox.org> wrote:
> > 
> >  
> > On Thu, 28 Oct 2021 17:32:28 +0300 (EEST) Aki Tuomi wrote:
> > 
> >   [ ... ]
> > 
> > > I guess you are using systemd-coredump, so try
> > > 
> > > coredumpctl dump -o core /usr/libexec/dovecot/imap 

  { ... ]

> In the directory you ran that command, there will be now a file called 'core'. Can you now do:
> 
> gdb /usr/libexec/dovecot/imap core
> bt full

Hi Aki,

I hope to deliver the requested info with this output

(gdb) bt full
#0  fts_user_autoindex_exclude (box=<optimized out>, box at entry=0x559500fdd138) at fts-user.c:347
        fuser = <optimized out>
#1  0x00007f50d8f623b6 in fts_mailbox_allocated (box=0x559500fdd138) at fts-storage.c:806
        flist = <optimized out>
        v = 0x559500fdd7b8
        fbox = 0x559500fdd918
#2  0x00007f50d942bd1c in hook_mailbox_allocated (box=box at entry=0x559500fdd138) at mail-storage-hooks.c:256
        _data_stack_cur_id = 5
        _foreach_end = 0x559500fce758
        _foreach_ptr = 0x559500fce740
        hooks = 0x7f50d8f90b40 <fts_mail_storage_hooks>
        ctx = 0x559500fde558
#3  0x00007f50d9426f11 in mailbox_alloc (list=0x559500fd40c8, vname=vname at entry=0x559500f87620 "Administration", 
    flags=flags at entry=0) at mail-storage.c:885
        _data_stack_cur_id = 4
        new_list = 0x559500fd40c8
        storage = 0x559500fd48d8
        box = 0x559500fdd138
        open_error = MAIL_ERROR_NONE
        errstr = 0x0
        __func__ = "mailbox_alloc"
#4  0x00005594fffcaae2 in cmd_create (cmd=0x559500fd38b8) at cmd-create.c:40
        ns = 0x559500fd3390
--Type <RET> for more, q to quit, c to continue without paging--
        mailbox = 0x559500f87620 "Administration"
        orig_mailbox = <optimized out>
        box = 0x559500fdc5a0
        directory = <optimized out>
        len = 14
#5  0x00005594fffd8494 in command_exec (cmd=cmd at entry=0x559500fd38b8) at imap-commands.c:201
        hook = 0x559500f93580
        finished = <optimized out>
        __func__ = "command_exec"
#6  0x00005594fffd64c2 in client_command_input (cmd=<optimized out>) at imap-client.c:1230
        client = 0x559500fd2788
        command = <optimized out>
        tag = 0x7f50d9331f3a <p_strdup+74> "]A\\A]\303\061\300\303ff.\017\037\204"
        name = 0x5594fffea726 "CREATE"
        ret = <optimized out>
        __func__ = "client_command_input"
#7  0x00005594fffd6574 in client_command_input (cmd=<optimized out>) at imap-client.c:1297
        client = 0x559500fd2788
        command = <optimized out>
        tag = 0x559500f9e0e8 "161"
        name = 0x559500f9e0f0 "CREATE"
        ret = <optimized out>
        __func__ = "client_command_input"
--Type <RET> for more, q to quit, c to continue without paging--
#8  0x00005594fffd697d in client_handle_next_command (remove_io_r=<synthetic pointer>, client=0x559500fd2788)
    at imap-client.c:1339
No locals.
#9  client_handle_input (client=0x559500fd2788) at imap-client.c:1353
        _data_stack_cur_id = 3
        ret = <optimized out>
        remove_io = false
        handled_commands = false
        __func__ = "client_handle_input"
#10 0x00005594fffd6f30 in client_input (client=0x559500fd2788) at imap-client.c:1397
        cmd = 0x559500f9b6a8
        output = 0x559500fd31f0
        bytes = 27
        __func__ = "client_input"
#11 0x00007f50d9314249 in io_loop_call_io (io=0x559500fd3330) at ioloop.c:737
        ioloop = 0x559500f8fe70
        t_id = 2
        __func__ = "io_loop_call_io"
#12 0x00007f50d93158f2 in io_loop_handler_run_internal (ioloop=ioloop at entry=0x559500f8fe70) at ioloop-epoll.c:222
        ctx = 0x559500f925d0
        events = <optimized out>
        event = 0x559500f92650
        list = 0x559500f9b690
--Type <RET> for more, q to quit, c to continue without paging--
        io = <optimized out>
        tv = {tv_sec = 1799, tv_usec = 999057}
        events_count = <optimized out>
        msecs = <optimized out>
        ret = 1
        i = 0
        j = 0
        call = <optimized out>
        __func__ = "io_loop_handler_run_internal"
#13 0x00007f50d93142f0 in io_loop_handler_run (ioloop=0x559500f8fe70) at ioloop.c:789
        __func__ = "io_loop_handler_run"
#14 0x00007f50d93144b0 in io_loop_run (ioloop=0x559500f8fe70) at ioloop.c:762
        __func__ = "io_loop_run"
#15 0x00007f50d92884f3 in master_service_run (service=0x559500f8fcd0, 
    callback=callback at entry=0x5594fffe4c90 <client_connected>) at master-service.c:863
No locals.
#16 0x00005594fffc7f85 in main (argc=<optimized out>, argv=<optimized out>) at main.c:564
        set_roots = {0x5594ffff98e0 <smtp_submit_setting_parser_info>, 0x5594ffff9600 <imap_setting_parser_info>, 0x0}
        login_set = {auth_socket_path = 0x559500f877f8 "\003", postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, 
          callback = 0x5594fffe5640 <login_client_connected>, failure_callback = 0x5594fffe4d60 <login_client_failed>, 
          request_auth_token = true}
        service_flags = <optimized out>
        storage_service_flags = (MAIL_STORAGE_SERVICE_FLAG_NO_NAMESPACES | MAIL_STORAGE_SERVICE_FLAG_NO_SSL_CA)
--Type <RET> for more, q to quit, c to continue without paging--
        username = <optimized out>
        auth_socket_path = <optimized out>
        c = <optimized out>
        error = 0x7fffe05085a8 ""
(gdb) 


By for today, Frank



More information about the dovecot mailing list