FreeRadius 2.1.7 crashes

Dinh Pham Cong dinhpc at vega.com.vn
Wed Dec 16 16:00:16 CET 2009


Hi all,

I had run FreeRadius 2.1.7 in gdb and got this core dump

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2aac59f0e940 (LWP 23452)]
0x000000309a85306b in ?? () from /usr/lib64/mysql/libmysqlclient_r.so.15
(gdb) bt
#0  0x000000309a85306b in ?? () from /usr/lib64/mysql/libmysqlclient_r.so.15
#1  0x000000309a8533e9 in my_net_read () from
/usr/lib64/mysql/libmysqlclient_r.so.15
#2  0x000000309a84cd1f in cli_safe_read () from
/usr/lib64/mysql/libmysqlclient_r.so.15
#3  0x000000309a84e673 in mysql_real_connect () from
/usr/lib64/mysql/libmysqlclient_r.so.15
#4  0x00002ae5ed7663fb in sql_init_socket (sqlsocket=0x4428d90,
config=0x42d81f0) at sql_mysql.c:89
#5  0x00002ae5ed561e42 in connect_single_socket (sqlsocket=0x4428d90,
inst=0x42d8180) at sql.c:56
#6  0x00002ae5ed562049 in rlm_sql_query (sqlsocket=0x4428d90,
inst=0x42d8180,
    query=0x2aac59f0c2f0 "         DELETE FROM  radacct", ' ' <repeats 11
times>, "WHERE acctuniqueid =  'bffb320ed0f4f462'") at sql.c:523
#7  0x00002ae5ed560987 in rlm_sql_accounting (instance=0x42d8180,
request=0x2aabb4033a20) at rlm_sql.c:1337
#8  0x0000000000419da9 in modcall (component=3, c=<value optimized out>,
request=0x2aabb4033a20) at modcall.c:292
#9  0x000000000041733d in indexed_modcall (comp=3, idx=0,
request=0x2aabb4033a20) at modules.c:691
#10 0x0000000000407f37 in rad_accounting (request=0x2aabb4033a20) at
acct.c:93
#11 0x0000000000423ad1 in radius_handle_request (request=0x2aabb4033a20,
fun=0x407ea0 <rad_accounting>) at event.c:3693
#12 0x000000000041cc83 in request_handler_thread (arg=<value optimized out>)
at threads.c:492
#13 0x0000003e10206367 in start_thread () from /lib64/libpthread.so.0
#14 0x0000003e0f6d2f7d in clone () from /lib64/libc.so.6

Do you think that it is MySQL client library bug? How can I do now?

Regards,

Dinh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091216/82e979b6/attachment.html>


More information about the Freeradius-Users mailing list