Re: Enabling core dumps for ASSERT FAILED src/main/detail.c[545]: data->vps == NULL

petr.linke at seznam.cz petr.linke at seznam.cz
Mon Mar 19 14:04:52 CET 2018


Hi,
before you start freeradius, you must have:
1/ writable directory, from where you start "radius -X"
2/ set correctly user limits

so simple way:
cd /tmp
ulimit -c unlimited
freeradius -X

Regards, PL
"Hi,

On 03/19/18 12:52, Alan DeKok wrote:
> On Mar 17, 2018, at 7:28 AM, Vikash Badal (IS) <Vikash.Badal at is.co.za> 
wrote:
>> Please advise as to what i've done wrong, im trying to get a core dump 
for an
>> ASSERT FAILED src/main/detail.c[545]: data->vps == NULL
> 
> Run it as root. Don't have it change UID / GID.
> 
I tried running as root, did not change gid either.

Regards
Vikash Badal
Senior Technical Systems Engineer
T +27 11 5750825
C +27 83 6774915

www.is.co.za
Internet Solutions is a division of Dimension Data

Disclaimer: https://www.is.co.za/legal/#e-mail-confidentiality-notice-and-
disclaimer


Mar 19 14:32:11 gsm-radius-cellc1 radiusd[45116]: ASSERT FAILED 
src/main/detail.c[545]: data->vps == NULL
Mar 19 14:32:11 gsm-radius-cellc1 radiusd[46261]: Changing value of PR_
DUMPABLE 
not supported on this system
Mar 19 14:32:11 gsm-radius-cellc1 radiusd[46261]: Core dumps are enabled
Mar 19 14:32:11 gsm-radius-cellc1 radiusd[46261]: Debugger not attached

from radiusd -X

main {
security {
allow_core_dumps = yes
}
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/var"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
}
Changing value of PR_DUMPABLE not supported on this system
Core dumps are enabled
main {
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/var"
sbindir = "/usr/local/sbin"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
libdir = "/usr/local/lib/freeradius-3.0.16"
radacctdir = "/var/log/radius/radacct"
panic_action = "gdb -silent -x /usr/local/etc/raddb/panic.gdb %e %p 
2>&1 | tee /var/log/radius/gdb-radiusd-%p.log"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/local/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = yes
auth_badpass = yes
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
}
}




> Alan DeKok.
> 
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.
html
> 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.
html"


More information about the Freeradius-Users mailing list