segfault with 3.0.3 on rhel 6.5

Aaron Hurt ahurt at ena.com
Wed May 14 17:22:46 CEST 2014


On May 14, 2014, at 10:03 AM, A.L.M.Buxey at lboro.ac.uk wrote:

> Hi,
> 
>> I built 3.0.3 from the tar.gz on ftp.freeradius.org with a standard ./configure; make; sudo make install
> 
> radiusd -xv 
> 
> (just to get environment info)
> 
> alan
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html


I installed all the debug info symbols as well … here it is with -xv and -t -X (again) and a backtrace

(gdb) run -xv
Starting program: /usr/local/sbin/radiusd -xv
[Thread debugging using libthread_db enabled]
Wed May 14 10:19:25 2014 : Info: radiusd: FreeRADIUS Version 3.0.3, for host x86_64-unknown-linux-gnu, built on May 14 2014 at 10:17:43
Wed May 14 10:19:25 2014 : Debug: Server was built with:
Wed May 14 10:19:25 2014 : Debug:   accounting
Wed May 14 10:19:25 2014 : Debug:   authentication
Wed May 14 10:19:25 2014 : Debug:   ascend binary attributes
Wed May 14 10:19:25 2014 : Debug:   coa
Wed May 14 10:19:25 2014 : Debug:   control-socket
Wed May 14 10:19:25 2014 : Debug:   detail
Wed May 14 10:19:25 2014 : Debug:   dhcp
Wed May 14 10:19:25 2014 : Debug:   dynamic clients
Wed May 14 10:19:25 2014 : Debug:   proxy
Wed May 14 10:19:25 2014 : Debug:   regex-pcre
Wed May 14 10:19:25 2014 : Debug:   session-management
Wed May 14 10:19:25 2014 : Debug:   stats
Wed May 14 10:19:25 2014 : Debug:   tcp
Wed May 14 10:19:25 2014 : Debug:   threads
Wed May 14 10:19:25 2014 : Debug:   tls
Wed May 14 10:19:25 2014 : Debug:   unlang
Wed May 14 10:19:25 2014 : Debug:   vmps
Wed May 14 10:19:25 2014 : Debug: Server core libs:
Wed May 14 10:19:25 2014 : Debug:   talloc : 2.0.*
Wed May 14 10:19:25 2014 : Debug:   ssl    : OpenSSL 1.0.1e-fips 11 Feb 2013 0x01000105f (1.0.1e-15)
Wed May 14 10:19:25 2014 : Debug: Library magic number:
Wed May 14 10:19:25 2014 : Debug:   0xf403000300000000
Wed May 14 10:19:25 2014 : Debug: Endianess:
Wed May 14 10:19:25 2014 : Debug:   little
Wed May 14 10:19:25 2014 : Info: Copyright (C) 1999-2014 The FreeRADIUS server project and contributors
Wed May 14 10:19:25 2014 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Wed May 14 10:19:25 2014 : Info: PARTICULAR PURPOSE
Wed May 14 10:19:25 2014 : Info: You may redistribute copies of FreeRADIUS under the terms of the
Wed May 14 10:19:25 2014 : Info: GNU General Public License
Wed May 14 10:19:25 2014 : Info: For more information about these matters, see the file named COPYRIGHT

Program exited normally.
(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 10:17:43
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.
_talloc_free (ptr=0x7e, location=0x7ffff7df302c "src/main/conffile.c:1006") at ../talloc.c:1348
1348		tc = talloc_chunk_from_ptr(ptr);
(gdb) bt
#0  _talloc_free (ptr=0x7e, location=0x7ffff7df302c "src/main/conffile.c:1006") at ../talloc.c:1348
#1  0x00007ffff7de55ee in cf_item_parse (cs=0x65eb00, name=0x43e3a8 "prefix", type=100, data=0x656938, dflt=<value optimized out>) at src/main/conffile.c:1006
#2  0x00007ffff7de5a79 in cf_section_parse (cs=0x65eb00, base=0x0, variables=0x652380) at src/main/conffile.c:1288
#3  0x0000000000419584 in main_config_init () at src/main/mainconfig.c:888
#4  0x0000000000420b39 in main (argc=3, argv=0x7fffffffe548) at src/main/radiusd.c:315
(gdb)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20140514/fb531d36/attachment.pgp>


More information about the Freeradius-Devel mailing list