[Dovecot] Isolated crash in dovecot/imap (with backtrace)

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Fri Feb 14 19:39:51 UTC 2014


Log:

Feb 14 20:31:56 postamt dovecot: imap(lumo) m0Yg1mLyKABXuzxs: Panic:
file imap-fetch.c: line 554 (imap_fetch_more): assertion failed:
(ctx->client->output_cmd_lock == NULL || ctx->client->output_cmd_lock == cmd)
Feb 14 20:31:56 postamt dovecot: imap(lumo) m0Yg1mLyKABXuzxs: Error:
Raw backtrace:
/usr/local/dovecot-2.2/lib/dovecot/libdovecot.so.0(+0x68fee) [0xb75ccfee] ->
/usr/local/dovecot-2.2/lib/dovecot/libdovecot.so.0(+0x69071) [0xb75cd071] ->
/usr/local/dovecot-2.2/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xb75cda9c] -> 
dovecot/imap [lumo 87.187.60.108 UID FETCH UID FETCH
UID FETCH UID FETCH]() [0x8060ad4] -> dovecot/imap [lumo 87.187.60.108
UID FETCH UID FETCH UID FETCH UID FETCH](cmd_fetch+0x318) [0x8054078]
-> dovecot/imap [lumo 87.187.60.108 UID FETCH UID FETCH UID FETCH UID
FETCH](command_exec+0x32) [0x805e2e2] -> dovecot/imap [lumo
87.187.60.108 UID FETCH UID FETCH UID FETCH UID FETCH]() [0x805d2c7]
-> dovecot/imap [lumo 87.187.60.108 UID FETCH UID FETCH UID FETCH UID
FETCH]() [0x805d409] -> dovecot/imap [lumo 87.187.60.108 UID FETCH UID
FETCH UID FETCH UID FETCH](client_handle_input+0x115) [0x805d645] ->
dovecot/imap [lumo 87.187.60.108 UID FETCH UID FETCH UID FETCH UID
FETCH](client_input+0x72) [0x805d9f2] ->
Feb 14 20:31:56 postamt dovecot: imap(lumo) m0Yg1mLyKABXuzxs: Fatal:
master: service(imap): child 23971 killed with signal 6 (core dumped)

Backtrace:

