Using rlm_caching: rejects on cached requests

Jeroen Scheerder jeroen.scheerder at
Tue May 1 19:47:22 CEST 2012

On 26 Apr 2012(Q2, W17), at 16:36, Jeroen Scheerder wrote:

> I'll replicate from the stable branch in git and report.

Sadly, working from the main git branch I get immediate segmentation faults (with the stock raddb, and no changes to the source).

I enabled core dumps, and gdb tells me:

(gdb) bt
#0  0x0000000800fbb376 in strcmp () from /lib/
#1  0x00000008006a840a in rbtree_find (tree=0x80121a2b0, Data=0x7fffffffb740) at rbtree.c:479
#2  0x00000008006a8449 in rbtree_finddata (tree=Variable "tree" is not available.
) at rbtree.c:498
#3  0x000000000040fad7 in cf_pair_find (cs=0x8012281c0, name=0x14 <Address 0x14 out of bounds>) at conffile.c:1964
#4  0x00000000004109e2 in cf_item_parse (cs=0x8012281c0, name=0x14 <Address 0x14 out of bounds>, type=5405185, data=0x1c00000014,
   dflt=0x4dffeff5c0 <Address 0x4dffeff5c0 out of bounds>) at conffile.c:912
#5  0x0000000000410f44 in cf_section_parse (cs=0x8012281c0, base=0x8012136e0, variables=0x802338b90) at conffile.c:1210
#6  0x0000000802238754 in eaptls_attach (cs=0x8012281c0, instance=0x8012160f0) at rlm_eap_tls.c:76
#7  0x0000000801e2bbb7 in eaptype_load (type=0x8013bf588, eap_type=Variable "eap_type" is not available.
) at eap.c:142
#8  0x0000000801e2a2e7 in eap_instantiate (cs=0x801227ec0, instance=0x801236fc8) at rlm_eap.c:197
#9  0x000000000041ed70 in find_module_instance (modules=Variable "modules" is not available.
) at modules.c:661
#10 0x0000000000420171 in do_compile_modsingle (parent=0x0, component=0, ci=0x80121f1f0, grouptype=0, modname=0x7fffffffe008)
   at modcall.c:2090
#11 0x000000000041dcf0 in load_component_section (cs=0x8012437c0, components=0x801214b20, comp=0) at modules.c:952
#12 0x000000000041e1ad in load_byserver (cs=0x80120c0c0) at modules.c:1171
#13 0x000000000041e6f2 in virtual_servers_load (config=0x80120c0c0) at modules.c:1306
#14 0x000000000041f26f in setup_modules (reload=Variable "reload" is not available.
) at modules.c:1630
#15 0x000000000041d026 in read_mainconfig (reload=Variable "reload" is not available.
) at mainconfig.c:983
#16 0x0000000000422388 in main (argc=2, argv=Variable "argv" is not available.
) at radiusd.c:264

Regards, Jeroen.
Jeroen Scheerder
Steenweg 17 B
T: +31 418-653818 | F: +31 418-653716
W:  | E: Jeroen.Scheerder at

Premier Business Partner - IBM  |  Reseller of the Year 2011 - Palo Alto Networks

More information about the Freeradius-Users mailing list