radius going to sleep?

Norbert Wegener norbert.wegener at siemens.com
Mon Nov 5 20:36:06 CET 2007


got the opportunity earlier than expected...
The system is  suse 10.2.

# gdb radiusd 30251
GNU gdb 6.5
Copyright (C) 2006 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 "i586-suse-linux"...Using host libthread_db 
library "/lib/libthread_db.so.1".

Attaching to program: /sbin/radiusd, process 30251
Loaded symbols for /sbin/radiusd
Reading symbols from /lib/libradius-2.0.0-pre2.so...done.
Loaded symbols for //lib/libradius-2.0.0-pre2.so
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for //lib/libnsl.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for //lib/libresolv.so.2
Reading symbols from /lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -1211984192 (LWP 30251)]
Loaded symbols for //lib/libpthread.so.0
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for //lib/libcrypt.so.1
Reading symbols from /usr/lib/libltdl.so.3...done.
Loaded symbols for /usr/lib/libltdl.so.3
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for //lib/libdl.so.2
Reading symbols from /usr/lib/libssl.so.0.9.8...done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for //lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for //lib/libnss_files.so.2
Reading symbols from /lib/rlm_exec-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_exec-2.0.0-pre2.so
Reading symbols from /lib/rlm_expr-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_expr-2.0.0-pre2.so
Reading symbols from /lib/rlm_expiration-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_expiration-2.0.0-pre2.so
Reading symbols from /lib/rlm_logintime-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_logintime-2.0.0-pre2.so
Reading symbols from /lib/rlm_sql-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_sql-2.0.0-pre2.so
Reading symbols from /lib/rlm_sql_mysql-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_sql_mysql-2.0.0-pre2.so
Reading symbols from /usr/lib/mysql/libmysqlclient_r.so.15...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient_r.so.15
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/rlm_pap-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_pap-2.0.0-pre2.so
Reading symbols from /lib/rlm_chap-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_chap-2.0.0-pre2.so
Reading symbols from /lib/rlm_mschap-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_mschap-2.0.0-pre2.so
Reading symbols from /lib/rlm_unix-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_unix-2.0.0-pre2.so
Reading symbols from /lib/rlm_eap-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_eap-2.0.0-pre2.so
Reading symbols from /lib/libeap-2.0.0-pre2.so...done.
Loaded symbols for //lib/libeap-2.0.0-pre2.so
Reading symbols from /lib/rlm_eap_md5-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_eap_md5-2.0.0-pre2.so
Reading symbols from /lib/rlm_eap_leap-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_eap_leap-2.0.0-pre2.so
Reading symbols from /lib/rlm_eap_gtc-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_eap_gtc-2.0.0-pre2.so
Reading symbols from /lib/rlm_eap_tls-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_eap_tls-2.0.0-pre2.so
Reading symbols from /lib/rlm_eap_peap-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_eap_peap-2.0.0-pre2.so
Reading symbols from /lib/rlm_eap_mschapv2-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_eap_mschapv2-2.0.0-pre2.so
Reading symbols from /lib/rlm_preprocess-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_preprocess-2.0.0-pre2.so
Reading symbols from /lib/rlm_realm-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_realm-2.0.0-pre2.so
Reading symbols from /lib/rlm_always-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_always-2.0.0-pre2.so
Reading symbols from /lib/rlm_attr_rewrite-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_attr_rewrite-2.0.0-pre2.so
Reading symbols from /lib/rlm_acct_unique-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_acct_unique-2.0.0-pre2.so
Reading symbols from /lib/rlm_files-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_files-2.0.0-pre2.so
Reading symbols from /lib/rlm_detail-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_detail-2.0.0-pre2.so
Reading symbols from /lib/rlm_radutmp-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_radutmp-2.0.0-pre2.so
Reading symbols from /lib/rlm_attr_filter-2.0.0-pre2.so...done.
Loaded symbols for //lib/rlm_attr_filter-2.0.0-pre2.so
Failed to read a valid object file image from memory.
0xb7f87410 in ?? ()
(gdb) bt
#0  0xb7f87410 in ?? ()
#1  0xbfae9008 in ?? ()
#2  0x00004000 in ?? ()
#3  0x801779d0 in ?? ()
#4  0xb7f32003 in __read_nocancel () from //lib/libpthread.so.0
#5  0xb7b083c8 in vio_read () from /usr/lib/mysql/libmysqlclient_r.so.15
#6  0xb7b0843e in vio_read_buff () from 
/usr/lib/mysql/libmysqlclient_r.so.15
#7  0xb7b08eac in net_realloc () from /usr/lib/mysql/libmysqlclient_r.so.15
#8  0xb7b0929b in my_net_read () from /usr/lib/mysql/libmysqlclient_r.so.15
#9  0xb7b03799 in cli_safe_read () from 
/usr/lib/mysql/libmysqlclient_r.so.15
#10 0xb7b04665 in unpack_fields () from 
/usr/lib/mysql/libmysqlclient_r.so.15
#11 0xb7b02e14 in mysql_real_query ()
   from /usr/lib/mysql/libmysqlclient_r.so.15
