Hello, i use freeradius 1.0.2 with the jradius module and i have many crashes. Loaded symbols for /usr/local/lib/rlm_eap_mschapv2-1.0.2.so #0 0x40242ef1 in kill () from /lib/libc.so.6 (gdb) bt #0 0x40242ef1 in kill () from /lib/libc.so.6 #1 0x40081bb1 in pthread_kill () from /lib/libpthread.so.0 #2 0x40081f2b in raise () from /lib/libpthread.so.0 #3 0x40242b24 in raise () from /lib/libc.so.6 #4 0x402443fd in abort () from /lib/libc.so.6 #5 0x0804f5d2 in rad_assert_fail (file=0x806105f "request_list.c", line=470) at util.c:331 #6 0x08059c4f in rl_delete (request=0x815c3b8) at request_list.c:491 #7 0x0805a502 in refresh_request (request=0x815c3b8, data=0xbfffec40) at request_list.c:1048 #8 0x0805aaff in rl_clean_list (now=0) at request_list.c:1398 #9 0x0804d141 in main (argc=1, argv=0x0) at radiusd.c:1492 #0 0x40242ef1 in kill () from /lib/libc.so.6 (gdb) bt #0 0x40242ef1 in kill () from /lib/libc.so.6 #1 0x40081bb1 in pthread_kill () from /lib/libpthread.so.0 #2 0x40081f2b in raise () from /lib/libpthread.so.0 #3 0x40242b24 in raise () from /lib/libc.so.6 #4 0x402443fd in abort () from /lib/libc.so.6 #5 0x0804f5d2 in rad_assert_fail (file=0x806105f "request_list.c", line=1000) at util.c:331 #6 0x0805a489 in refresh_request (request=0x815b8a0, data=0xbfffec40) at request_list.c:1000 #7 0x0805a33e in rl_walk (walker=0x805a460 <refresh_request>, data=0xbfffec40) at request_list.c:895 #8 0x0805a96c in rl_clean_list (now=0) at request_list.c:1425 #9 0x0804d141 in main (argc=1, argv=0x0) at radiusd.c:1492 #0 0x40242ef1 in kill () from /lib/libc.so.6 (gdb) bt #0 0x40242ef1 in kill () from /lib/libc.so.6 #1 0x40081bb1 in pthread_kill () from /lib/libpthread.so.0 #2 0x40081f2b in raise () from /lib/libpthread.so.0 #3 0x40242b24 in raise () from /lib/libc.so.6 #4 0x402443fd in abort () from /lib/libc.so.6 #5 0x0804f5d2 in rad_assert_fail (file=0x806105f "request_list.c", line=1000) at util.c:331 #6 0x0805a489 in refresh_request (request=0x815a678, data=0xbfffec40) at request_list.c:1000 #7 0x0805a33e in rl_walk (walker=0x805a460 <refresh_request>, data=0xbfffec40) at request_list.c:895 #8 0x0805a96c in rl_clean_list (now=0) at request_list.c:1425 #9 0x0804d141 in main (argc=1, argv=0x0) at radiusd.c:1492 #0 0x40242ef1 in kill () from /lib/libc.so.6 #1 0x40081bb1 in pthread_kill () from /lib/libpthread.so.0 #2 0x40081f2b in raise () from /lib/libpthread.so.0 #3 0x40242b24 in raise () from /lib/libc.so.6 #4 0x402443fd in abort () from /lib/libc.so.6 #5 0x0804f5d2 in rad_assert_fail (file=0x806105f "request_list.c", line=1000) at util.c:331 #6 0x0805a489 in refresh_request (request=0x815b570, data=0xbfffec40) at request_list.c:1000 #7 0x0805a33e in rl_walk (walker=0x805a460 <refresh_request>, data=0xbfffec40) at request_list.c:895 #8 0x0805a96c in rl_clean_list (now=0) at request_list.c:1425 #9 0x0804d141 in main (argc=1, argv=0x0) at radiusd.c:1492 (gdb) #5 0x0804f5d2 in rad_assert_fail (file=0x806105f "request_list.c", line=470) at util.c:331 #6 0x08059c4f in rl_delete (request=0x815c3b8) at request_list.c:491 #7 0x0805a502 in refresh_request (request=0x815c3b8, data=0xbfffec40) at request_list.c:1048 #8 0x0805aaff in rl_clean_list (now=0) at request_list.c:1398 #9 0x0804d141 in main (argc=1, argv=0x0) at radiusd.c:1492
Hello, I think that this is not an error from jradius. I have upgraded to freeradius 1.0.3 and I have the same error but I have more log. Has you can see at the end of this log, the error is after the process of the packet by jradius. rlm_jradius: packing attribute Cisco-AVPair (type: 589825; len: 20) rlm_jradius: packing attribute Cisco-AVPair (type: 589825; len: 31) rlm_jradius: packing attribute Calling-Station-Id (type: 31; len: 10) rlm_jradius: packing attribute Called-Station-Id (type: 30; len: 10) rlm_jradius: packing attribute NAS-Port-Type (type: 61; len: 4) rlm_jradius: packing attribute NAS-Port (type: 5; len: 4) rlm_jradius: packing attribute NAS-Port-Id (type: 87; len: 11) rlm_jradius: packing attribute Service-Type (type: 6; len: 4) rlm_jradius: packing attribute NAS-IP-Address (type: 4; len: 4) rlm_jradius: packing attribute Client-IP-Address (type: 1052; len: 4) rlm_jradius: packing packet with code: 1 (attr length: 537) rlm_jradius: packing packet with code: 0 (attr length: 0) rlm_jradius: sending 568 bytes to jradius server rlm_jradius: return code 0; receiving 2 packets rlm_jradius: reading packet: code=1 len=537 rlm_jradius: changing packet id from 0 to 3 rlm_jradius: reading attribute: type=1; len=10 rlm_jradius: reading attribute: type=2; len=0 rlm_jradius: reading attribute: type=589825; len=54 rlm_jradius: reading attribute: type=589825; len=36 rlm_jradius: reading attribute: type=589825; len=22 rlm_jradius: reading attribute: type=589825; len=20 rlm_jradius: reading attribute: type=589825; len=31 rlm_jradius: reading attribute: type=589848; len=48 rlm_jradius: reading attribute: type=589925; len=21 rlm_jradius: reading attribute: type=589929; len=28 rlm_jradius: reading attribute: type=31; len=10 rlm_jradius: reading attribute: type=30; len=10 rlm_jradius: reading attribute: type=61; len=4 rlm_jradius: reading attribute: type=5; len=4 rlm_jradius: reading attribute: type=87; len=11 rlm_jradius: reading attribute: type=6; len=4 rlm_jradius: reading attribute: type=4; len=4 rlm_jradius: reading attribute: type=1052; len=4 rlm_jradius: reading packet: code=0 len=0 rlm_jradius: changing packet id from 0 to 4 rlm_jradius: reading request: config_item: len=0 modcall[authorize]: module "jradius" returns reject for request 51 modcall: group authorize returns reject for request 51 Delaying request 51 for 1 seconds Finished request 51 Going to the next request --- Walking the entire request list --- Cleaning up request 50 ID 1 with timestamp 42a56398 Waking up in 1 seconds... --- Walking the entire request list --- Assertion failed in request_list.c, line 1000 -----Original Message----- From: freeradius-devel-bounces@lists.freeradius.org [mailto:freeradius-devel-bounces@lists.freeradius.org] On Behalf Of Alan DeKok Sent: lundi, 6. juin 2005 17:51 To: FreeRadius developers mailing list Subject: Re: crash of freeradius 1.0.2 "Schweizer Laurent" <laurent.schweizer@eivd.ch> wrote:
Hello, i use freeradius 1.0.2 with the jradius module and i have many crashes.
I'd say it's issues with jradius. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
"Schweizer Laurent" <laurent.schweizer@eivd.ch> wrote:
I think that this is not an error from jradius.
Do you see the problem when you're NOT using jradius? If you don't, then jradius is doing something wrong. If you do, then it's a freeradius bug.
Assertion failed in request_list.c, line 1000
I'd bet $$ it's a jradius bug. That assertion is there to catch bad code, and it looks like it's working. The server supplies an API to create REQUEST data structures. All of the server code uses this API. The ONLY way to hit this bug is if something doesn't use that API. Alan DeKok.
participants (2)
-
Alan DeKok -
Schweizer Laurent