Thanks John, I am actually using the complied version rather than the RPM 
package. I was finally able to get a core dump (a few actually), this was the 
output.

I was the same failure everytime.

Thanks,

Chris

[root@on-radius01 tmp]# gdb /usr/sbin/radiusd 
/tmp/core-radiusd-11-95-95-11382-1367432610
GNU gdb (GDB) CentOS (7.0.1-45.el5.centos)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/radiusd...done.
[New Thread 11387]
[New Thread 11386]
[New Thread 11385]
[New Thread 11384]
[New Thread 11383]
[New Thread 11382]
Reading symbols from /usr/local/lib/libfreeradius-radius-2.2.0.so...done.
Loaded symbols for /usr/local/lib/libfreeradius-radius-2.2.0.so
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols 
found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /usr/local/lib/libltdl.so.3...done.
Loaded symbols for /usr/local/lib/libltdl.so.3
Reading symbols from /lib64/libssl.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libssl.so.6
Reading symbols from /lib64/libcrypto.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/libcrypto.so.6
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/libgssapi_krb5.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
Reading symbols from /usr/lib64/libkrb5.so.3...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /usr/lib64/libk5crypto.so.3...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib64/libk5crypto.so.3
Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /usr/lib64/libkrb5support.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libsepol.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libsepol.so.1
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /lib64/libnss_ldap.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/libnss_ldap.so.2
Reading symbols from /usr/local/lib/rlm_exec.so...done.
Loaded symbols for /usr/local/lib/rlm_exec.so
Reading symbols from /usr/local/lib/rlm_expr.so...done.
Loaded symbols for /usr/local/lib/rlm_expr.so
Reading symbols from /usr/local/lib/rlm_expiration.so...done.
Loaded symbols for /usr/local/lib/rlm_expiration.so
Reading symbols from /usr/local/lib/rlm_logintime.so...done.
Loaded symbols for /usr/local/lib/rlm_logintime.so
Reading symbols from /usr/local/lib/rlm_pap.so...done.
Loaded symbols for /usr/local/lib/rlm_pap.so
Reading symbols from /usr/local/lib/rlm_chap.so...done.
Loaded symbols for /usr/local/lib/rlm_chap.so
Reading symbols from /usr/local/lib/rlm_preprocess.so...done.
Loaded symbols for /usr/local/lib/rlm_preprocess.so
Reading symbols from /usr/local/lib/rlm_digest.so...done.
Loaded symbols for /usr/local/lib/rlm_digest.so
Reading symbols from /usr/local/lib/rlm_realm.so...done.
Loaded symbols for /usr/local/lib/rlm_realm.so
Reading symbols from /usr/local/lib/rlm_acct_unique.so...done.
Loaded symbols for /usr/local/lib/rlm_acct_unique.so
Reading symbols from /usr/local/lib/rlm_files.so...done.
Loaded symbols for /usr/local/lib/rlm_files.so
Reading symbols from /usr/local/lib/rlm_detail.so...done.
Loaded symbols for /usr/local/lib/rlm_detail.so
Reading symbols from /usr/local/lib/rlm_unix.so...done.
Loaded symbols for /usr/local/lib/rlm_unix.so
Reading symbols from /usr/local/lib/rlm_radutmp.so...done.
Loaded symbols for /usr/local/lib/rlm_radutmp.so
Reading symbols from /usr/local/lib/rlm_attr_filter.so...done.
Loaded symbols for /usr/local/lib/rlm_attr_filter.so
Reading symbols from /usr/local/lib/rlm_ldap.so...done.
Loaded symbols for /usr/local/lib/rlm_ldap.so
Reading symbols from /usr/lib64/libldap_r-2.3.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib64/libldap_r-2.3.so.0
Reading symbols from /usr/lib64/liblber-2.3.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib64/liblber-2.3.so.0
Reading symbols from /usr/lib64/libsasl2.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib64/libsasl2.so.2
Reading symbols from /usr/local/lib/rlm_sql.so...done.
Loaded symbols for /usr/local/lib/rlm_sql.so
Reading symbols from /usr/local/lib/rlm_sql_mysql.so...done.
Loaded symbols for /usr/local/lib/rlm_sql_mysql.so
Reading symbols from /usr/lib64/mysql/libmysqlclient_r.so.15...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib64/mysql/libmysqlclient_r.so.15
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libnss_dns.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/libnss_dns.so.2
Reading symbols from /usr/local/lib/rlm_eap.so...done.
Loaded symbols for /usr/local/lib/rlm_eap.so
Reading symbols from /usr/local/lib/libfreeradius-eap-2.2.0.so...done.
Loaded symbols for /usr/local/lib/libfreeradius-eap-2.2.0.so
Reading symbols from /usr/local/lib/rlm_eap_md5.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_md5.so
Reading symbols from /usr/local/lib/rlm_eap_leap.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_leap.so
Reading symbols from /usr/local/lib/rlm_eap_gtc.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_gtc.so
Reading symbols from /usr/local/lib/rlm_eap_tls.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_tls.so
Reading symbols from /usr/local/lib/rlm_eap_ttls.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_ttls.so
Reading symbols from /usr/local/lib/rlm_eap_peap.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_peap.so
Reading symbols from /usr/local/lib/rlm_eap_mschapv2.so...done.
Loaded symbols for /usr/local/lib/rlm_eap_mschapv2.so
Reading symbols from /usr/local/lib/rlm_always.so...done.
Loaded symbols for /usr/local/lib/rlm_always.so

warning: no loadable sections found in added symbol-file system-supplied DSO at 
0x7fff84bfd000
Core was generated by `/usr/sbin/radiusd -d /etc/raddb'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000003c6c07b5bb in memcpy () from /lib64/libc.so.6



-----Original Message-----
From: John Dennis [mailto:jden...@redhat.com] 
Sent: Wednesday, May 01, 2013 2:06 PM
To: FreeRadius users mailing list
Cc: Chris Taylor
Subject: Re: segfault error

On 05/01/2013 01:36 PM, Chris Taylor wrote:
> I have tried a few times but I can't get a core dump. After radius dies I run 
> " gdb /usr/sbin/radiusd /tmp/core_dump/test.dump" but I get the following 
> output.
>
>
> #############################
> [root@on-radius01 core_dump]# gdb /usr/sbin/radiusd 
> /tmp/core_dump/test.dump GNU gdb (GDB) CentOS (7.0.1-45.el5.centos) 
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/sbin/radiusd...done.
> "/tmp/core_dump/test.dump" is not a core dump: File format not 
> recognized #############################
>
> I have ulimit set to unlimited.
>
> [root@on-radius01 core_dump]# ulimit -a
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) unlimited
> scheduling priority             (-e) 0
> file size               (blocks, -f) unlimited
>
> What am I doing wrong on this?

There is information in this bz you may find useful

https://bugzilla.redhat.com/show_bug.cgi?id=602567

--
John Dennis <jden...@redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to