[Dovecot] 2.2.0rc6: crash with mailbox_list_index=yes (and virtual?)

Lutz Preßler Lutz.Pressler at SerNet.DE
Tue Apr 9 11:02:15 EEST 2013


Hello (Timo),

depending on the client (with OfflineIMAP, but not a mobile one) my dovecot
test configuration (config on request) crashes if mailbox_list_index=yes:

Apr  9 09:26:31 host dovecot: imap-login: Login: user=<user>, method=CRAM-MD5, rip=2001:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx, lip=2001:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx, mpid=19028, TLS, session=</+vqeOjZ1wAgAQY4BgPRMwIMKf/+amcv>
Apr  9 09:26:31 host dovecot: imap(19028, user) /+vqeOjZ1wAgAQY4BgPRMwIMKf/+amcv: Panic: file mail-index-view.c: line 169 (view_lookup_full):
assertion failed: (seq > 0 && seq <= mail_index_view_get_messages_count(view))
Apr  9 09:26:31 host dovecot: imap(19028, lpmailext) /+vqeOjZ1wAgAQY4BgPRMwIMKf/+amcv: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x61
75a) [0x7fca0248c75a] -> /usr/lib/dovecot/libdovecot.so.0(+0x617a6) [0x7fca0248c7a6] -> /usr/lib/dovecot/libdovecot.so.0(i_error+0) [0x7fca0244d3cf] ->
 /usr/lib/dovecot/libdovecot-storage.so.0(+0xc9b5e) [0x7fca027adb5e] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xca238) [0x7fca027ae238] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_lookup_ext+0x17) [0x7fca027ad2b7] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_index_status+0x11f) [0x7fca0277559f] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_index_status_set_info_flags+0x8d) [0x7fca0277606d] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_index_iter_next+0x18d) [0x7fca0277383d] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x93177) [0x7fca02777177] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_iter_next+0x255) [0x7fca02777465] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x94881) [0x7fca02778881] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x93177) [0x7fca02777177] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_iter_next+0x3c0)[0x7fca027775d0] -> /usr/lib/dovecot/modules/lib20_virtual_plugin.so(virtual_config_read+0x97d) [0x7fca0065344d] -> /usr/lib/dovecot/modules/lib20_virtual_plugin.so(+0x93c5) [0x7fca006553c5] -> /usr/lib/dovecot/modules/lib20_zlib_plugin.so(+0x2a8c) [0x7fca00447a8c] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x7dd94) [0x7fca02761d94] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_open+0xf) [0x7fca02761f4f] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_mailbox_get_metadata+0x5da) [0x7fca0278a41a] -> /usr/lib/dovecot/modules/lib20_virtual_plugin.so(+0x8d48) [0x7fca00654d48] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x91f05) [0x7fca02775f05] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_get_metadata+0x6e) [0x7fca02761b6e] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_list_index_sync_name+0x2e6) [0x7fca02776b66]
Apr  9 09:26:31 host dovecot: imap(19028, user) /+vqeOjZ1wAgAQY4BgPRMwIMKf/+amcv: Fatal: master: service(imap): child 19028 killed with signal 6 (core dumped)

gdb bt full attached. Haven't tested yet if disabling virtual namespaces makes
a difference. Neither logged triggering IMAP commands.

Regards,
  Lutz
