talloc & threads in rlm_eap
Phil Mayers
p.mayers at imperial.ac.uk
Mon Jun 23 17:52:16 CEST 2014
On 23/06/14 16:45, Phil Mayers wrote:
> On 23/06/14 16:29, Arran Cudbard-Bell wrote:
>
>> Any better with latest v3.0.x HEAD? Just fixed all the connection pool
>> handle allocation.
>
> Don't think so, immediate bomb-out when hammering it with EAP; just
> rebuilding after make distclean to be absolutely sure I'm on the latest
> (it would be nice if git activity updated the version reported in "-v";
> seems to only be captured at ./configure time and this makes me paranoid
> I've not updated the binaries correctly)
>
Yeah same sort of thing:
radiusd: FreeRADIUS Version 3.0.4 (git #9da92a8)
#0 0x000000379dcac90d in __libc_waitpid (pid=<value optimized out>,
stat_loc=<value optimized out>, options=<value optimized out>)
at ../sysdeps/unix/sysv/linux/waitpid.c:41
#1 0x000000379dc3e909 in do_system (line=<value optimized out>) at
../sysdeps/posix/system.c:149
#2 0x000000379dc3ec40 in __libc_system (line=<value optimized out>) at
../sysdeps/posix/system.c:190
#3 0x00007fec09653837 in fr_fault (sig=6) at src/lib/debug.c:527
#4 0x00007fec09653924 in _fr_talloc_fault (reason=0x36ad408378 "Bad
talloc magic value - unknown value") at src/lib/debug.c:563
#5 0x00000036ad402df1 in talloc_abort_unknown_value (ptr=<value
optimized out>) at ../talloc.c:341
#6 talloc_chunk_from_ptr (ptr=<value optimized out>) at ../talloc.c:360
#7 talloc_get_name (ptr=<value optimized out>) at ../talloc.c:1153
#8 0x00000036ad402e1e in talloc_check_name (ptr=0x7febf4eef4ee,
name=0x7fec096786cc "char") at ../talloc.c:1172
#9 0x00007fec096542d1 in fr_verify_vp (file=0x7fec09678470
"src/lib/cursor.c", line=45, vp=0x7feb7405f150) at src/lib/debug.c:859
#10 0x00007fec0965289f in _fr_cursor_init (cursor=0x7ffffc4f1030,
node=0x7ffffc4f1010) at src/lib/cursor.c:45
#11 0x00007fec0965454e in fr_verify_list (file=0x45b735
"src/main/process.c", line=1446, expected=0x17ce390, vps=0x7feb7405f150)
at src/lib/debug.c:906
#12 0x00007fec098aaa9f in verify_request (file=0x45b735
"src/main/process.c", line=1446, request=0x17ce390) at src/main/util.c:1103
#13 0x0000000000435741 in request_running (request=0x17ce390, action=5)
at src/main/process.c:1446
#14 0x00000000004334d9 in request_timer (ctx=0x17ce390) at
src/main/process.c:471
#15 0x00007fec096763ed in fr_event_run (el=0x136a2a0,
when=0x7ffffc4f1280) at src/lib/event.c:260
#16 0x00007fec09676cfa in fr_event_loop (el=0x136a2a0) at
src/lib/event.c:483
#17 0x000000000043d710 in radius_event_process () at src/main/process.c:4923
#18 0x000000000042a3ea in main (argc=7, argv=0x7ffffc4f1448) at
src/main/radiusd.c:582
As before basic setup is high rate of incoming EAP with rlm_cache,
rlm_sql and various policy{} blocks, PEAP/TTLS and mschap to ntlm_auth.
More information about the Freeradius-Devel
mailing list