On 9/1/11 9:38 AM, Maria McKinley wrote: > On 8/31/11 1:09 PM, Bron Gondwana wrote: > >> >> Ok - next time it goes crazy can you pick one up with gdb and get >> a backtrace? >> >> gdb $cyrusbinpath/imapd $pid >> >> and then when you get the prompt: >> >> bt >> >> and maybe also: >> >> p imapd_in >> >> which will give us the command that's running. >> >> There are various bugs back in the 2.2 series which could cause >> an infinite loop - and the most interesting bit is working out >> which corrupt file is causing the problem. >> >> Bron. > > Why does it not see the directory /usr/lib/cyrus/bin? that seems weird. > Am I doing something wrong here? Tried it with a couple of different > cyrus processes. > > ~maria Oops, forgot the imapd at the end of the path. Still didn't help me figure out where things are getting stuck, though. :-( ella:~# gdb /usr/lib/cyrus/bin/imapd 4416 GNU gdb (GDB) 7.0.1-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 "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/cyrus/bin/imapd...(no debugging symbols found)...done. Attaching to program: /usr/lib/cyrus/bin/imapd, process 4416 Reading symbols from /usr/lib/libsasl2.so.2...Reading symbols from /usr/lib/debug/usr/lib/libsasl2.so.2.0.23...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/libsasl2.so.2 Reading symbols from /usr/lib/libgssapi.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgssapi.so.2 Reading symbols from /usr/lib/libkrb5.so.26...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libkrb5.so.26 Reading symbols from /usr/lib/libasn1.so.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libasn1.so.8 Reading symbols from /usr/lib/libroken.so.18...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libroken.so.18 Reading symbols from /lib/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libcom_err.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libcom_err.so.2 Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /usr/lib/libdb-4.7.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libdb-4.7.so Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /lib/libwrap.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libwrap.so.0 Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /usr/lib/libheimntlm.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libheimntlm.so.0 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. [Thread debugging using libthread_db enabled] Loaded symbols for /lib/libpthread.so.0 Reading symbols from /usr/lib/libhx509.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libhx509.so.5 Reading symbols from /usr/lib/libsqlite3.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libsqlite3.so.0 Reading symbols from /usr/lib/libwind.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libwind.so.0 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /usr/lib/sasl2/libgssapiv2.so.2...Reading symbols from /usr/lib/debug/usr/lib/sasl2/libgssapiv2.so.2.0.23...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libgssapiv2.so.2 Reading symbols from /usr/lib/libgssapi_krb5.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgssapi_krb5.so.2 Reading symbols from /usr/lib/libkrb5.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libkrb5.so.3 Reading symbols from /usr/lib/libk5crypto.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libk5crypto.so.3 Reading symbols from /usr/lib/libkrb5support.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libkrb5support.so.0 Reading symbols from /lib/libkeyutils.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libkeyutils.so.1 Reading symbols from /usr/lib/sasl2/libanonymous.so.2...Reading symbols from /usr/lib/debug/usr/lib/sasl2/libanonymous.so.2.0.23...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libanonymous.so.2 Reading symbols from /usr/lib/sasl2/libntlm.so.2...Reading symbols from /usr/lib/debug/usr/lib/sasl2/libntlm.so.2.0.23...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libntlm.so.2 Reading symbols from /usr/lib/sasl2/libdigestmd5.so.2...Reading symbols from /usr/lib/debug/usr/lib/sasl2/libdigestmd5.so.2.0.23...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libdigestmd5.so.2 Reading symbols from /usr/lib/sasl2/libsasldb.so.2...Reading symbols from /usr/lib/debug/usr/lib/sasl2/libsasldb.so.2.0.23...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libsasldb.so.2 Reading symbols from /usr/lib/libdb-4.8.so...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libdb-4.8.so Reading symbols from /usr/lib/sasl2/liblogin.so.2...Reading symbols from /usr/lib/debug/usr/lib/sasl2/liblogin.so.2.0.23...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/liblogin.so.2 Reading symbols from /usr/lib/sasl2/libplain.so.2...Reading symbols from /usr/lib/debug/usr/lib/sasl2/libplain.so.2.0.23...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libplain.so.2 Reading symbols from /usr/lib/sasl2/libcrammd5.so.2...Reading symbols from /usr/lib/debug/usr/lib/sasl2/libcrammd5.so.2.0.23...done. (no debugging symbols found)...done. Loaded symbols for /usr/lib/sasl2/libcrammd5.so.2 Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /lib/libnss_dns.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_dns.so.2 Reading symbols from /lib/libnss_ldap.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libnss_ldap.so.2 Reading symbols from /usr/lib/libldap_r-2.4.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libldap_r-2.4.so.2 Reading symbols from /usr/lib/liblber-2.4.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/liblber-2.4.so.2 Reading symbols from /usr/lib/libgnutls.so.26...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgnutls.so.26 Reading symbols from /usr/lib/libtasn1.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libtasn1.so.3 Reading symbols from /usr/lib/libgcrypt.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgcrypt.so.11 Reading symbols from /usr/lib/libgpg-error.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgpg-error.so.0 0x00007f2c049e90d8 in poll () from /lib/libc.so.6 (gdb) bt #0 0x00007f2c049e90d8 in poll () from /lib/libc.so.6 #1 0x00007f2bfe6fd31d in ?? () from /usr/lib/libldap_r-2.4.so.2 #2 0x00007f2bfe6fe4fd in ldap_result () from /usr/lib/libldap_r-2.4.so.2 #3 0x00007f2bfe93a505 in ?? () from /lib/libnss_ldap.so.2 #4 0x00007f2bfe93a7a7 in ?? () from /lib/libnss_ldap.so.2 #5 0x00007f2bfe93cff5 in _nss_ldap_endgrent () from /lib/libnss_ldap.so.2 #6 0x00007f2c04a04d89 in ?? () from /lib/libc.so.6 #7 0x00007f2c049c315a in endgrent () from /lib/libc.so.6 #8 0x0000000000451d1d in ?? () #9 0x000000000043c008 in ?? () #10 0x0000000000414de1 in ?? () #11 0x00007f2c069cb682 in do_authorization (s_conn=0x26852f0) at server.c:1185 #12 0x00007f2c069cc22d in sasl_checkpass (conn=0x26852f0, user=<value optimized out>, userlen=4, pass=0x2686fe0 "Biko';l", passlen=7) at server.c:1746 #13 0x0000000000414783 in ?? () #14 0x000000000041892a in ?? () #15 0x000000000041a3e4 in ?? () #16 0x0000000000407b07 in ?? () #17 0x00007f2c04943c4d in __libc_start_main () from /lib/libc.so.6 #18 0x0000000000407229 in ?? () #19 0x00007fffd439b798 in ?? () #20 0x000000000000001c in ?? () #21 0x0000000000000004 in ?? () #22 0x00007fffd439be5f in ?? () #23 0x00007fffd439be65 in ?? () #24 0x00007fffd439be68 in ?? () #25 0x00007fffd439be6b in ?? () #26 0x0000000000000000 in ?? () (gdb) p imapd_in $1 = 40607904 (gdb) ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/