#12 0xb7adaa85 in mysql_query () from /usr/lib/mysql/libmysqlclient_r.so.15
#13 0xb7c0b163 in sql_query (sqlsocket=0x80163e10, config=0x80168d28,
    querystr=0xbfae9254 "SELECT id, username, attribute, value, op", ' ' 
<repeats 11 times>, "FROM radcheck", ' ' <repeats 11 times>, "WHERE 
username = 'host/de7018tc.ww901.siemens.net'", ' ' <repeats 11 times>, 
"ORDER BY id")
    at sql_mysql.c:172
#14 0xb7c0b1f5 in sql_select_query (sqlsocket=0x80163e10, 
config=0x80168d28,
    querystr=0xbfae9254 "SELECT id, username, attribute, value, op", ' ' 
<repeats 11 times>, "FROM radcheck", ' ' <repeats 11 times>, "WHERE 
username = 'host/de7018tc.ww901.siemens.net'", ' ' <repeats 11 times>, 
"ORDER BY id")
---Type <return> to continue, or q <return> to quit---
    at sql_mysql.c:259
#15 0xb7c12bf2 in rlm_sql_select_query (sqlsocket=0x80163e10, 
inst=0x80163508,
    query=0xbfae9254 "SELECT id, username, attribute, value, op", ' ' 
<repeats 11 times>, "FROM radcheck", ' ' <repeats 11 times>, "WHERE 
username = 'host/de7018tc.ww901.siemens.net'", ' ' <repeats 11 times>, 
"ORDER BY id") at sql.c:516
#16 0xb7c13122 in sql_getvpdata (inst=0x80163508, sqlsocket=0x80163e10,
    pair=0xbfaea458,
    query=0xbfae9254 "SELECT id, username, attribute, value, op", ' ' 
<repeats 11 times>, "FROM radcheck", ' ' <repeats 11 times>, "WHERE 
username = 'host/de7018tc.ww901.siemens.net'", ' ' <repeats 11 times>, 
"ORDER BY id") at sql.c:563
#17 0xb7c10ce3 in rlm_sql_authorize (instance=0x80163508, 
request=0x8034adb8)
    at rlm_sql.c:926
#18 0x80011bc0 in modcall (component=1, c=0x801668f0, request=0x8034adb8)
    at modcall.c:244
#19 0x8000edea in indexed_modcall (space=<value optimized out>, comp=1, 
idx=0,
    request=0x8034adb8) at modules.c:411
#20 0x8000635a in rad_authenticate (request=0x8034adb8) at auth.c:540
#21 0x8001a486 in radius_handle_request (request=0x8034adb8,
    fun=0x80006280 <rad_authenticate>) at event.c:2181
#22 0x80014876 in thread_pool_addrequest (request=0x8034adb8,
    fun=0x80006280 <rad_authenticate>) at threads.c:847
#23 0x800130f4 in main (argc=2, argv=0xbfaec6e4) at radiusd.c:699


Norbert Wegener



More information about the Freeradius-Users mailing list