[root@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
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-----Original Message----- From: Timo Sirainen [mailto:tss@iki.fi] Sent: Monday, December 13, 2004 11:52 AM To: Jaeson Schultz Cc: dovecot@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]