Reading symbols from /usr/local/dovecot-2.2/libexec/dovecot/imap...done.
[New LWP 23971]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `dovecot/imap'.
Program terminated with signal 6, Aborted.
#0  0xb775e424 in __kernel_vsyscall ()
#0  0xb775e424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb741b941 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = <optimized out>
        pid = -1219162124
        selftid = 23971
#2  0xb741ed72 in *__GI_abort () at abort.c:92
        act = {__sigaction_handler = {sa_handler = 0xbfe67364, 
            sa_sigaction = 0xbfe67364}, sa_mask = {__val = {3077998178, 
              3219551060, 3075884392, 3219551048, 3078081124, 0, 3075825056, 
              1, 0, 1, 3077954592, 142179296, 1594, 3076296067, 3, 142209064, 
              1, 128, 0, 3219551120, 3219551048, 3219551060, 3219551068, 
              3077954592, 0, 3076305535, 142179264, 3075920260, 3076310429, 
              3076751908, 1594, 3076751908}}, sa_flags = 0, 
          sa_restorer = 0xb75cca17 <internal_handler+519>}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0xb75ccfde in default_fatal_finish (type=<optimized out>, 
    status=status at entry=0) at failures.c:193
        backtrace = 0x87973b0 "/usr/local/dovecot-2.2/lib/dovecot/libdovecot.so.0(+0x68fee) [0xb75ccfee] -> /usr/local/dovecot-2.2/lib/dovecot/libdovecot.so.0(+0x69071) [0xb75cd071] -> /usr/local/dovecot-2.2/lib/dovecot/libdovecot."...
#4  0xb75cd071 in i_internal_fatal_handler (ctx=0xbfe67434, 
    format=0x806f714 "file %s: line %d (%s): assertion failed: (%s)", 
    args=0xbfe67454 "\207\320\006\b*\002") at failures.c:657
        status = 0
#5  0xb75cda9c in i_panic (
    format=format at entry=0x806f714 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:267
        ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}
        args = 0xbfe67454 "\207\320\006\b*\002"
#6  0x08060ad4 in imap_fetch_more (ctx=0x87fdd20, cmd=cmd at entry=0x87fdc28)
    at imap-fetch.c:553
        ret = <optimized out>
        __FUNCTION__ = "imap_fetch_more"
#7  0x08054078 in cmd_fetch (cmd=0x87fdc28) at cmd-fetch.c:284
        client = <optimized out>
        ctx = 0x87fdd20
        args = 0x87ba650
        next_arg = <optimized out>
        list_arg = 0xb7638224
        search_args = 0x0
        qresync_args = {qresync_sample_seqset = 0x0, 
          qresync_sample_uidset = 0xb7638224}
        messageset = 0x87ba710 "38703"
        send_vanished = <optimized out>
        ret = <optimized out>
#8  0x0805e2e2 in command_exec (cmd=cmd at entry=0x87fdc28) at imap-commands.c:158
        hook = 0x879f9a8
        ret = <optimized out>
#9  0x0805d2c7 in client_command_input (cmd=0x87fdc28) at imap-client.c:780
        client = 0x87b7408
        command = <optimized out>
        __FUNCTION__ = "client_command_input"
#10 0x0805d409 in client_command_input (cmd=0x87fdc28) at imap-client.c:841
        client = 0x87b7408
        command = <optimized out>
        __FUNCTION__ = "client_command_input"
#11 0x0805d645 in client_handle_next_command (remove_io_r=<synthetic pointer>, 
    client=0x87b7408) at imap-client.c:879
No locals.
#12 client_handle_input (client=client at entry=0x87b7408) at imap-client.c:891
        _data_stack_cur_id = 3
        ret = 2
        remove_io = false
        handled_commands = false
        __FUNCTION__ = "client_handle_input"
#13 0x0805d9f2 in client_input (client=0x87b7408) at imap-client.c:933
        cmd = <optimized out>
        output = 0x87b7d40
        bytes = 198
        __FUNCTION__ = "client_input"
#14 0xb75dfd44 in io_loop_call_io (io=0x87db478) at ioloop.c:388
        ioloop = 0x879f498
        t_id = 2
#15 0xb75e0e0e in io_loop_handler_run (ioloop=ioloop at entry=0x879f498)
    at ioloop-epoll.c:220
        ctx = 0x87a0618
        events = 0x0
        event = 0x87a0658
        list = 0x87a0f40
        io = <optimized out>
        tv = {tv_sec = 299, tv_usec = 976127}
        events_count = 0
        msecs = <optimized out>
        ret = 1
        i = <optimized out>
        j = <optimized out>
        call = <optimized out>
        __FUNCTION__ = "io_loop_handler_run"
#16 0xb75df7d8 in io_loop_run (ioloop=0x879f498) at ioloop.c:412
        __FUNCTION__ = "io_loop_run"
#17 0xb7584d7e in master_service_run (service=0x879f3c0, 
    callback=callback at entry=0x80674f0 <client_connected>)
    at master-service.c:566
No locals.
#18 0x08067a00 in main (argc=1, argv=0x879f1e0) at main.c:400
        set_roots = {0x8070080, 0x0}
        login_set = {auth_socket_path = 0x8797048 "\003", 
          postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, 
          callback = 0x8067310 <login_client_connected>, 
          failure_callback = 0x8067490 <login_client_failed>, 
          request_auth_token = 1}
        service_flags = <optimized out>
        storage_service_flags = <optimized out>
        username = <optimized out>
        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