[Dovecot] 1.2.9 imap crash with backtrace

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Wed Dec 30 11:42:06 EET 2009


I got about 20 (!) of these today

GNU gdb (GDB) 7.0-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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/libexec/dovecot/imap...done.
Reading symbols from /lib/i686/cmov/libdl.so.2...Reading symbols from /usr/lib/debug/lib/i686/cmov/libdl-2.10.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libdl.so.2
Reading symbols from /lib/i686/cmov/librt.so.1...Reading symbols from /usr/lib/debug/lib/i686/cmov/librt-2.10.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/librt.so.1
Reading symbols from /lib/i686/cmov/libc.so.6...Reading symbols from /usr/lib/debug/lib/i686/cmov/libc-2.10.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.10.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/i686/cmov/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/i686/cmov/libpthread-2.10.2.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libpthread.so.0
Reading symbols from /usr/local/lib/dovecot/imap/lib10_quota_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib10_quota_plugin.so
Reading symbols from /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so
Reading symbols from /usr/local/lib/dovecot/imap/lib11_trash_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib11_trash_plugin.so
Reading symbols from /usr/local/lib/dovecot/imap/lib20_autocreate_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib20_autocreate_plugin.so
Reading symbols from /usr/local/lib/dovecot/imap/lib20_fts_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib20_fts_plugin.so
Reading symbols from /usr/local/lib/dovecot/imap/lib20_mail_log_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib20_mail_log_plugin.so
Reading symbols from /usr/local/lib/dovecot/imap/lib20_zlib_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/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/local/lib/dovecot/imap/lib21_fts_squat_plugin.so...done.
Loaded symbols for /usr/local/lib/dovecot/imap/lib21_fts_squat_plugin.so
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Core was generated by `imap [ctXXXX 141.42.26.107]'.
Program terminated with signal 6, Aborted.
#0  0xb78aa424 in __kernel_vsyscall ()
#0  0xb78aa424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb77728e0 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = <value optimized out>
        pid = -1215778828
        selftid = 32050
#2  0xb7775e15 in *__GI_abort () at abort.c:88
        act = {__sigaction_handler = {sa_handler = 0x9bb5848, 
            sa_sigaction = 0x9bb5848}, sa_mask = {__val = {3214234984, 
              135196938, 3079186144, 0, 3214235104, 3214235092, 128, 0, 0, 
              3214235168, 3079439984, 134566866, 515, 0, 0, 0, 1, 135270254, 
              128, 1, 3214235092, 163272744, 69, 3214235220, 3214235064, 
              135198534, 163273291, 3214235092, 3214235096, 516, 163272776, 
              3078652995}}, sa_flags = 516, 
          sa_restorer = 0x8106d79 <write_full+57>}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0x080f15e5 in default_fatal_finish (type=<value optimized out>, status=0)
    at failures.c:160
        backtrace = 0x9bb5618 "imap [0x80f15d1] -> imap [0x80f1642] -> imap [0x80f0fb9] -> imap [0x8063360] -> imap [0x80635b4] -> imap(cmd_list_full+0x50c) [0x806436c] -> imap(cmd_list+0x19) [0x8064669] -> imap [0x8067a2c] -> imap"...
#4  0x080f1642 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, 
    fmt=0x8109dcc "file %s: line %d (%s): assertion failed: (%s)", 
    args=0xbf9556b4 "}\245\020\b\362") at failures.c:443
No locals.
#5  0x080f0fb9 in i_panic (
    format=0x8109dcc "file %s: line %d (%s): assertion failed: (%s)")
    at failures.c:207
No locals.
#6  0x08063360 in ns_get_listed_prefix (ctx=0x9bbfec8, have_children=true)
    at cmd-list.c:242
        glob = 0x9bb55d0
        match = IMAP_MATCH_NO
        __PRETTY_FUNCTION__ = "ns_get_listed_prefix"
#7  list_namespace_send_prefix (ctx=0x9bbfec8, have_children=true)
    at cmd-list.c:266
        i = <value optimized out>
        flags = <value optimized out>
        name = 0x9bbf480 "INBOX."
        str = <value optimized out>
        ends_with_sep = <value optimized out>
#8  0x080635b4 in list_namespace_mailboxes (cmd=0x9bbfe30) at cmd-list.c:375
        info = <value optimized out>
        flags = 1073741828
        str = 0x9bb5358
        ret = 0
        ns = 0xbf9557b8
        name = 0x9bc52c0 "INBOX"
#9  cmd_list_continue (cmd=0x9bbfe30) at cmd-list.c:762
        _data_stack_cur_id = 4
        ctx = 0x9bbfec8
#10 0x0806436c in cmd_list_full (cmd=0x9bbfe30, lsub=false) at cmd-list.c:933
        client = 0x9bbfba0
        args = 0x9bc26d0
        arg = <value optimized out>
        ctx = 0x9bbfec8
        patterns = {arr = {buffer = 0x9bbfef0, element_size = 4}, 
          v = 0x9bbfef0, v_modifiable = 0x9bbfef0}
        pattern = 0x9bc2738 "inbox"
#11 0x08064669 in cmd_list (cmd=0x9bbfe30) at cmd-list.c:948
No locals.
#12 0x08067a2c in client_command_input (cmd=0x9bbfe30) at client.c:612
        client = 0x9bbfba0
        command = <value optimized out>
        __PRETTY_FUNCTION__ = "client_command_input"
#13 0x08067ad3 in client_command_input (cmd=0x9bbfe30) at client.c:661
        client = 0x9bbfba0
        command = <value optimized out>
        __PRETTY_FUNCTION__ = "client_command_input"
#14 0x08067c2d in client_handle_next_command (client=0x9bbfba0) at client.c:702
No locals.
#15 client_handle_input (client=0x9bbfba0) at client.c:714
        _data_stack_cur_id = 3
        ret = false
        remove_io = <value optimized out>
        handled_commands = false
        __PRETTY_FUNCTION__ = "client_handle_input"
#16 0x0806856f in client_input (client=0x9bbfba0) at client.c:753
        cmd = <value optimized out>
        output = 0x9bbfd54
        bytes = <value optimized out>
        __PRETTY_FUNCTION__ = "client_input"
#17 0x080fa220 in io_loop_handler_run (ioloop=0x9bbd9b0) at ioloop-epoll.c:208
        ctx = 0x9bbdab8
        event = 0x9bbdaf8
        list = 0x9bbfdd8
        io = 0x9bbfdb0
        tv = {tv_sec = 1799, tv_usec = 999149}
        t_id = 2
        msecs = <value optimized out>
        ret = 1
        i = 0
        j = 0
        call = <value optimized out>
#18 0x080f9690 in io_loop_run (ioloop=0x9bbd9b0) at ioloop.c:335
No locals.
#19 0x08070ef2 in main (argc=) at main.c:327
No locals.
$1 = {prev = 0x0, next = 0x0, client = 0x9bbfba0, pool = 0x9bbfe18, 
  tag = 0x9bbfea8 "sr6y", name = 0x9bbfeb0 "LIST", 
  args = 0x9bbfeb8 "\"\" \"inbox\"", cmd_flags = 0, 
  func = 0x8064650 <cmd_list>, context = 0x9bbfec8, module_contexts = {arr = {
      buffer = 0x9bbfe70, element_size = 4}, v = 0x9bbfe70, 
    v_modifiable = 0x9bbfe70}, parser = 0x9bc2620, 
  state = CLIENT_COMMAND_STATE_WAIT_INPUT, sync = 0x0, uid = 0, cancel = 0, 
  param_error = 0, search_save_result = 0, temp_executed = 0}
(gdb) quit

----- End forwarded message -----

-- 
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