At 02:11 PM 11/8/2001 -0600, you wrote:
>Uh oh.
>
>Run the server with GDB:
>
>gdb radiusd
>...<snipped>...
>(gdb) set args -x -x
>(gdb) run
>
>Now run your requests, then when it crashes:
>
>(gbd) bt
>
>And email the results to the list.
>
>-Chris
For testing purposes, I have tried this using both Auth-Type := System AND
Auth-Type := Accept with Exec-Program-Wait. Both produce the same seg fault.
Here is the results of the gbd dump:
Thread 1 handling request 0, (1 handled so far)
User-Name = "[EMAIL PROTECTED]"
Password =
"\233\033\376\241\005\2467\210\256\255\271\034\215\246\342\362"
NAS-IP-Address = 66.42.46.34
NAS-Port = 1630
Service-Type = Framed-User
Framed-Protocol = PPP
Called-Station-Id = "2062990534"
Calling-Station-Id = "5419566016"
NAS-Port-Type = Async
Proxy-State = 0x3234
modcall: entering group authorize
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1026 (LWP 1032)]
0x401edef0 in rad_mangle (data=0x80ba640, request=0x80c1d70)
at rlm_preprocess.c:154
154 request_pairs = request->packet->vps;
(gdb) bt
#0 0x401edef0 in rad_mangle (data=0x80ba640, request=0x80c1d70)
at rlm_preprocess.c:154
#1 0x401ee848 in preprocess_authorize (instance=0x80ba640, request=0x80c1d70)
at rlm_preprocess.c:617
#2 0x08054d0d in call_modsingle (component=1, sp=0x80ba4c0,
request=0x80c1d70, default_result=6) at modcall.c:205
#3 0x08054e56 in modcall (component=1, c=0x80ba4c0, request=0x80c1d70)
at modcall.c:288
#4 0x08054d57 in call_modgroup (component=1, g=0x80bab40, request=0x80c1d70,
default_result=6) at modcall.c:227
#5 0x08054e1d in modcall (component=1, c=0x80bab40, request=0x80c1d70)
at modcall.c:281
#6 0x0805494e in module_authorize (request=0x80c1d70) at modules.c:631
#7 0x08051901 in rad_authenticate (request=0x80c1d70) at auth.c:524
#8 0x0804d6dc in rad_respond (request=0x80c1d70,
fun=0x80517a4 <rad_authenticate>) at radiusd.c:1484
#9 0x0805655c in request_handler_thread (arg=0x80bfbb8) at threads.c:169
#10 0x4004dc6f in pthread_start_thread (arg=0x403fbbe0) at manager.c:284
#11 0x4004dd5f in pthread_start_thread_event (arg=0x403fbbe0) at manager.c:308
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html