Segfault at src/lib/misc.c:1193 in 3.0.4 (3.0.11 looks very similar)
Mike Ely
me at mikeely.org
Mon Sep 26 21:45:13 CEST 2016
Behavior is similar on two production hosts running Centos 7.2. Radius
is setup as proxy only, passes authentication successfully for a time,
then abruptly segfaults. Attached gdb to corefile and found this:
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/radiusd -d /etc/raddb'.
Program terminated with signal 11, Segmentation fault.
#0 fr_ipaddr_cmp (a=0x20, b=0x7f3965a30510) at src/lib/misc.c:1193
1193 if (a->af < b->af) return -1;
It looks like it's somehow getting the memory address for "a" set to
0x20, which is obviously invalid, and then it segfaults.
Where should I look in the configs for where realm acct_pool servers is
being set up and what would I expect to see in a configuration that
would allow the server to run successfully and then crash abruptly like
this?
Obviously let me know what other data to provide for debugging this.
Thanks,
Mike
More information about the Freeradius-Users
mailing list