[Dovecot] Internal login failure

Jaeson Schultz jaeson at jaeson.net
Mon Dec 13 22:32:56 EET 2004


[root at co-nundrum root]# gdb /usr/local/libexec/dovecot/dovecot-auth 26340
GNU gdb Red Hat Linux (6.0post-0.20040223.19rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as
"i386-redhat-linux-gnu".../usr/local/libexec/dovecot/dovecot-auth: No such
file or directory.

Attaching to process 26340
Reading symbols from /usr/libexec/dovecot/dovecot-auth...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libcrypto.so.4...done.
Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /lib/libpam.so.0...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /usr/lib/libpq.so.3...done.
Loaded symbols for /usr/lib/libpq.so.3
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libssl.so.4...done.
Loaded symbols for /lib/libssl.so.4
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -151047520 (LWP 26340)]
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
0x00a4f7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -151047520 (LWP 26340)]
0x00ac93d4 in _int_free () from /lib/tls/libc.so.6
(gdb) bt full
#0  0x00ac93d4 in _int_free () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x00aca72b in free () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x0805495e in i_free (mem=0x97dfe28) at imem.c:37
No locals.
#3  0x08051554 in pgsql_lookup_pass (auth_request=0x97dfc30,
pgsql_request=0xb7ffdc) at passdb-pgsql.c:117
        conn = (struct pgsql_connection *) 0x97dfe28
        query = 0x9800000 <Address 0x9800000 out of bounds>
        str = (string_t *) 0xb81760
#4  0x0804f723 in mech_plain_auth_continue (auth_request=0x97dfc30,
request=0x9800000, data=0x97dfe20 "", callback=0x9800000) at mech-plain.c:68
        authenid = 0x97d9509 "jaeson"
        pass = 0x97bb060 "secret"
        i = 131553
        count = 2
#5  0x0804f05e in mech_request_continue (conn=0x97d4e00, request=0xfeea6dc0,
data=0x97d9508 "", callback=0x804de34 <request_callback>) at mech.c:121
        auth_request = (struct auth_request *) 0x97dfc30
#6  0x0804dffe in login_input_request (conn=0x97d4e00) at
login-connection.c:138
        request = {type = AUTH_LOGIN_REQUEST_CONTINUE, id = 1, data_size =
15}
        data = (unsigned char *) 0x97d9508 ""
        size = 27
#7  0x080560cc in io_loop_handler_run (ioloop=0x97bfd40) at
ioloop-poll.c:214
        data = (struct ioloop_handler_data *) 0x97bfd60
        pollfd = (struct pollfd *) 0x97bfd98
        tv = {tv_sec = 2, tv_usec = 446220}
        io = (struct io *) 0x97d4f30
        io_p = (struct io **) 0x97cf840
        t_id = 2
        msecs = 159383552
        ret = 0
        call = 1
#8  0x08055b69 in io_loop_run (ioloop=0x97bfd40) at ioloop.c:259
No locals.
#9  0x0804e610 in main (argc=1, argv=0xfeea6ef4) at main.c:121
No locals.

-----Original Message-----
From: Timo Sirainen [mailto:tss at iki.fi] 
Sent: Monday, December 13, 2004 11:52 AM
To: Jaeson Schultz
Cc: dovecot at dovecot.org
Subject: Re: [Dovecot] Internal login failure


On 12.12.2004, at 23:08, Jaeson Schultz wrote:

>  dovecot: Dec 12 01:15:59 Error: child 9845 (auth) killed with signal
> 11

So, this is the real problem. For some reason it crashes before doing 
userdb lookup. gdb backtrace from this would be helpful. Easiest way to 
do this would be:

gdb /usr/local/libexec/dovecot/dovecot-auth `pidof dovecot-auth` cont <wait
for crash> bt full

and mail it to me.

[This E-mail scanned for viruses]




More information about the dovecot mailing list