Freeradius 2.0.3 crashing when in proxy mode Segmentation fault.

Ivan Popov man_gust at yahoo.com
Thu Apr 10 10:24:56 CEST 2008


Can confirm that,
I Use 2.0.3 - snapshort-04072008
I Will try to ask second side to change port of answer from 1646 to 1813 , but dont think that this avoid Segmentation fault.


Finished request 797.
Cleaning up request 797 ID 92 with timestamp +131
Going to the next request
Waking up in 0.3 seconds.
Rejecting request 602 due to lack of any response from home server X.X.X.X port 1646
Finished request 602.
Cleaning up request 602 ID 152 with timestamp +102
Cleaning up request 602 ID 0 with timestamp +102
Segmentation fault


----- Original Message ----
From: Vikash Badal <Vikash.Badal at is.co.za>
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Sent: Thursday, April 10, 2008 10:15:53 AM
Subject: Freeradius 2.0.3 crashing when in proxy mode Segmentation fault.

Greetings,

Can you please assist me with this issue.

I set up this server to be the authorative radius server for a realm and
no issues were encountered

Once I set up the server to proxy, the following issue occured. 

--------------------------------------------------------

Thu Apr 10 06:49:01 2008 : Debug: Finished request 33.
Thu Apr 10 06:49:01 2008 : Debug: Cleaning up request 33 ID 170 with
timestamp +451
Thu Apr 10 06:49:01 2008 : Debug: Going to the next request
Thu Apr 10 06:49:01 2008 : Debug: Waking up in 4.6 seconds.
Thu Apr 10 06:49:06 2008 : Error: Rejecting request 31 due to lack of
any response from home server 196.26.56.8 port 1646
Thu Apr 10 06:49:06 2008 : Debug: Finished request 31.
Thu Apr 10 06:49:06 2008 : Debug: Cleaning up request 31 ID 169 with
timestamp +442

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x28401100 (LWP 100207)]
0x0806417d in cleanup_delay (ctx=0x287fe110) at event.c:477
477            DEBUG2("Cleaning up request %d ID %d with timestamp
+%d",

(gdb) bt
#0  0x0806417d in cleanup_delay (ctx=0x287fe110) at event.c:477
#1  0x080651ae in wait_a_bit (ctx=0x287fe110) at event.c:947
#2  0x08064dec in post_proxy_fail_handler (request=0x287fe110) at
event.c:794
#3  0x08064ea5 in no_response_to_proxied_request (ctx=0x287fe110)
    at event.c:819
#4  0x280c8a9d in fr_event_run (el=0x287fb000, when=0xbfbfe828) at
event.c:214
#5  0x280c9078 in fr_event_loop (el=0x287fb000) at event.c:381
#6  0x080681bd in radius_event_process () at event.c:2675
#7  0x0805d376 in main (argc=2, argv=0xbfbfe928) at radiusd.c:394
(gdb) up
#1  0x080651ae in wait_a_bit (ctx=0x287fe110) at event.c:947
947                    cleanup_delay(request);
(gdb) p/x *request
$1 = {packet = 0x0, proxy = 0x0, reply = 0x0, proxy_reply = 0x0,
  config_items = 0x0, username = 0x0, password = 0x0, root = 0x0, data =
0x0,
  client = 0x0, child_pid = 0x0, timestamp = 0x47fd9c34, number = 0x1f,
  listener = 0x28495ac0, proxy_listener = 0x28495af0, simul_max = 0x2,
  simul_count = 0x0, simul_mpp = 0x0, options = 0x0, module = 0x80734f5,
  component = 0x80734f5, received = {tv_sec = 0x47fd9c34, tv_usec =
0x45fa},
  when = {tv_sec = 0x47fd9c42, tv_usec = 0x6f03}, delay = 0x186a0,
  master_state = 0x1, child_state = 0x6, priority = 0x3, ev = 0x0,
  next_when = {tv_sec = 0x47fd9c42, tv_usec = 0x6f03}, next_callback =
0x0,
  in_request_hash = 0x0, in_proxy_hash = 0x0, home_server = 0x0,
  home_pool = 0x2848a240, proxy_when = {tv_sec = 0x47fd9c34,
    tv_usec = 0x6f03}, num_proxied_requests = 0x1,
  num_proxied_responses = 0x0, server = 0x0, parent = 0x0}
(gdb)




Vikash
Please note: This email and its content are subject to the disclaimer as displayed at the following link http://www.is.co.za/legal/E-mail+Confidentiality+Notice+and+Disclaimer.htm. Should you not have Web access, send a mail to disclaimers at is.co.za and a copy will be emailed to you.

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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080410/17c84856/attachment.html>


More information about the Freeradius-Users mailing list