Crash in dovecot/auth with backtrace

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Thu Apr 23 14:34:24 UTC 2015


I'm seeing this odd crash with "USER\t531\t*@liquid-scan.de\tservice=quota-status"
Which looks like something is being tested against our quota-status --
but I fail to see why an NON LOCAL address is being tested....

GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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/dovecot-2.2/libexec/dovecot/auth...done.
[New LWP 2289]
[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/auth'.
Program terminated with signal 6, Aborted.
#0  0xb7724424 in __kernel_vsyscall ()
#0  0xb7724424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb74a0661 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        resultvar = <optimized out>
        pid = -1218617356
        selftid = 2289
#2  0xb74a3a92 in *__GI_abort () at abort.c:92
        act = {__sigaction_handler = {sa_handler = 0xbfd1c924, 
            sa_sigaction = 0xbfd1c924}, sa_mask = {__val = {3077760610, 
              3218196756, 3076712520, 3218196744, 3077843556, 0, 3074764848, 
              1, 0, 1, 3077716256, 145215752, 1097, 3077184659, 3, 145244200, 
              1, 128, 0, 3218196816, 3218196744, 3218196756, 3218196764, 
              3077716256, 0, 3077194863, 145215720, 3076749582, 3077199789, 
              3077686824, 1097, 3077686824}}, sa_flags = 0, 
          sa_restorer = 0xb76a5c2f <internal_handler+527>}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0xb76a624e in default_fatal_finish (type=<optimized out>, 
    status=status at entry=0) at failures.c:202
        backtrace = 0x8a7c8d8 "/usr/local/dovecot-2.2/lib/dovecot/libdovecot.so.0(+0x7825e) [0xb76a625e] -> /usr/local/dovecot-2.2/lib/dovecot/libdovecot.so.0(+0x782e1) [0xb76a62e1] -> /usr/local/dovecot-2.2/lib/dovecot/libdovecot."...
#4  0xb76a62e1 in i_internal_fatal_handler (ctx=0xbfd1c9f0, 
    format=0x807a0c4 "file %s: line %d (%s): assertion failed: (%s)", 
    args=0xbfd1ca14 "\257j\a\b\371\004") at failures.c:671
        status = 0
#5  0xb76a6e5f in i_panic (
    format=format at entry=0x807a0c4 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:276
        ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0, 
          timestamp_usecs = 0}
        args = 0xbfd1ca14 "\257j\a\b\371\004"
#6  0x0805873a in auth_request_set_login_username (request=0x8a945d8, 
    username=0x8a7c548 "", error_r=0xbfd1cad4) at auth-request.c:1273
        master_passdb = <optimized out>
        __FUNCTION__ = "auth_request_set_login_username"
#7  0x08054c44 in master_input_auth_request (conn=conn at entry=0x8aa18b8, 
    args=args at entry=0x8a941c1 "531\t*@liquid-scan.de\tservice=quota-status", 
    cmd=cmd at entry=0x8076925 "USER", request_r=request_r at entry=0xbfd1cad0, 
    error_r=error_r at entry=0xbfd1cad4) at auth-master-connection.c:209
        auth_request = 0x8a945d8
        list = 0x8a7c53c
        name = <optimized out>
        arg = <optimized out>
        username = 0x8a7c504 "*@liquid-scan.de"
        id = 531
#8  0x0805539c in master_input_user (
    args=0x8a941c1 "531\t*@liquid-scan.de\tservice=quota-status", 
    conn=0x8aa18b8) at auth-master-connection.c:306
        auth_request = 0x8a92e70
        error = 0x8ab8e81 "31298"
        ret = <optimized out>
#9  auth_master_input_line (
    line=0x8a941bc "USER\t531\t*@liquid-scan.de\tservice=quota-status", 
    conn=0x8aa18b8) at auth-master-connection.c:615
No locals.
#10 master_input (conn=0x8aa18b8) at auth-master-connection.c:679
        _data_stack_cur_id = 3
        line = <optimized out>
        ret = 40
#11 0xb76baf8b in io_loop_call_io (io=0x8a92ba8) at ioloop.c:501
        ioloop = 0x8a844e8
        t_id = 2
        __FUNCTION__ = "io_loop_call_io"
#12 0xb76bc272 in io_loop_handler_run_internal (ioloop=ioloop at entry=0x8a844e8)
    at ioloop-epoll.c:220
        ctx = 0x8a8b500
        events = 0x8f1
        event = 0x8a8b558
        list = 0x8a92be0
        io = <optimized out>
        tv = {tv_sec = 0, tv_usec = 999856}
        events_count = <error reading variable events_count (Could not find type for DW_OP_GNU_const_type)>
        msecs = <optimized out>
        ret = 3
        i = <optimized out>
        j = <optimized out>
        call = <optimized out>
        __FUNCTION__ = "io_loop_handler_run_internal"
#13 0xb76bb01c in io_loop_handler_run (ioloop=ioloop at entry=0x8a844e8)
    at ioloop.c:548
No locals.
#14 0xb76bb0a8 in io_loop_run (ioloop=0x8a844e8) at ioloop.c:525
        __FUNCTION__ = "io_loop_run"
#15 0xb76527ae in master_service_run (service=0x8a84418, 
    callback=0x8063df0 <client_connected>) at master-service.c:569
No locals.
#16 0x08064490 in main (argc=1, argv=0x8a841e0) at main.c:393
        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