Freeradius and Microsoft NPS
Doty, Seth
seth.doty at nebraska.gov
Wed Apr 13 15:07:01 CEST 2011
ok this should look better
Starting program: /usr/sbin/radiusd -X
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
rbtree_find (tree=0xe19fdc02, Data=0xb79b21a4) at rbtree.c:476
476 rbnode_t *Current = tree->Root;
Missing separate debuginfos, use: debuginfo-install glibc-2.13-1.i686 keyutils-libs-1.2-6.fc12.i686 krb5-libs-1.8.2-9.fc14.i686 libcom_err-1.41.12-6.fc14.i686 libselinux-2.0.96-6.fc14.1.i686 libtool-ltdl-2.2.10-3.fc14.i686 nss-softokn-freebl-3.12.9-5.fc14.i686 openssl-1.0.0d-1.fc14.i686 zlib-1.2.5-2.fc14.i686
Thread 1 (Thread 0xb79e8730 (LWP 17523)):
#0 rbtree_find (tree=0xe19fdc02, Data=0xb79b21a4) at rbtree.c:476
Current = <value optimized out>
#1 0xb7fce38b in rbtree_deletebydata (tree=0xe19fdc02, data=0xb79b21a4)
at rbtree.c:457
node = <value optimized out>
#2 0xb79d5123 in eap_handler_free (inst=0x294330, handler=0xb79b21a4)
at mem.c:138
No locals.
#3 0x00131127 in request_free (request_ptr=0xbfffebec) at util.c:235
this = <value optimized out>
next = 0x0
request = 0x2734d0
#4 0xb79aec29 in eappeap_postproxy (handler=0x2745b8, data=0x274e60)
at peap.c:532
rcode = <value optimized out>
tls_session = 0x274e60
fake = 0x2734d0
request = 0x273ff8
#5 0xb79d2c07 in eap_post_proxy (inst=0x253b90, request=0x273ff8)
at rlm_eap.c:602
rcode = <value optimized out>
data = <value optimized out>
i = <value optimized out>
len = <value optimized out>
vp = <value optimized out>
handler = 0x2745b8
#6 eap_post_proxy (inst=0x253b90, request=0x273ff8) at rlm_eap.c:565
No locals.
#7 0x0012c95d in call_modsingle (component=6, c=0x26e778, request=0x273ff8)
at modcall.c:297
myresult = <value optimized out>
#8 modcall (component=6, c=0x26e778, request=0x273ff8) at modcall.c:670
myresult = 1
stack = {pointer = 1, priority = {0 <repeats 32 times>}, result = {
0 <repeats 32 times>}, children = {0x0 <repeats 32 times>},
start = {0x0 <repeats 32 times>}}
parent = 0x26e778
child = 0x26e368
sp = 0x26e368
if_taken = 0
was_if = 0
#9 0x0012b0a4 in indexed_modcall (comp=6, idx=0, request=0x273ff8)
at modules.c:728
rcode = <value optimized out>
list = <value optimized out>
server = <value optimized out>
#10 0x0012ba4c in module_post_proxy (type=0, request=0x273ff8)
at modules.c:1565
No locals.
#11 0x0013504c in process_proxy_reply (request=0x273ff8) at event.c:1730
rcode = <value optimized out>
post_proxy_type = 0
vp = 0x0
#12 0x001350fe in request_pre_handler (request=0x273ff8) at event.c:1855
rcode = <value optimized out>
#13 0x001389c3 in radius_handle_request (request=0x273ff8,
fun=0x118d80 <rad_authenticate>) at event.c:3767
No locals.
#14 0x001309ec in thread_pool_addrequest (request=0x273ff8,
fun=0x118d80 <rad_authenticate>) at threads.c:874
No locals.
#15 0x00136424 in event_socket_handler (xel=<value optimized out>, fd=14,
ctx=0x273080) at event.c:3419
listener = 0x273080
fun = 0x118d80 <rad_authenticate>
request = 0x273ff8
#16 0xb7fd4d65 in fr_event_loop (el=0x26e948) at event.c:411
ef = <value optimized out>
i = <value optimized out>
rcode = 1
maxfd = <value optimized out>
when = {tv_sec = 1302699971, tv_usec = 386585}
wake = <value optimized out>
read_fds = {fds_bits = {16384, 0 <repeats 31 times>}}
master_fds = {fds_bits = {31872, 0 <repeats 31 times>}}
#17 0x00138994 in radius_event_process () at event.c:3760
No locals.
#18 0x0011821e in main (argc=2, argv=0xbffff7c4) at radiusd.c:406
rcode = <value optimized out>
argval = <value optimized out>
spawn_flag = 0
dont_fork = 1
flag = 0
act = {__sigaction_handler = {sa_handler = 0x12e6e0 <sig_fatal>,
sa_sigaction = 0x12e6e0 <sig_fatal>}, sa_mask = {__val = {
0 <repeats 32 times>}}, sa_flags = 0, sa_restorer = 0}
________________________________________
From: freeradius-users-bounces+seth.doty=nebraska.gov at lists.freeradius.org [freeradius-users-bounces+seth.doty=nebraska.gov at lists.freeradius.org] On Behalf Of Phil Mayers [p.mayers at imperial.ac.uk]
Sent: Tuesday, April 12, 2011 5:07 PM
To: freeradius-users at lists.freeradius.org
Subject: Re: Freeradius and Microsoft NPS
On 04/12/2011 07:32 PM, Doty, Seth wrote:
> The box is fedora 14 with freeradius from the repos. This the the output of the gdb log flle:
>
Can you install the freeradius-debuginfo RPM and do this again; the
backtrace is partial/mangled.
It looks like it may be dying in request_free in peap.c:625, but the
debug info will give line numbers; you could also try stepping "up" a
few times and examining relevant variables.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list