FreeRadius 2.1.7 crashes

2009-12-16 Thread Dinh Pham Cong
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)]
0x00309a85306b in ?? () from /usr/lib64/mysql/libmysqlclient_r.so.15
(gdb) bt
#0  0x00309a85306b in ?? () from /usr/lib64/mysql/libmysqlclient_r.so.15
#1  0x00309a8533e9 in my_net_read () from
/usr/lib64/mysql/libmysqlclient_r.so.15
#2  0x00309a84cd1f in cli_safe_read () from
/usr/lib64/mysql/libmysqlclient_r.so.15
#3  0x00309a84e673 in mysql_real_connect () from
/usr/lib64/mysql/libmysqlclient_r.so.15
#4  0x2ae5ed7663fb in sql_init_socket (sqlsocket=0x4428d90,
config=0x42d81f0) at sql_mysql.c:89
#5  0x2ae5ed561e42 in connect_single_socket (sqlsocket=0x4428d90,
inst=0x42d8180) at sql.c:56
#6  0x2ae5ed562049 in rlm_sql_query (sqlsocket=0x4428d90,
inst=0x42d8180,
query=0x2aac59f0c2f0  DELETE FROM  radacct, ' ' repeats 11
times, WHERE acctuniqueid =  'bffb320ed0f4f462') at sql.c:523
#7  0x2ae5ed560987 in rlm_sql_accounting (instance=0x42d8180,
request=0x2aabb4033a20) at rlm_sql.c:1337
#8  0x00419da9 in modcall (component=3, c=value optimized out,
request=0x2aabb4033a20) at modcall.c:292
#9  0x0041733d in indexed_modcall (comp=3, idx=0,
request=0x2aabb4033a20) at modules.c:691
#10 0x00407f37 in rad_accounting (request=0x2aabb4033a20) at
acct.c:93
#11 0x00423ad1 in radius_handle_request (request=0x2aabb4033a20,
fun=0x407ea0 rad_accounting) at event.c:3693
#12 0x0041cc83 in request_handler_thread (arg=value optimized out)
at threads.c:492
#13 0x003e10206367 in start_thread () from /lib64/libpthread.so.0
#14 0x003e0f6d2f7d in clone () from /lib64/libc.so.6

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

Regards,

Dinh
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: FreeRadius 2.1.7 crashes

2009-12-16 Thread Alan DeKok
Dinh Pham Cong wrote:
 Do you think that it is MySQL client library bug? How can I do now?

  It looks like a MySQL client library bug.  I'd suggest asking MySQL
about it.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html