Hi,

I have installed FR0.8.1 in RedHat7.3. radiusd runs fine for some hours
sometimes but always at some point it crashes dumping a core, ending in
one of two functions:

(gdb) bt
#0  0x4207ad9e in chunk_free () from /lib/i686/libc.so.6
#1  0x4207ad24 in free () from /lib/i686/libc.so.6
#2  0x400bef6f in freePGconn () from /usr/lib/libpq.so.2
#3  0x400a02e2 in sql_close (sqlsocket=0x80ec0b8, config=0x80bd948)
    at sql_postgresql.c:390
#4  0x400afad1 in rlm_sql_query (sqlsocket=0x80ec0b8, inst=0x80bd530,
    query=0x404358dc "UPDATE radacct SET AcctStopTime = '2003-01-16
12:14:17', AcctSessionTime = 263, AcctInputOctets = 24304,
AcctOutputOctets = 394481, AcctTerminateCause = '', AcctStopDelay = 6,
FramedIPAddress = '200.1"...) at sql.c:384
#5  0x400aed0b in rlm_sql_accounting (instance=0x80bd530,
request=0x40d5b4a0)
    at rlm_sql.c:745
#6  0x08054981 in module_post_auth ()
#7  0x08054aca in modcall ()
#8  0x080549cb in module_post_auth ()
#9  0x08054a91 in modcall ()
#10 0x0805466a in module_accounting ()
#11 0x0804f736 in rad_accounting ()
#12 0x0804d2fa in rad_respond ()
#13 0x0805635c in radius_xlat ()
#14 0x40073faf in pthread_start_thread () from /lib/i686/libpthread.so.0

(gdb) bt
#0  0x40075087 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
#1  0x4207ad18 in free () from /lib/i686/libc.so.6
#2  0x400bef6f in freePGconn () from /usr/lib/libpq.so.2
#3  0x400a02e2 in sql_close (sqlsocket=0x80f89d8, config=0x80bd948)
    at sql_postgresql.c:390
#4  0x400afad1 in rlm_sql_query (sqlsocket=0x80f89d8, inst=0x80bd530,
    query=0x406358dc "INSERT into radacct (AcctSessionId, AcctUniqueId,
UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, 
AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_stop,
AcctInputO"...) at sql.c:384
#5  0x400aebab in rlm_sql_accounting (instance=0x80bd530,
request=0x81459f0)
    at rlm_sql.c:701
#6  0x08054981 in module_post_auth ()
#7  0x08054aca in modcall ()
#8  0x080549cb in module_post_auth ()
#9  0x08054a91 in modcall ()
#10 0x0805466a in module_accounting ()
#11 0x0804f736 in rad_accounting ()
#12 0x0804d2fa in rad_respond ()
#13 0x0805635c in radius_xlat ()
#14 0x40073faf in pthread_start_thread () from /lib/i686/libpthread.so.0

Any ideas?

Thanks.


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

Reply via email to