SIGSEGV in 2.2.13 with IMAP Proxying to an Exchange Server

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Sun Jun 22 17:38:31 UTC 2014


Reading symbols from /usr/lib/dovecot/imap...Reading symbols from /usr/lib/debug//usr/lib/dovecot/imap...done.
done.
Attaching to program: /usr/lib/dovecot/imap, process 28497
[New LWP 28497]
Core was generated by `dovecot/imap'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  imapc_client_mailbox_cmd (box=0x0, callback=callback at entry=0x7fa3a78020e0 <imapc_simple_callback>, context=context at entry=0x7fffd738b940)
    at imapc-client.c:351
#0  imapc_client_mailbox_cmd (box=0x0, callback=callback at entry=0x7fa3a78020e0 <imapc_simple_callback>, context=context at entry=0x7fffd738b940)
    at imapc-client.c:351
        cmd = <optimized out>
        __FUNCTION__ = "imapc_client_mailbox_cmd"
#1  0x00007fa3a7802815 in imapc_mailbox_noop (mbox=mbox at entry=0x149d440) at imapc-storage.c:154
        cmd = <optimized out>
        sctx = {client = 0x146c400, ret = -2}
#2  0x00007fa3a7800d30 in imapc_mailbox_sync_init (box=0x149d440, flags=(MAILBOX_SYNC_FLAG_FULL_READ | MAILBOX_SYNC_FLAG_FIX_INCONSISTENT))
    at imapc-sync.c:476
        mbox = 0x149d440
        list = <optimized out>
        capabilities = <optimized out>
        changes = true
        ret = 0
#3  0x00007fa3a78133c9 in mailbox_sync_init (box=box at entry=0x149d440, 
    flags=(MAILBOX_SYNC_FLAG_FULL_READ | MAILBOX_SYNC_FLAG_FIX_INCONSISTENT)) at mail-storage.c:1677
        _data_stack_cur_id = 4
        ctx = <optimized out>
#4  0x00007fa3a78134d7 in mailbox_sync (box=box at entry=0x149d440, flags=<optimized out>, flags at entry=MAILBOX_SYNC_FLAG_FULL_READ)
    at mail-storage.c:1725
        ctx = 0x149d440
        status = {sync_delayed_expunges = 0}
#5  0x00007fa3a783ddcb in mailbox_expunge_all_data (box=0x149d440) at index-storage.c:648
        ctx = 0x7fffd738bafc
        t = 0x7fffd738bafc
        mail = 0x0
        search_args = 0x0
#6  index_storage_mailbox_delete (box=0x149d440) at index-storage.c:701
        metadata = {guid = "\000\000\000\000\000\000\000\000\030\337z\247\000\000\000", virtual_size = 21615680, cache_fields = 0x0, 
          precache_fields = (MAIL_FETCH_RECEIVED_DATE | MAIL_FETCH_SAVE_DATE | MAIL_FETCH_PHYSICAL_SIZE | MAIL_FETCH_IMAP_BODY | MAIL_FETCH_IMAP_ENVELOPE | MAIL_FETCH_HEADER_MD5 | MAIL_FETCH_UIDL_BACKEND | MAIL_FETCH_POP3_ORDER | unknown: 16777216), 
          backend_ns_prefix = 0x7fa3a78144b0 <mailbox_open+16> "\211\302\061\300\205\322x\bH\203\304\030[]Ð\366\203\230\002", 
          backend_ns_type = (unknown: 0)}
        status = {messages = 0, recent = 0, unseen = 21327392, uidvalidity = 0, uidnext = 1, first_unseen_seq = 0, 
          first_recent_uid = 2806981817, last_cached_seq = 32675, highest_modseq = 21615680, highest_pvt_modseq = 140340866663231, 
          keywords = 0x1, permanent_flags = 0, permanent_keywords = 0, allow_new_keywords = 0, nonpermanent_modseqs = 0, 
          no_modseq_tracking = 0, have_guids = 0, have_save_guids = 0, have_only_guid128 = 0}
        ret_guid = <optimized out>
#7  0x00007fa3a78146a7 in mailbox_delete (box=0x149d440) at mail-storage.c:1319
        ret = <optimized out>
#8  0x000000000040d0e1 in cmd_delete (cmd=0x148de40) at cmd-delete.c:39
        client = <optimized out>
        ns = <optimized out>
        box = 0x149d440
        name = 0x144c2b8 "postponed-msgs"
        errstr = <optimized out>
        error = 32767
        disconnect = false
#9  0x0000000000416cfc in command_exec (cmd=0x148de40) at imap-commands.c:158
        hook = 0x14550e0
        ret = <optimized out>
#10 0x0000000000415d5f in client_command_input (cmd=0x148de40) at imap-client.c:778
        client = 0x1499c10
        command = <optimized out>
        __FUNCTION__ = "client_command_input"
#11 0x0000000000415e15 in client_command_input (cmd=0x148de40) at imap-client.c:839
        client = 0x1499c10
        command = <optimized out>
        __FUNCTION__ = "client_command_input"
#12 0x0000000000416115 in client_handle_next_command (remove_io_r=<synthetic pointer>, client=0x1499c10) at imap-client.c:877
No locals.
#13 client_handle_input (client=client at entry=0x1499c10) at imap-client.c:889
        _data_stack_cur_id = 3
        remove_io = false
        handled_commands = false
        __FUNCTION__ = "client_handle_input"
#14 0x00000000004164a2 in client_input (client=0x1499c10) at imap-client.c:931
        cmd = 0x1465630
        output = 0x148dd30
        bytes = 32
        __FUNCTION__ = "client_input"
#15 0x00007fa3a7547e6f in io_loop_call_io (io=0x148be10) at ioloop.c:441
        ioloop = 0x1454730
        t_id = 2
        __FUNCTION__ = "io_loop_call_io"
#16 0x00007fa3a7548d77 in io_loop_handler_run_internal (ioloop=ioloop at entry=0x1454730) at ioloop-epoll.c:220
        ctx = 0x14553c0
        list = 0x1456e20
        io = <optimized out>
        tv = {tv_sec = 4, tv_usec = 998377}
        events_count = <optimized out>
        msecs = <optimized out>
        ret = 1
        i = 0
        call = <optimized out>
        __FUNCTION__ = "io_loop_handler_run_internal"
#17 0x00007fa3a7547ed9 in io_loop_handler_run (ioloop=ioloop at entry=0x1454730) at ioloop.c:488
No locals.
#18 0x00007fa3a7547f58 in io_loop_run (ioloop=0x1454730) at ioloop.c:465
        __FUNCTION__ = "io_loop_run"
#19 0x00007fa3a74f7133 in master_service_run (service=0x14545c0, callback=callback at entry=0x41ee50 <client_connected>) at master-service.c:566
No locals.
#20 0x000000000040b06f in main (argc=1, argv=0x1454390) at main.c:400
        set_roots = {0x426ca0 <imap_setting_parser_info>, 0x0}
        login_set = {auth_socket_path = 0x144c048 "\001", postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, 
          callback = 0x41f200 <login_client_connected>, failure_callback = 0x41ef30 <login_client_failed>, request_auth_token = 1}
        service_flags = <optimized out>
        storage_service_flags = <optimized out>
        username = 0x0
        c = <optimized out>

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt at charite.de | http://www.charite.de
	    


More information about the dovecot mailing list