I had a little time to do some debugging tonight.  Here are the results.

I logged in as root on the console (with the functional libnss-ldap_220-1
installed), upgraded to libnss-ldap_238-1 (which I'm having problems with),
and then started a new login process inside gdb.

When root attempts to log in through the debugged login process, here are
the results:
====================
...(snip)...

login: pthread_mutex_lock.c:78: __pthread_mutex_lock: Assertion
`mutex->__data.__owner == 0' failed.
---Type <return> to continue, or q <return> to quit---

(I hit <return> to continue)

Program received signal SIGABRT, Aborted.
[Switching to Thread -1208270176 (LWP 8911)]
0xffffe410 in __kernel_vsyscall ()
====================


I then ran a stack backtrace and obtained the following:
====================
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x41041805 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0x41042f82 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0x4103b2a8 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4  0x411799fc in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x410fcaef in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#6  0xb7dfdca1 in ldap_start_tls_s () from /usr/lib/libldap.so.2
#7  0x41daed03 in gcry_sexp_canon_len () from /usr/lib/libgcrypt.so.11
#8  0x41daee41 in gcry_sexp_canon_len () from /usr/lib/libgcrypt.so.11
#9  0x41dbbb3e in gcry_randomize () from /usr/lib/libgcrypt.so.11
#10 0x41db76b5 in gcry_md_algo_name () from /usr/lib/libgcrypt.so.11
#11 0x41db77b2 in gcry_md_open () from /usr/lib/libgcrypt.so.11
#12 0x41c4cffc in _gnutls_hash_init () from /usr/lib/libgnutls.so.11
#13 0x41c467f1 in gnutls_handshake () from /usr/lib/libgnutls.so.11
#14 0xb7c5dcb5 in gnutls_SSL_free () from /usr/lib/libldap_r.so.2
#15 0xb7c5ddda in gnutls_SSL_connect () from /usr/lib/libldap_r.so.2
#16 0xb7c5b68e in ldap_pvt_tls_init_def_ctx () from /usr/lib/libldap_r.so.2
#17 0xb7c5c696 in ldap_int_tls_start () from /usr/lib/libldap_r.so.2
#18 0xb7c5cb18 in ldap_start_tls_s () from /usr/lib/libldap_r.so.2
#19 0xb7c6962e in ?? () from /lib/libnss_ldap.so.2
#20 0x080a0218 in ?? ()
...(a whole lot of "?? ()" entries like #20 followed)...
====================


Hopefully this will help in tracking down the problem.  If there are any
additional tests or debugger output you would like, let me know.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to