segfault with 3.0.3 on rhel 6.5

Bruce Bauman bbauman at oit.rutgers.edu
Wed May 14 17:13:21 CEST 2014


I get a segfault on CentOS 6.5 as well; here’s a backtrace:

#0  0x00000035a2402a3e in _talloc_free () from /usr/lib64/libtalloc.so.2
#1  0x00000035a200aade in cf_item_parse (cs=0x868c30, name=0x44236e "prefix", 
    type=100, data=0x65b958, dflt=<value optimized out>)
    at src/main/conffile.c:1006
#2  0x00000035a200b089 in cf_section_parse (cs=0x868c30, base=0x0, 
    variables=0x657380) at src/main/conffile.c:1288
#3  0x000000000041a161 in main_config_init () at src/main/mainconfig.c:888
#4  0x0000000000422359 in main (argc=1, argv=0x7fffffffe648)
    at src/main/radiusd.c:315

I get the same behavior from 3.0.3 as I do from the 3.0.x branch.

— Bruce

Bruce Bauman - Systems Administrator
Telecommunications Division - Rutgers University
University Network Architecture and Applications
Office:  848.445.6363









On May 14, 2014, at 10:56 AM, Aaron Hurt <ahurt at ena.com> wrote:

> One quick followup.  I just built 3.0.2 (after removing 3.0.3) on the same machine and it appears to run without issue.
> 
> — Aaron
> 
> On May 14, 2014, at 9:48 AM, Aaron Hurt <ahurt at ena.com> wrote:
> 
>> I built 3.0.3 from the tar.gz on ftp.freeradius.org with a standard ./configure; make; sudo make install
>> 
>> The server builds fine without warning but dies with a segmentation fault on startup with all the default configuration files in place.  I can reproduce this on other boxes boxes running the same distribution but I can’t reproduce it on my OSX machines or my FreeBSD box.  The detailed versions of all the linked libs are outlined towards the end of the GDB output.
>> 
>> System Info:
>> 
>> [root at cwp-test-dev ~]# uname -a
>> Linux cwp-test-dev.corp.ena.net 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 11:15:18 CDT 2014 x86_64 x86_64 x86_64 GNU/Linux
>> [root at cwp-test-dev ~]# cat /etc/redhat-release
>> Scientific Linux release 6.5 (Carbon)
>> 
>> GDB output:
>> 
>> [root at cwp-test-dev ~]# gdb /usr/local/sbin/radiusd
>> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
>> Copyright (C) 2010 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/local/sbin/radiusd...done.
>> (gdb) run -t -X
>> Starting program: /usr/local/sbin/radiusd -t -X
>> [Thread debugging using libthread_db enabled]
>> radiusd: FreeRADIUS Version 3.0.3, for host x86_64-unknown-linux-gnu, built on May 14 2014 at 09:38:31
>> Copyright (C) 1999-2014 The FreeRADIUS server project and contributors
>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>> PARTICULAR PURPOSE
>> You may redistribute copies of FreeRADIUS under the terms of the
>> GNU General Public License
>> For more information about these matters, see the file named COPYRIGHT
>> Starting - reading configuration files ...
>> including dictionary file /usr/local/share/freeradius/dictionary
>> including dictionary file /usr/local/share/freeradius/dictionary.dhcp
>> including dictionary file /usr/local/share/freeradius/dictionary.vqp
>> including dictionary file /usr/local/etc/raddb/dictionary
>> including configuration file /usr/local/etc/raddb/radiusd.conf
>> including configuration file /usr/local/etc/raddb/proxy.conf
>> including configuration file /usr/local/etc/raddb/clients.conf
>> including files in directory /usr/local/etc/raddb/mods-enabled/
>> including configuration file /usr/local/etc/raddb/mods-enabled/detail.log
>> including configuration file /usr/local/etc/raddb/mods-enabled/utf8
>> including configuration file /usr/local/etc/raddb/mods-enabled/realm
>> including configuration file /usr/local/etc/raddb/mods-enabled/unix
>> including configuration file /usr/local/etc/raddb/mods-enabled/passwd
>> including configuration file /usr/local/etc/raddb/mods-enabled/expr
>> including configuration file /usr/local/etc/raddb/mods-enabled/pap
>> including configuration file /usr/local/etc/raddb/mods-enabled/detail
>> including configuration file /usr/local/etc/raddb/mods-enabled/files
>> including configuration file /usr/local/etc/raddb/mods-enabled/radutmp
>> including configuration file /usr/local/etc/raddb/mods-enabled/always
>> including configuration file /usr/local/etc/raddb/mods-enabled/dhcp
>> including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter
>> including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients
>> including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth
>> including configuration file /usr/local/etc/raddb/mods-enabled/chap
>> including configuration file /usr/local/etc/raddb/mods-enabled/soh
>> including configuration file /usr/local/etc/raddb/mods-enabled/expiration
>> including configuration file /usr/local/etc/raddb/mods-enabled/linelog
>> including configuration file /usr/local/etc/raddb/mods-enabled/mschap
>> including configuration file /usr/local/etc/raddb/mods-enabled/digest
>> including configuration file /usr/local/etc/raddb/mods-enabled/replicate
>> including configuration file /usr/local/etc/raddb/mods-enabled/preprocess
>> including configuration file /usr/local/etc/raddb/mods-enabled/echo
>> including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp
>> including configuration file /usr/local/etc/raddb/mods-enabled/logintime
>> including configuration file /usr/local/etc/raddb/mods-enabled/exec
>> including configuration file /usr/local/etc/raddb/mods-enabled/eap
>> including configuration file /usr/local/etc/raddb/mods-enabled/unpack
>> including configuration file /usr/local/etc/raddb/mods-enabled/cache_eap
>> including files in directory /usr/local/etc/raddb/policy.d/
>> including configuration file /usr/local/etc/raddb/policy.d/operator-name
>> including configuration file /usr/local/etc/raddb/policy.d/dhcp
>> including configuration file /usr/local/etc/raddb/policy.d/filter
>> including configuration file /usr/local/etc/raddb/policy.d/accounting
>> including configuration file /usr/local/etc/raddb/policy.d/canonicalization
>> including configuration file /usr/local/etc/raddb/policy.d/cui
>> including configuration file /usr/local/etc/raddb/policy.d/control
>> including configuration file /usr/local/etc/raddb/policy.d/eap
>> including files in directory /usr/local/etc/raddb/sites-enabled/
>> including configuration file /usr/local/etc/raddb/sites-enabled/default
>> including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
>> main {
>> security {
>> 	allow_core_dumps = no
>> }
>> }
>> main {
>> 	name = "radiusd"
>> 
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00007ffff7783a3e in _talloc_free () from /usr/lib64/libtalloc.so.2
>> Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-10.el6_4.6.x86_64 libcom_err-1.41.12-18.el6.x86_64 libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 libtalloc-2.0.7-2.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64 nss-softokn-freebl-3.14.3-9.el6.x86_64 openssl-1.0.1e-16.el6_5.7.x86_64 pcre-7.8-6.el6.x86_64 readline-6.0-4.el6.x86_64 zlib-1.2.3-29.el6.x86_64
>> (gdb) next
>> Single stepping until exit from function _talloc_free,
>> which has no line number information.
>> 
>> Program terminated with signal SIGSEGV, Segmentation fault.
>> The program no longer exists.
>> (gdb)
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20140514/862e15b8/attachment-0001.html>


More information about the Freeradius-Devel mailing list