freeradius (running a cvs snapshot of like 1 week) is crashing when
I run it as "radiusd -y -z -f" or without the "-f". But when
I run freeradius as "radiusd -X" it doesn't crash.

I am using rlm_sql_sybase as my SQL driver for both authorize and
accounting.
The radiusd starts OK, serve a few requests then crashes. Heres a gdb
backtrace.

(gdb) bt
#0  0x281005dc in kill () from /usr/lib/libc_r.so.4
#1  0x2815045d in abort () from /usr/lib/libc_r.so.4
#2  0x2814eeea in _thread_leave_cancellation_point () from
/usr/lib/libc_r.so.4
#3  0x2814fd33 in _thread_leave_cancellation_point () from
/usr/lib/libc_r.so.4
#4  0x281500c1 in free () from /usr/lib/libc_r.so.4
#5  0x2813d9d6 in fclose () from /usr/lib/libc_r.so.4
#6  0x804fd5b in vradlog (lvl=4, fmt=0x28233320 "rlm_sql_sybase(sql_query):
Unexpected return value from ct_results()\n%s",
    ap=0xbfa85b2c "\004K#(��\r\b") at log.c:169
#7  0x804fde4 in radlog (lvl=4, msg=0x28233320 "rlm_sql_sybase(sql_query):
Unexpected return value from ct_results()\n%s")
    at log.c:216
#8  0x2823249b in sql_query (sqlsocket=0x80da8c0, config=0x80b5400,
    querystr=0xbfa86dcc "UPDATE r_radacct SET AcctStartTime = '2003-02-28
09:47:06', AcctStartDelay = '45', ConnectInfo_start = '' WHERE AcctSessionId
= '335845320' AND UserName = 'gmorales' AND NASIPAddress = '196.12.179.5'
"...) at sql_sybase.c:440
#9  0x2822d8d7 in rlm_sql_query (sqlsocket=0x80da8c0, inst=0x80daaa0,
    query=0xbfa86dcc "UPDATE r_radacct SET AcctStartTime = '2003-02-28
09:47:06', AcctStartDelay = '45', ConnectInfo_start = '' WHERE AcctSessionId
= '335845320' AND UserName = 'gmorales' AND NASIPAddress = '196.12.179.5'
"...) at sql.c:380
#10 0x2822c99b in rlm_sql_accounting (instance=0x80daaa0, request=0x81c6500)
at rlm_sql.c:715
#11 0x8054ca2 in call_modsingle (component=3, sp=0x8120200,
request=0x81c6500, default_result=7) at modcall.c:198
#12 0x8054e10 in modcall (component=3, c=0x8120200, request=0x81c6500) at
modcall.c:304
#13 0x8054cf3 in call_modgroup (component=3, g=0x8120100, request=0x81c6500,
default_result=7) at modcall.c:220
#14 0x8054dc3 in modcall (component=3, c=0x8120100, request=0x81c6500) at
modcall.c:296
#15 0x805441b in indexed_modcall (comp=3, idx=0, request=0x81c6500) at
modules.c:449
#16 0x8054a02 in module_accounting (acct_type=0, request=0x81c6500) at
modules.c:793
#17 0x804f4ad in rad_accounting (request=0x81c6500) at acct.c:69
#18 0x804d20e in rad_respond (request=0x81c6500, fun=0x804f448
<rad_accounting>) at radiusd.c:1444
#19 0x8056754 in request_handler_thread (arg=0x81209c0) at threads.c:210
#20 0x280da1b4 in _thread_start () from /usr/lib/libc_r.so.4
#21 0x0 in ?? ()
(gdb)


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

Reply via email to