-------------- next part --------------
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/dovecot/imap...Reading symbols from /usr/lib/debug/usr/lib/dovecot/imap...done.
(no debugging symbols found)...done.
Reading symbols from /usr/lib/dovecot/libdovecot-storage.so.0...Reading symbols from /usr/lib/debug/usr/lib/dovecot/libdovecot-storage.so.0.0.0...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/libdovecot-storage.so.0
Reading symbols from /usr/lib/dovecot/libdovecot.so.0...Reading symbols from /usr/lib/debug/usr/lib/dovecot/libdovecot.so.0.0.0...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/libdovecot.so.0
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/dovecot/modules/lib01_acl_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib01_acl_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib01_acl_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib02_imap_acl_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib10_quota_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib10_quota_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib10_quota_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib11_imap_quota_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib15_notify_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib15_notify_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib15_notify_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib20_fts_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib20_fts_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib20_fts_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib20_listescape_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib20_listescape_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib20_listescape_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib20_mail_log_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib20_mail_log_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib20_mail_log_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib20_virtual_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib20_virtual_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib20_virtual_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib20_zlib_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib20_zlib_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib20_zlib_plugin.so
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libbz2.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libbz2.so.1.0
Reading symbols from /usr/lib/dovecot/modules/lib21_fts_lucene_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib21_fts_lucene_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib21_fts_lucene_plugin.so
Reading symbols from /usr/lib/libstemmer.so.0d...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstemmer.so.0d
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/lib/dovecot/modules/lib30_imap_zlib_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib30_imap_zlib_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib30_imap_zlib_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib90_stats_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib90_stats_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib90_stats_plugin.so
Reading symbols from /usr/lib/dovecot/modules/lib95_imap_stats_plugin.so...Reading symbols from /usr/lib/debug/usr/lib/dovecot/modules/lib95_imap_stats_plugin.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/modules/lib95_imap_stats_plugin.so
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `dovecot/imap [user'.
Program terminated with signal 6, Aborted.
#0  0x00007fca020fb1b5 in raise () from /lib/libc.so.6
(gdb) bt full
#0  0x00007fca020fb1b5 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00007fca020fdfc0 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00007fca0248c76d in default_fatal_finish (type=<value optimized out>, status=0) at failures.c:191
        backtrace = 0x158dfc0 "/usr/lib/dovecot/libdovecot.so.0(+0x6175a) [0x7fca0248c75a] -> /usr/lib/dovecot/libdovecot.so.0(+0x617a6) [0x7fca0248c7a6] -> /usr/lib/dovecot/libdovecot.so.0(i_error+0) [0x7fca0244d3cf] -> /usr/lib/d"...
#3  0x00007fca0248c7a6 in i_internal_fatal_handler (ctx=0x7fffbea0aac0, format=<value optimized out>, args=<value optimized out>) at failures.c:652
        status = 0
#4  0x00007fca0244d3cf in i_panic (format=0x4a54 <Address 0x4a54 out of bounds>) at failures.c:263
        ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}
        args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffbea0ab90, reg_save_area = 0x7fffbea0aad0}}
#5  0x00007fca027adb5e in view_lookup_full (view=0x15def10, seq=0, map_r=0x7fffbea0abf8, expunged_r=0x7fffbea0ac3f) at mail-index-view.c:169
        broken_rec = {uid = 0, flags = 0 '\000'}
        rec = <value optimized out>
        head_rec = <value optimized out>
        __FUNCTION__ = "view_lookup_full"
#6  0x00007fca027ae238 in view_lookup_ext_full (view=0x4a54, seq=19028, ext_id=4, map_r=0x7fffbea0abf8, data_r=0x0, expunged_r=0x7fca024bcb1f)
    at mail-index-view.c:370
        rec = <value optimized out>
#7  0x00007fca027ad2b7 in mail_index_lookup_ext (view=0x4a54, seq=19028, ext_id=6, data_r=0x0, expunged_r=<value optimized out>)
    at mail-index-view.c:538
        map = 0x0
#8  0x00007fca0277559f in mailbox_list_index_status (list=<value optimized out>, view=<value optimized out>, seq=<value optimized out>, 
    items=STATUS_RECENT, status_r=0x7fffbea0ac80, mailbox_guid=0x0) at mailbox-list-index-status.c:100
        rec = <value optimized out>
        ilist = 0x15bc830
        data = 0x0
        expunged = false
        ret = true
#9  0x00007fca0277606d in mailbox_list_index_status_set_info_flags (box=0x15e3410, uid=1, flags=0x15e07c0) at mailbox-list-index-status.c:514
        view = 0x15def10
        status = {messages = 22932736, recent = 0, unseen = 41297105, uidvalidity = 32714, uidnext = 22792240, first_unseen_seq = 0, 
          first_recent_uid = 22792704, last_cached_seq = 0, highest_modseq = 22790640, highest_pvt_modseq = 22601552, keywords = 0x15c7500, 
          permanent_flags = 22939472, permanent_keywords = 0, allow_new_keywords = 0, nonpermanent_modseqs = 0, have_guids = 0}
        seq = 0
        ret = 1
#10 0x00007fca0277383d in mailbox_list_index_update_info (_ctx=0x15e0750) at mailbox-list-index-iter.c:100
        box = 0x15e3410
#11 mailbox_list_index_iter_next (_ctx=0x15e0750) at mailbox-list-index-iter.c:163
        match = <value optimized out>
#12 0x00007fca02777177 in mailbox_list_iter_next_call (ctx=0x4a54) at mailbox-list-iter.c:935
        info = <value optimized out>
        set = <value optimized out>
#13 0x00007fca02777465 in autocreate_iter_next (ctx=0x15e0750) at mailbox-list-iter.c:963
        info = <value optimized out>
        autoboxes = 0x158de90
        autobox = 0x7fffbea0adfc
#14 mailbox_list_iter_next (ctx=0x15e0750) at mailbox-list-iter.c:1004
        _data_stack_cur_id = 9
        info = 0x0
#15 0x00007fca02778881 in mailbox_list_ns_iter_try_next (_ctx=0x15de8f0) at mailbox-list-iter.c:577
        errstr = <value optimized out>
        error = 32767
#16 mailbox_list_ns_iter_next (_ctx=0x15de8f0) at mailbox-list-iter.c:639
        info = 0x0
#17 0x00007fca02777177 in mailbox_list_iter_next_call (ctx=0x4a54) at mailbox-list-iter.c:935
        info = <value optimized out>
        set = <value optimized out>
#18 0x00007fca027775d0 in mailbox_list_iter_next (ctx=0x15de8f0) at mailbox-list-iter.c:1006
        _data_stack_cur_id = 8
        info = 0x0
#19 0x00007fca0065344d in virtual_config_expand_wildcards (mbox=0x15da630) at virtual-config.c:322
        iter = 0x15de8f0
        wboxes = 0x158dd88
        j = 0
        user = 0x7fffbea0b000
        wildcard_boxes = {arr = {buffer = 0x158dd50, element_size = 8}, v = 0x158dd50, v_modifiable = 0x158dd50}
        info = 0x15e15e0
        count = 1
        neg_boxes = {arr = {buffer = 0x158ddb8, element_size = 8}, v = 0x158ddb8, v_modifiable = 0x158ddb8}
        i = 0
#20 virtual_config_read (mbox=0x15da630) at virtual-config.c:423
        storage = 0x15bca00
        ctx = {mbox = 0x15da630, input = 0x15dc760, pool = 0x15da610, rule = 0x158dbe8, rule_idx = 3, sep = 46 '.', have_wildcards = true, 
          have_mailbox_defines = true}
        st = {st_dev = 0, st_ino = 0, st_nlink = 0, st_mode = 34864012, st_uid = 32714, st_gid = 3198201888, __pad0 = 32767, 
          st_rdev = 140505598481637, st_size = 22793744, st_blksize = 140505585916452, st_blocks = 2311, st_atim = {tv_sec = 36758124, tv_nsec = 1}, 
          st_mtim = {tv_sec = 4294967329204, tv_nsec = 1000}, st_ctim = {tv_sec = 0, tv_nsec = 17}, __unused = {4096, 8, 1365491055}}
        box_path = <value optimized out>
        path = 0x158db98 "/home/lpressl/Maildir/virtual/.week/dovecot-virtual"
        line = <value optimized out>
        error = 0x0
        linenum = <value optimized out>
        fd = 17
        ret = <value optimized out>
#21 0x00007fca006553c5 in virtual_mailbox_open (box=0x15da630) at virtual-storage.c:288
        ret = <value optimized out>
#22 0x00007fca00447a8c in zlib_mailbox_open (box=0x15da630) at zlib-plugin.c:265
No locals.
#23 0x00007fca02761d94 in mailbox_open_full (box=0x15da630, input=<value optimized out>) at mail-storage.c:1018
        _data_stack_cur_id = 0
        ret = <value optimized out>
#24 0x00007fca02761f4f in mailbox_open (box=0x4a54) at mail-storage.c:1060
No locals.
#25 0x00007fca0278a41a in index_mailbox_get_metadata (box=0x4a54, items=MAILBOX_METADATA_GUID, metadata_r=0x6) at index-status.c:372
No locals.
#26 0x00007fca00654d48 in virtual_mailbox_get_metadata (box=0x4a54, items=19028, metadata_r=0x6) at virtual-storage.c:376
No locals.
#27 0x00007fca02775f05 in index_list_get_metadata (box=0x15da630, items=MAILBOX_METADATA_GUID, metadata_r=0x7fffbea0b4b0)
    at mailbox-list-index-status.c:202
No locals.
#28 0x00007fca02761b6e in mailbox_get_metadata (box=0x15da630, items=MAILBOX_METADATA_GUID, metadata_r=0x7fffbea0b4b0) at mail-storage.c:1508
        __FUNCTION__ = "mailbox_get_metadata"
#29 0x00007fca02776b66 in node_lookup_guid (ctx=0x15d6fa0, name=<value optimized out>, node_r=<value optimized out>, created_r=<value optimized out>)
    at mailbox-list-index-sync.c:25
        box = 0x15da630
        vname = <value optimized out>
        str = 0x158d9a8
        ns_sep = <value optimized out>
        metadata = {guid = '\000' <repeats 15 times>, virtual_size = 0, cache_fields = 0x0, precache_fields = 0, backend_ns_prefix = 0x0, 
          backend_ns_type = 0}
#30 node_add_to_index (ctx=0x15d6fa0, name=<value optimized out>, node_r=<value optimized out>, created_r=<value optimized out>)
    at mailbox-list-index-sync.c:45
        _data_stack_cur_id = 6
        irec = {name_id = 1, parent_uid = 0, guid = '\000' <repeats 15 times>, uid_validity = 0}
        seq = 8767310
#31 mailbox_list_index_node_add (ctx=0x15d6fa0, name=<value optimized out>, node_r=<value optimized out>, created_r=<value optimized out>)
    at mailbox-list-index-sync.c:87
        dup_name = <value optimized out>
#32 mailbox_list_index_sync_name (ctx=0x15d6fa0, name=<value optimized out>, node_r=<value optimized out>, created_r=<value optimized out>)
    at mailbox-list-index-sync.c:125
        path = 0x158d890
        empty_path = {0x7fca027b9e0d "", 0x0}
        node = 0x15c7500
        parent = <value optimized out>
        i = <value optimized out>
        seq = 0
        __FUNCTION__ = "mailbox_list_index_sync_name"
#33 0x00007fca02776d78 in mailbox_list_index_sync_list (list=<value optimized out>) at mailbox-list-index-sync.c:315
        name = 0x0
        _data_stack_cur_id = 5
        iter = 0x15d7370
        info = <value optimized out>
        flags = 0
        node = 0x7fca024883ca
        seq = <value optimized out>
        patterns = {0x7fca027bf387 "*", 0x0}
        created = false
#34 mailbox_list_index_sync (list=<value optimized out>) at mailbox-list-index-sync.c:386
        sync_ctx = 0x15d6fa0
        ret = <value optimized out>
#35 0x00007fca0277200f in mailbox_list_index_refresh (list=0x15bc1f0) at mailbox-list-index.c:373
        ilist = 0x15bc830
        view = 0x15ce4b0
        ret = <value optimized out>
#36 0x00007fca02773a98 in iter_use_index (list=0x15bc1f0, patterns=<value optimized out>, flags=<value optimized out>) at mailbox-list-index-iter.c:25
No locals.
#37 mailbox_list_index_iter_init (list=0x15bc1f0, patterns=<value optimized out>, flags=<value optimized out>) at mailbox-list-index-iter.c:53
        ilist = 0x15bc830
        ctx = 0x15ccc00
        pool = 0x15ccbe0
        ns_sep = 46 '.'
#38 0x00007fca02777d6d in mailbox_list_iter_init_multiple (list=0x15bc1f0, patterns=0x4a54, flags=6) at mailbox-list-iter.c:173
        ctx = <value optimized out>
        ret = <value optimized out>
        __FUNCTION__ = "mailbox_list_iter_init_multiple"
#39 0x00007fca02778859 in mailbox_list_ns_iter_try_next (_ctx=0x15cc7f0) at mailbox-list-iter.c:571
        errstr = <value optimized out>
        error = 32714
#40 mailbox_list_ns_iter_next (_ctx=0x15cc7f0) at mailbox-list-iter.c:639
        info = <value optimized out>
#41 0x00007fca02777177 in mailbox_list_iter_next_call (ctx=0x4a54) at mailbox-list-iter.c:935
        info = <value optimized out>
        set = <value optimized out>
#42 0x00007fca027775d0 in mailbox_list_iter_next (ctx=0x15cc7f0) at mailbox-list-iter.c:1006
        _data_stack_cur_id = 4
        info = 0x0
#43 0x000000000040ebd1 in cmd_list_continue (cmd=<value optimized out>) at cmd-list.c:229
        ctx = 0x15ca078
        info = 0x1
        flags = MAILBOX_NOCHILDREN
        str = 0x158d530
        mutf7_name = 0x158d680
        name = 0x1598e30 "\240T]\001"
        ret = 1
#44 0x000000000040f46e in cmd_list_full (cmd=0x15c9e30, lsub=<value optimized out>) at cmd-list.c:463
        client = 0x15c9250
        args = 0x1598ab8
        list_args = 0x15c9d80
        arg_count = <value optimized out>
        ctx = 0x15ca078
        patterns = {arr = {buffer = 0x15ca0b8, element_size = 8}, v = 0x15ca0b8, v_modifiable = 0x15ca0b8}
        ref = 0x15ca0a8 ""
        pattern = 0x15ca0b0 "*"
        patterns_strarr = 0x15ca0f0
        str = <value optimized out>
#45 0x00000000004160bd in command_exec (cmd=0x15c9e30) at imap-commands.c:156
        hook = 0x1596da0
        ret = <value optimized out>
#46 0x0000000000415210 in client_command_input (cmd=0x15c9e30) at imap-client.c:775
        client = 0x15c9250
        command = <value optimized out>
        __FUNCTION__ = "client_command_input"
#47 0x00000000004152fd in client_command_input (cmd=0x15c9e30) at imap-client.c:836
        client = 0x15c9250
        command = 0x0
        __FUNCTION__ = "client_command_input"
#48 0x000000000041557d in client_handle_next_command (client=0x15c9250) at imap-client.c:874
No locals.
#49 client_handle_input (client=0x15c9250) at imap-client.c:886
        _data_stack_cur_id = 3
        ret = 128
        remove_io = <value optimized out>
        handled_commands = false
        __FUNCTION__ = "client_handle_input"
#50 0x00000000004158ff in client_input (client=0x15c9250) at imap-client.c:928
        cmd = <value optimized out>
        output = 0x15c9c68
        bytes = <value optimized out>
        __FUNCTION__ = "client_input"
#51 0x00007fca0249b6a6 in io_loop_call_io (io=0x15c9d30) at ioloop.c:387
        ioloop = 0x1595730
        t_id = 2
#52 0x00007fca0249c71f in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:215
        ctx = 0x1595aa0
        event = 0x1595b10
        list = 0x15c9d80
        io = 0x4a54
        tv = {tv_sec = 9, tv_usec = 997323}
        msecs = <value optimized out>
        ret = 1
        i = 0
        call = false
        __FUNCTION__ = "io_loop_handler_run"
#53 0x00007fca0249b648 in io_loop_run (ioloop=0x1595730) at ioloop.c:406
No locals.
#54 0x00007fca02452083 in master_service_run (service=0x15955c0, callback=0x4a54) at master-service.c:560
No locals.
#55 0x000000000041eb77 in main (argc=2, argv=0x1595390) at main.c:400
        set_roots = {0x426200, 0x0}
        login_set = {auth_socket_path = 0x158d048 "\200\320X\001", 
          postlogin_socket_path = 0x158d080 "[user 2001:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx LIST]", postlogin_timeout_secs = 60, 
          callback = 0x41ed70 <login_client_connected>, failure_callback = 0x41ed10 <login_client_failed>, request_auth_token = 1}
        service_flags = <value optimized out>
        storage_service_flags = MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT
        username = 0x0
        c = <value optimized out>
(gdb) quit


More information about the dovecot mailing list