Bus Error when loading SQL clients

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Sun Oct 14 15:25:28 CEST 2007


rlm_sql (sql_clients): Attempting to connect rlm_sql_mysql #19
rlm_sql_mysql: Starting connect to MySQL server for #19
rlm_sql (sql_clients): Connected new DB handle, #19
rlm_sql (sql_clients): Processing generate_sql_clients
rlm_sql (sql_clients) in generate_sql_clients: query is SELECT 
master.netreg_id, CONCAT(ip1,'.',ip2,'.',ip3,'.',ip4),master.name, 
master.nas_type,master.nas_secret FROM master WHERE master.nas_secret != ''
rlm_sql (sql_clients): Reserving sql socket id: 19
rlm_sql (sql_clients): Read entry 
nasname=139.184.9.43,shortname=hp-e-artc-3-sw1,secret=zzz
rlm_sql (sql_clients): Adding client 139.184.9.43 (hp-e-artc-3-sw1) to 
clients list
rlm_sql (sql_clients): Read entry 
nasname=139.184.8.160,shortname=hp-e-russ-1-sw3,secret=xxx
rlm_sql (sql_clients): Adding client 139.184.8.160 (hp-e-russ-1-sw3) to 
clients list

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000080
0x00003584 in client_add (clients=0x0, client=0x3cdb80) at client.c:215
215             if (!clients->trees[client->prefix]) {

GDB Backtrace shows

#0  0x00003584 in client_add (clients=0x0, client=0x3cdb80) at client.c:215
#1  0x00206d5c in rlm_sql_instantiate (conf=0x27090, instance=0x3cad74) 
at rlm_sql.c:337
#2  0x0000b3f8 in find_module_instance (modules=0x1, instname=0x311e40 
"sql_clients") at modules.c:302
#3  0x0000beb8 in setup_modules (reload=1, config=0x300b50) at modules.c:807
#4  0x0000ae24 in read_mainconfig (reload=0) at mainconfig.c:917
#5  0x0000e7c4 in main (argc=4, argv=0xbffffa48) at radiusd.c:287

This has broken since cvs build date 21/09/07 and is broken in cvs build 
12/10/07

Thanks,
Arran



More information about the Freeradius-Devel mailing list