On Fri, 2005-02-04 at 18:15 -0500, Alan DeKok wrote: > Daniel J McDonald <[EMAIL PROTECTED]> wrote: > > Following up to myself, I just compiled 1.0.1 and had the same issues - > > 97% cpu and does not send the authentication response, radiusd -X > > generates a segmentation fault. > > That's very weird. I've never seen that myself... > > > I changed radiusd.conf to allow corefiles, but it did not produce one > > that I could find. I tried to use gdb to get a stack dump, but radiusd > > -X wouldn't respond to radius queries while running gdb. > > Try: > > $ gdb radiusd > (gdb) set args -X ..... > (gdb) run ok... rlm_ldap: waiting for bind result ... rlm_ldap: Bind was successful rlm_ldap: user mcdonalddj authenticated succesfully
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1076829024 (LWP 17140)] 0x40079e54 in pthread_mutex_lock () from /lib/tls/libpthread.so.0 (gdb) bt #0 0x40079e54 in pthread_mutex_lock () from /lib/tls/libpthread.so.0 #1 0x406215dd in ldap_pvt_thread_mutex_lock () from /usr/lib/libldap_r.so.2 #2 0x40628443 in ldap_pvt_sasl_mutex_lock () from /usr/lib/libldap_r.so.2 #3 0x4042028e in sasl_dispose () from /usr/lib/libsasl2.so.2 #4 0x406277bb in ldap_int_sasl_close () from /usr/lib/libldap_r.so.2 #5 0x40633c8c in ldap_free_connection () from /usr/lib/libldap_r.so.2 #6 0x4062a7d9 in ldap_ld_free () from /usr/lib/libldap_r.so.2 #7 0x4062aa74 in ldap_unbind_ext () from /usr/lib/libldap_r.so.2 #8 0x4062abd9 in ldap_unbind_s () from /usr/lib/libldap_r.so.2 #9 0x40604acd in ?? () from /usr/lib/freeradius/rlm_ldap.so #10 0x0818f6a8 in ?? () #11 0x0818e80c in ?? () #12 0xbfffce7c in ?? () #13 0x0611487b in ?? () #14 0xbfffcee8 in ?? () #15 0x40007930 in _dl_lookup_symbol_x (undef_name=0x0, undef_map=0x1, ref=0x0, symbol_scope=0x81868c8, version=0x818e308, type_class=-1073752104, flags=134547776, skip_map=0x1) at dl-lookup.c:246 #16 0x08056958 in modcall () #17 0x08056aa9 in modcall () #18 0x08055e38 in find_module_instance () #19 0x08052b4a in rad_check_password () #20 0x08052fdf in rad_authenticate () ---Type <return> to continue, or q <return> to quit--- #21 0x0804c515 in rad_respond () #22 0x0804dd86 in main () -- Daniel J McDonald, CCIE # 2495, CNX Austin Energy [EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html