Enabling core dumps for ASSERT FAILED src/main/detail.c[545]: data->vps == NULL
Greetings 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 logs show: Mar 16 23:24:50 gsm-radius-cellc1 radiusd[36300]: ASSERT FAILED src/main/detail.c[545]: data->vps == NULL Mar 16 23:24:50 gsm-radius-cellc1 radiusd[36690]: Changing value of PR_DUMPABLE not supported on this system Mar 16 23:24:50 gsm-radius-cellc1 radiusd[36690]: Core dumps are enabled -- Mar 16 23:31:34 gsm-radius-cellc1 radiusd[36690]: ASSERT FAILED src/main/detail.c[545]: data->vps == NULL Mar 16 23:31:34 gsm-radius-cellc1 radiusd[37453]: Changing value of PR_DUMPABLE not supported on this system Mar 16 23:31:34 gsm-radius-cellc1 radiusd[37453]: Core dumps are enabled in radius.conf i have: panic_action = "gdb -silent -x ${raddbdir}/panic.gdb %e %p 2>&1 | tee ${logdir}/gdb-${name}-%p.log" allow_core_dumps = yes Freeradius: 3.0.16 FreeBSD : 11.1-RELEASE coredumps are allowed on OS, yet i don't have and dumps root@gsm-radius-cellc1:~ # sysctl -a | grep kern.core kern.corefile: %N.core kern.coredump: 1 kern.coredump_pack_vmmapinfo: 1 kern.coredump_pack_fileinfo: 1 Thanks Vikash 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
On Mar 17, 2018, at 7:28 AM, Vikash Badal (IS) <Vikash.Badal@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. Alan DeKok.
Hi, On 03/19/18 12:52, Alan DeKok wrote:
On Mar 17, 2018, at 7:28 AM, Vikash Badal (IS) <Vikash.Badal@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
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@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"
participants (3)
-
Alan DeKok -
petr.linke@seznam.cz -
Vikash Badal (IS)