Core dump on start of FR3.0.1
Hello, I've just compiled FR3.0.1 from source but it is core dumping on start-up, I have copied the debug output below. I'm using the same config as I was with FR3.0.0. Has anyone else encountered such issues? [root@radauth3 raddb]# pkill radiusd ; radiusd -XX Fri Jan 17 11:10:50 2014 : Info: radiusd: FreeRADIUS Version 3.0.1, for host i686-pc-linux-gnu, built on Jan 17 2014 at 11:06:21 Fri Jan 17 11:10:50 2014 : Debug: Server was built with: Fri Jan 17 11:10:50 2014 : Debug: accounting Fri Jan 17 11:10:50 2014 : Debug: authentication Fri Jan 17 11:10:50 2014 : Debug: ascend binary attributes Fri Jan 17 11:10:50 2014 : Debug: coa Fri Jan 17 11:10:50 2014 : Debug: control-socket Fri Jan 17 11:10:50 2014 : Debug: detail Fri Jan 17 11:10:50 2014 : Debug: dhcp Fri Jan 17 11:10:50 2014 : Debug: dynamic clients Fri Jan 17 11:10:50 2014 : Debug: proxy Fri Jan 17 11:10:50 2014 : Debug: regex-posix Fri Jan 17 11:10:50 2014 : Debug: session-management Fri Jan 17 11:10:50 2014 : Debug: stats Fri Jan 17 11:10:50 2014 : Debug: tcp Fri Jan 17 11:10:50 2014 : Debug: threads Fri Jan 17 11:10:50 2014 : Debug: tls Fri Jan 17 11:10:50 2014 : Debug: unlang Fri Jan 17 11:10:50 2014 : Debug: vmps Fri Jan 17 11:10:50 2014 : Debug: Server core libs: Fri Jan 17 11:10:50 2014 : Debug: talloc : 2.0.* Fri Jan 17 11:10:50 2014 : Debug: ssl : OpenSSL 1.0.0e-fips 6 Sep 2011 Fri Jan 17 11:10:50 2014 : Info: Copyright (C) 1999-2014 The FreeRADIUS server project and contributors Fri Jan 17 11:10:50 2014 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A Fri Jan 17 11:10:50 2014 : Info: PARTICULAR PURPOSE Fri Jan 17 11:10:50 2014 : Info: You may redistribute copies of FreeRADIUS under the terms of the Fri Jan 17 11:10:50 2014 : Info: GNU General Public License Fri Jan 17 11:10:50 2014 : Info: For more information about these matters, see the file named COPYRIGHT Fri Jan 17 11:10:50 2014 : Info: Starting - reading configuration files ... Fri Jan 17 11:10:50 2014 : Debug: including dictionary file /usr/local/etc/raddb/dictionary Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/radiusd.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/proxy.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/clients.conf Fri Jan 17 11:10:50 2014 : Debug: including files in directory /usr/local/etc/raddb/mods-enabled/ Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/preprocess Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/detail Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/utf8 Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/detail.log Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/echo Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/soh Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/linelog Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/pap Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/exec Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/always Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/ldap Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/unix Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/passwd Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/eap Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/files Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/realm Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/chap Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/radutmp Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/mschap Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/replicate Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/dhcp Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/logintime Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/expiration Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/cache_eap Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/digest Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/expr Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/sql Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-config/sql/main/mysql/queries.conf Fri Jan 17 11:10:50 2014 : Debug: including files in directory /usr/local/etc/raddb/policy.d/ Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/accounting Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/operator-name Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/eap Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/filter Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/cui Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/control Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/dhcp Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/canonicalization Fri Jan 17 11:10:50 2014 : Debug: including files in directory /usr/local/etc/raddb/sites-enabled/ Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/sites-enabled/default Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/StripUserName.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/SetRealm.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/format-callstaid.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/dosomestuff.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/StripUserName.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/dosomestuff.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/poolacc.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/sites-enabled/control-socket Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/StripUserName.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/SetRealm.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/format-callstaid.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/dosomestuff.conf Fri Jan 17 11:10:50 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/poolacc.conf Fri Jan 17 11:10:50 2014 : Debug: main { Fri Jan 17 11:10:50 2014 : Debug: security { Fri Jan 17 11:10:50 2014 : Debug: allow_core_dumps = no Fri Jan 17 11:10:50 2014 : Debug: } Fri Jan 17 11:10:50 2014 : Debug: } Fri Jan 17 11:10:50 2014 : Debug: main { Fri Jan 17 11:10:50 2014 : Debug: name = "radiusd" Segmentation fault (core dumped) Many thanks, Jezz.
Fri Jan 17 11:10:50 2014 : Debug: security { Fri Jan 17 11:10:50 2014 : Debug: allow_core_dumps = no Fri Jan 17 11:10:50 2014 : Debug: } Fri Jan 17 11:10:50 2014 : Debug: } Fri Jan 17 11:10:50 2014 : Debug: main { Fri Jan 17 11:10:50 2014 : Debug: name = "radiusd" Segmentation fault (core dumped)
gdb --args radiusd -XX run bt Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Hi Arran,
gdb --args radiusd -XX run bt
[root@radauth3 ~]# gdb --args radiusd -XX GNU gdb (GDB) Fedora (7.2-51.fc14) 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 "i686-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 Starting program: /usr/local/sbin/radiusd -XX [Thread debugging using libthread_db enabled] Fri Jan 17 12:15:26 2014 : Info: radiusd: FreeRADIUS Version 3.0.1, for host i686-pc-linux-gnu, built on Jan 17 2014 at 11:06:21 Fri Jan 17 12:15:26 2014 : Debug: Server was built with: Fri Jan 17 12:15:26 2014 : Debug: accounting Fri Jan 17 12:15:26 2014 : Debug: authentication Fri Jan 17 12:15:26 2014 : Debug: ascend binary attributes Fri Jan 17 12:15:26 2014 : Debug: coa Fri Jan 17 12:15:26 2014 : Debug: control-socket Fri Jan 17 12:15:26 2014 : Debug: detail Fri Jan 17 12:15:26 2014 : Debug: dhcp Fri Jan 17 12:15:26 2014 : Debug: dynamic clients Fri Jan 17 12:15:26 2014 : Debug: proxy Fri Jan 17 12:15:26 2014 : Debug: regex-posix Fri Jan 17 12:15:26 2014 : Debug: session-management Fri Jan 17 12:15:26 2014 : Debug: stats Fri Jan 17 12:15:26 2014 : Debug: tcp Fri Jan 17 12:15:26 2014 : Debug: threads Fri Jan 17 12:15:26 2014 : Debug: tls Fri Jan 17 12:15:26 2014 : Debug: unlang Fri Jan 17 12:15:26 2014 : Debug: vmps Fri Jan 17 12:15:26 2014 : Debug: Server core libs: Fri Jan 17 12:15:26 2014 : Debug: talloc : 2.0.* Fri Jan 17 12:15:26 2014 : Debug: ssl : OpenSSL 1.0.0e-fips 6 Sep 2011 Fri Jan 17 12:15:26 2014 : Info: Copyright (C) 1999-2014 The FreeRADIUS server project and contributors Fri Jan 17 12:15:26 2014 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A Fri Jan 17 12:15:26 2014 : Info: PARTICULAR PURPOSE Fri Jan 17 12:15:26 2014 : Info: You may redistribute copies of FreeRADIUS under the terms of the Fri Jan 17 12:15:26 2014 : Info: GNU General Public License Fri Jan 17 12:15:26 2014 : Info: For more information about these matters, see the file named COPYRIGHT Fri Jan 17 12:15:26 2014 : Info: Starting - reading configuration files ... Fri Jan 17 12:15:26 2014 : Debug: including dictionary file /usr/local/etc/raddb/dictionary Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/radiusd.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/proxy.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/clients.conf Fri Jan 17 12:15:26 2014 : Debug: including files in directory /usr/local/etc/raddb/mods-enabled/ Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/preprocess Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/detail Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/utf8 Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/detail.log Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/echo Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/soh Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/linelog Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/pap Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/exec Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/always Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/ldap Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/unix Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/passwd Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/eap Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/files Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/realm Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/chap Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/radutmp Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/mschap Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/replicate Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/dhcp Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/logintime Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/expiration Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/cache_eap Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/digest Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/expr Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-enabled/sql Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/mods-config/sql/main/mysql/queries.conf Fri Jan 17 12:15:26 2014 : Debug: including files in directory /usr/local/etc/raddb/policy.d/ Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/accounting Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/operator-name Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/eap Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/filter Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/cui Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/control Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/dhcp Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/policy.d/canonicalization Fri Jan 17 12:15:26 2014 : Debug: including files in directory /usr/local/etc/raddb/sites-enabled/ Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/sites-enabled/default Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/StripUserName.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/SetRealm.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/format-callstaid.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/dosomestuff.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/StripUserName.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/dosomestuff.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/poolacc.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/sites-enabled/control-socket Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/StripUserName.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/SetRealm.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/format-callstaid.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/dosomestuff.conf Fri Jan 17 12:15:26 2014 : Debug: including configuration file /usr/local/etc/raddb/scripts/poolacc.conf Fri Jan 17 12:15:26 2014 : Debug: main { Fri Jan 17 12:15:26 2014 : Debug: security { Fri Jan 17 12:15:26 2014 : Debug: allow_core_dumps = no Fri Jan 17 12:15:26 2014 : Debug: } Fri Jan 17 12:15:26 2014 : Debug: } Fri Jan 17 12:15:26 2014 : Debug: main { Fri Jan 17 12:15:26 2014 : Debug: name = "radiusd" Program received signal SIGSEGV, Segmentation fault. 0x00c104f6 in _talloc_free () from /usr/lib/libtalloc.so.2 Missing separate debuginfos, use: debuginfo-install glibc-2.13-2.i686 keyutils-libs-1.2-6.fc12.i686 krb5-libs-1.8.4-2.fc14.i686 libcom_err-1.41.12-6.fc14.i686 libselinux-2.0.96-6.fc14.1.i686 libtalloc-2.0.1-1.fc13.i686 ncurses-libs-5.7-9.20100703.fc14.i686 nss-softokn-freebl-3.12.10-1.fc14.i686 openssl-1.0.0e-1.fc14.i686 readline-6.1-2.fc14.i386 zlib-1.2.5-2.fc14.i686 (gdb) bt #0 0x00c104f6 in _talloc_free () from /usr/lib/libtalloc.so.2 #1 0x00118e99 in cf_item_parse (cs=0x80acd78, name=0x8086183 "prefix", type=100, data=0x8096044, dflt=0x808618a "/usr/local") at src/main/conffile.c:954 #2 0x001196a4 in cf_section_parse (cs=0x80acd78, base=0x0, variables=0x8093a00) at src/main/conffile.c:1244 #3 0x0805f594 in read_mainconfig (reload=0) at src/main/mainconfig.c:873 #4 0x08066e1c in main (argc=2, argv=0xbffff7e4) at src/main/radiusd.c:316 Thanks, Jezz.
Palmer J.D.F. wrote:
Program received signal SIGSEGV, Segmentation fault. 0x00c104f6 in _talloc_free () from /usr/lib/libtalloc.so.2 Missing separate debuginfos, use: debuginfo-install glibc-2.13-2.i686 keyutils-libs-1.2-6.fc12.i686 krb5-libs-1.8.4-2.fc14.i686 libcom_err-1.41.12-6.fc14.i686 libselinux-2.0.96-6.fc14.1.i686 libtalloc-2.0.1-1.fc13.i686 ncurses-libs-5.7-9.20100703.fc14.i686 nss-softokn-freebl-3.12.10-1.fc14.i686 openssl-1.0.0e-1.fc14.i686 readline-6.1-2.fc14.i386 zlib-1.2.5-2.fc14.i686 (gdb) bt #0 0x00c104f6 in _talloc_free () from /usr/lib/libtalloc.so.2 #1 0x00118e99 in cf_item_parse (cs=0x80acd78, name=0x8086183 "prefix", type=100, data=0x8096044, dflt=0x808618a "/usr/local") at src/main/conffile.c:954
Hmm... that shouldn't happen. If you still have the gdb process around, can you do: (gdb) up (gdb) p *q That should tell a *bit* more information. Also, please double-check that you don't have any 3.0.0 libraries around. That's another potential source for confusion. Alan DeKok.
Hmm... that shouldn't happen.
That's what I thought. :)
If you still have the gdb process around, can you do:
(gdb) up (gdb) p *q (gdb) up
As it happens it is still running... (gdb) up #1 0x00118e99 in cf_item_parse (cs=0x80acd78, name=0x8086183 "prefix", type=100, data=0x8096044, dflt=0x808618a "/usr/local") at src/main/conffile.c:954 954 talloc_free(*q); (gdb) p*q $1 = 0x8 <Address 0x8 out of bounds> (gdb) p *q
Also, please double-check that you don't have any 3.0.0 libraries around. That's another potential source for confusion.
How would I go about checking this? I have ran 'make uninstall' from both fr3.0.0 and fr3.0.1 source directories; then ran make install again from 3.0.1 but I still get a segfault. To confirm, if I then re-install fr3.0.0 it runs. Many thanks, Jezz.
Palmer J.D.F. wrote: talloc_free(*q);
(gdb) p*q $1 = 0x8 <Address 0x8 out of bounds> (gdb) p *q
Hmm... that's very wrong.
How would I go about checking this?
You look at /usr/lib (or where ever you installed the libraries), and ensure that there are no 3.0.0 libraries around.
I have ran 'make uninstall' from both fr3.0.0 and fr3.0.1 source directories; then ran make install again from 3.0.1 but I still get a segfault. To confirm, if I then re-install fr3.0.0 it runs.
There is no "make uninstall" target. Running it does nothing. You need to administer the system yourself. If you install from packages, this is all handled for you. I'm going to put this problem down as a shared library conflict. It's simple enough that if it was real, *everyone* would be seeing it. And they don't. Alan DeKok.
You look at /usr/lib (or where ever you installed the libraries), and ensure that there are no 3.0.0 libraries around.
Libraries are installed to /usr/local/lib If I rename that directory and recreate it, then reinstall fr3.0.1 I get the same problem.
There is no "make uninstall" target. Running it does nothing. You need to administer the system yourself.
Odd, if I run make uninstall it definitely removes the radiusd executable , and if I strace it, it does plenty. radiusd exists... [root@radauth3 freeradius-server-3.0.1]# which radiusd /usr/local/sbin/radiusd Run make uninstall [root@radauth3 freeradius-server-3.0.1]# make uninstall Radiusd doesn't exist... [root@radauth3 freeradius-server-3.0.1]# which radiusd /usr/bin/which: no radiusd in (/usr/local/pgsql/bin/:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) [root@radauth3 freeradius-server-3.0.1]# ls -lrat /usr/local/sbin/radiusd ls: cannot access /usr/local/sbin/radiusd: No such file or directory
If you install from packages, this is all handled for you. I prefer to use source.
I'm going to put this problem down as a shared library conflict. It's simple enough that if it was real, *everyone* would be seeing it. And they don't.
I'll compile it on another machine which has had no FR previously. Thanks, Jezz.
Palmer J.D.F. wrote:
Libraries are installed to /usr/local/lib If I rename that directory and recreate it, then reinstall fr3.0.1 I get the same problem.
OK. What else have you changed in the configuration? It is *very* odd that you see a problem as soon as the server starts, but no one else does. Alan DeKok.
Palmer J.D.F. wrote:
Libraries are installed to /usr/local/lib If I rename that directory and recreate it, then reinstall fr3.0.1 I get the same problem.
OK.
What else have you changed in the configuration? It is *very* odd that you see a problem as soon as the server starts,
I've changed nothing else, same configure options, make, make install, radiusd -X I have a few things to try tomorrow. I'll start with a vanilla raddb created from the install, and I have a couple of FR virgin boxes which I'll try if it's not a config issue; but it looks to be getting past the config loading stage.
but no one else does. I'm special. :-)
Cheers, Jezz.
Palmer J.D.F. wrote:
I've changed nothing else, same configure options, make, make install, radiusd -X
OK.
I have a few things to try tomorrow. I'll start with a vanilla raddb created from the install, and I have a couple of FR virgin boxes which I'll try if it's not a config issue; but it looks to be getting past the config loading stage.
OK. If you can track it down to a configuration change, I can reproduce it, and fix it. Alan DeKok.
I have a few things to try tomorrow. I'll start with a vanilla raddb created from the install, and I have a couple of FR virgin boxes which I'll try if it's not a config issue; but it looks to be getting past the config loading stage.
OK. If you can track it down to a configuration change, I can reproduce it, and fix it.
Ok great, will let you know how I get on. Cheers, Jezz.
Hi,
I have a few things to try tomorrow. I'll start with a vanilla raddb created from the install, and I have a couple of FR virgin boxes which I'll try if it's not a config issue; but it looks to be getting past the config loading stage.
OK. If you can track it down to a configuration change, I can reproduce it, and fix it.
Ok, I tried with a vanilla raddb and the same problem existed, but on another machine (with more recent Fedora install) it ran ok, both fedora versions are quite old though. I haven't had time to look into it further yet. Thanks, Jezz.
I suspect I know what the issue is. I'll see if I can do a patch for later today. Sent from my iPhone On 2014-01-22, at 5:46 AM, "Palmer J.D.F." <J.D.F.Palmer@swansea.ac.uk> wrote:
Hi,
I have a few things to try tomorrow. I'll start with a vanilla raddb created from the install, and I have a couple of FR virgin boxes which I'll try if it's not a config issue; but it looks to be getting past the config loading stage.
OK. If you can track it down to a configuration change, I can reproduce it, and fix it.
Ok, I tried with a vanilla raddb and the same problem existed, but on another machine (with more recent Fedora install) it ran ok, both fedora versions are quite old though. I haven't had time to look into it further yet.
Thanks, Jezz. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Ok, I tried with a vanilla raddb and the same problem existed, but on another machine (with more recent Fedora install) it ran ok, both fedora versions are quite old though. I haven't had time to look into it further yet.
Did this get resolved? If not could you please open an issue on bugs.freeradius.org. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Did this get resolved? If not could you please open an issue on bugs.freeradius.org.
I'm not sure, Alan said he knew what it might be and would release a patch. The issue exists on FC14 but not on FC15, but both are quite archaic. If Alan hasn't resolved this, and it's worth perusing on such an old release then I'll open a bug case. Cheers, Jezz.
On 29 Jan 2014, at 14:06, Palmer J.D.F. <J.D.F.Palmer@SWANSEA.AC.UK> wrote:
Did this get resolved? If not could you please open an issue on bugs.freeradius.org.
I'm not sure, Alan said he knew what it might be and would release a patch. The issue exists on FC14 but not on FC15, but both are quite archaic.
If Alan hasn't resolved this, and it's worth perusing on such an old release then I'll open a bug case.
Well if it's occurring on 3.0.x it's worth pursuing... Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Palmer J.D.F. wrote:
Did this get resolved? If not could you please open an issue on bugs.freeradius.org.
I'm not sure, Alan said he knew what it might be and would release a patch.
Nope. I suspected it was a shared library issue, but I really have no idea. The core dump is in code which should work *everywhere*.
The issue exists on FC14 but not on FC15, but both are quite archaic.
If Alan hasn't resolved this, and it's worth perusing on such an old release then I'll open a bug case.
Any useful information would be good. The gdb back trace you posted was unhelpful. Yes, it core dumped in a line of code which did nothing special, and all values were as expected. What the heck? Alan DeKok.
The core dump is in code which should work *everywhere*.
May be it does, everywhere apart from one FC14 box. I've since upgraded the box I was having this trouble with to FC15, and FR3.0.1 compiles and runs fine on it now. I've just compiled FR3.0.1 on another FC14 box so that I could do some debugging for the bug report, but annoyingly (?) it runs fine without the core dump. I'm not sure where to go with it now as I'm unable to replicate the problem. As you say; 'What the heck?' Jezz.
Palmer J.D.F. wrote
I've since upgraded the box I was having this trouble with to FC15, and FR3.0.1 compiles and runs fine on it now.
OK. It may be an incompatibility with the version of talloc on the system.
I've just compiled FR3.0.1 on another FC14 box so that I could do some debugging for the bug report, but annoyingly (?) it runs fine without the core dump. I'm not sure where to go with it now as I'm unable to replicate the problem.
As you say; 'What the heck?'
<shrug> Move on... I've double-checked the radsec issue. I can't reproduce it here. Alan DeKok.
On 31 Jan 2014, at 13:43, Alan DeKok <aland@deployingradius.com> wrote:
Palmer J.D.F. wrote
I've since upgraded the box I was having this trouble with to FC15, and FR3.0.1 compiles and runs fine on it now.
OK. It may be an incompatibility with the version of talloc on the system.
Well it'd be good to know that so we can add a version check to autoconf. Jezz, Do you know what the version of talloc was on FC14? -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 02/05/2014 07:40 AM, Arran Cudbard-Bell wrote:
On 31 Jan 2014, at 13:43, Alan DeKok <aland@deployingradius.com> wrote:
Palmer J.D.F. wrote
I've since upgraded the box I was having this trouble with to FC15, and FR3.0.1 compiles and runs fine on it now.
OK. It may be an incompatibility with the version of talloc on the system.
Well it'd be good to know that so we can add a version check to autoconf.
Jezz, Do you know what the version of talloc was on FC14?
Not 100% positive, but I think it was 2.0.1 based on the build history of the package. Unfortunately the definitive package information for the F14 has now been removed because F14 is so old. FWIW F14 was about the time libtalloc was first introduced as a distinct package independent of samba, not surprised at that moment it was immature. -- John
participants (4)
-
Alan DeKok -
Arran Cudbard-Bell -
John Dennis -
Palmer J.D.F.