I strongly suspect its a Fedora problem, not a Freeradius problem. (Or else I made a boo-boo configuring the OS) Alan DeKok replied to matthew zeier:
Let me clear: I cannot reproduce this problem here. No one else has seen the same problem.
May or may not be relevant, but I've got two supposedly identical Fedora 6 machines, one gets a similar error, the other doesn't!. Both upgraded with yum to current level, followed by manual install and configure of Freeradius 1.1.5 - I cut and pasted the commands from one machine to the other and I FTPed the files including ones I modified. (And the one it works on is the SECOND one I installed, so its not a failure to copy correctly!) I think there must be some difference in my /usr/local/lib/libltdl.so.3.1.4 - they are slightly different sizes. I have no idea why, I used the same commands to install both systems. I will compare them. Just in case it means anything to anyone I attach the command output, but as I said my guess is its a Fedora problem [root@ficus raddb]# radiusd -v radiusd: FreeRADIUS Version 1.1.5, for host i686-pc-linux-gnu, built on Mar 9 2007 at 13:16:16 Copyright (C) 2000-2006 The FreeRADIUS server project. [root@ficus raddb]# radiusd -X Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /usr/local/etc/raddb/proxy.conf Config: including file: /usr/local/etc/raddb/clients.conf Config: including file: /usr/local/etc/raddb/snmp.conf Config: including file: /usr/local/etc/raddb/eap.conf Config: including file: /usr/local/etc/raddb/sql.conf main: prefix = "/usr/local" main: localstatedir = "/usr/local/var" main: logdir = "/usr/local/var/log/radius" main: libdir = "/usr/local/lib" main: radacctdir = "/usr/local/var/log/radius/radacct" main: hostname_lookups = no main: max_request_time = 30 main: cleanup_delay = 5 main: max_requests = 1024 main: delete_blocked_requests = 0 main: port = 0 main: allow_core_dumps = no main: log_stripped_names = no main: log_file = "/usr/local/var/log/radius/radius.log" main: log_auth = no main: log_auth_badpass = no main: log_auth_goodpass = no main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid" main: user = "(null)" main: group = "(null)" main: usercollide = no main: lower_user = "no" main: lower_pass = "no" main: nospace_user = "no" main: nospace_pass = "no" main: checkrad = "/usr/local/sbin/checkrad" main: proxy_requests = yes proxy: retry_delay = 5 proxy: retry_count = 3 proxy: synchronous = no proxy: default_fallback = yes proxy: dead_time = 120 proxy: post_proxy_authorize = no proxy: wake_all_if_all_dead = no security: max_attributes = 200 security: reject_delay = 1 --More--*** glibc detected *** radiusd: double free or corruption (fasttop): 0x81029498 *** ======= Backtrace: ========= /lib/libc.so.6[0x24b09d] /lib/libc.so.6(cfree+0x90)[0x24e6f0] /usr/local/lib/libltdl.so.3[0x14151b] /usr/local/lib/libltdl.so.3(lt_dlopenext+0xbe)[0x141eae] radiusd(find_module_instance+0x317)[0x8000cbb7] radiusd(setup_modules+0x1d8)[0x8000d168] radiusd(main+0x45c)[0x8001079c] /lib/libc.so.6(__libc_start_main+0xdc)[0x1faf2c] radiusd[0x80004771] ======= Memory map: ======== 00110000-00123000 r-xp 00000000 fd:00 13959203 /lib/libpthread-2.5.so 00123000-00124000 r-xp 00012000 fd:00 13959203 /lib/libpthread-2.5.so 00124000-00125000 rwxp 00013000 fd:00 13959203 /lib/libpthread-2.5.so 00125000-00127000 rwxp 00125000 00:00 0 00127000-0013c000 r-xp 00000000 fd:00 13087333 /usr/local/lib/libradius-1.1.5.so 0013c000-0013d000 rwxp 00014000 fd:00 13087333 /usr/local/lib/libradius-1.1.5.so 0013d000-0013e000 rwxp 0013d000 00:00 0 0013e000-00143000 r-xp 00000000 fd:00 13086902 /usr/local/lib/libltdl.so.3.1.4 00143000-00144000 rwxp 00004000 fd:00 13086902 /usr/local/lib/libltdl.so.3.1.4 00144000-0014b000 r-xp 00000000 fd:00 13087742 /usr/lib/libkrb5support.so.0.1 0014b000-0014c000 rwxp 00006000 fd:00 13087742 /usr/lib/libkrb5support.so.0.1 0014e000-0014f000 r-xp 0014e000 00:00 0 [vdso] 0014f000-00161000 r-xp 00000000 fd:00 13082790 /usr/lib/libz.so.1.2.3 00161000-00162000 rwxp 00011000 fd:00 13082790 /usr/lib/libz.so.1.2.3 00162000-0016b000 r-xp 00000000 fd:00 13959208 /lib/libnss_files-2.5.so 0016b000-0016c000 r-xp 00008000 fd:00 13959208 /lib/libnss_files-2.5.so 0016c000-0016d000 rwxp 00009000 fd:00 13959208 /lib/libnss_files-2.5.so 0016d000-00171000 r-xp 00000000 fd:00 13959206 /lib/libnss_dns-2.5.so 00171000-00172000 r-xp 00003000 fd:00 13959206 /lib/libnss_dns-2.5.so 00172000-00173000 rwxp 00004000 fd:00 13959206 /lib/libnss_dns-2.5.so 00173000-0017e000 r-xp 00000000 fd:00 13959199 /lib/libgcc_s-4.1.1-20070105.so.1 0017e000-0017f000 rwxp 0000a000 fd:00 13959199 /lib/libgcc_s-4.1.1-20070105.so.1 001a0000-001e1000 r-xp 00000000 fd:00 13959361 /lib/libssl.so.0.9.8b 001e1000-001e5000 rwxp 00040000 fd:00 13959361 /lib/libssl.so.0.9.8b 001e5000-0031c000 r-xp 00000000 fd:00 13959186 /lib/libc-2.5.so 0031c000-0031e000 r-xp 00137000 fd:00 13959186 /lib/libc-2.5.so 0031e000-0031f000 rwxp 00139000 fd:00 13959186 /lib/libc-2.5.so 0031f000-00322000 rwxp 0031f000 00:00 0 00322000-003a8000 r-xp 00000000 fd:00 13100407 /usr/lib/libkrb5.so.3.2 003a8000-003aa000 rwxp 00086000 fd:00 13100407 /usr/lib/libkrb5.so.3.2 00474000-0048d000 r-xp 00000000 fd:00 13959170 /lib/ld-2.5.so 0048d000-0048e000 r-xp 00018000 fd:00 13959170 /lib/ld-2.5.so 0048e000-0048f000 rwxp 00019000 fd:00 13959170 /lib/ld-2.5.so 00710000-0082c000 r-xp 00000000 fd:00 13959247 /lib/libcrypto.so.0.9.8b 0082c000-0083e000 rwxp 0011c000 fd:00 13959247 /lib/libcrypto.so.0.9.8b 0083e000-00842000 rwxp 0083e000 00:00 0 008ec000-00911000 r-xp 00000000 fd:00 13100406 /usr/lib/libk5crypto.so.3.0 00911000-00912000 rwxp 00025000 fd:00 13100406 /usr/lib/libk5crypto.so.3.0 00a47000-00a56000 r-xp 00000000 fd:00 13959217 /lib/libresolv-2.5.so 00a56000-00a57000 r-xp 0000e000 fd:00 13959217 /lib/libresolv-2.5.so 00a57000-00a58000 rwxp 0000f000 fd:00 13959217 /lib/libresolv-2.5.so 00a58000-00a5a000 rwxp 00a58000 00:00 0 00c7a000-00ca4000 r-xp 00000000 fd:00 13100408 /usr/lib/libgssapi_krb5.so.2.2 00ca4000-00ca5000 rwxp 00029000 fd:00 13100408 /usr/lib/libgssapi_krb5.so.2.2 00cf1000-00cf3000 r-xp 00000000 fd:00 13099224 /usr/local/lib/rlm_exec-1.1.5.so 00cf3000-00cf4000 rwxp 00001000 fd:00 13099224 /usr/local/lib/rlm_exec-1.1.5.so 00d1b000-00d2e000 r-xp 00000000 fd:00 13959209 /lib/libnsl-2.5.so 00d2e000-00d2f000 r-xp 00012000 fd:00 13959209 /lib/libnsl-2.5.so 00d2f000-00d30000 rwxp 00013000 fd:00 13959209 /lib/libnsl-2.5.so 00d30000-00d32000 rwxp 00d30000 00:00 0 00de4000-00de6000 r-xp 00000000 fd:00 13959245 /lib/libcom_err.so.2.1 00de6000-00de7000 rwxp 00001000 fd:00 13959245 /lib/libcom_err.so.2.1 00e98000-00e9a000 r-xp 00000000 fd:00 13959193 /lib/libdl-2.5.so 00e9a000-00e9b000 r-xp 00001000 fd:00 13959193 /lib/libdl-2.5.so 00e9b000-00e9c000 rwxp 00002000 fd:00 13959193 /lib/libdl-2.5.so 00e9c000-00ea1000 r-xp 00000000 fd:00 13959219 /lib/libcrypt-2.5.so 00ea1000-00ea2000 r-xp 00004000 fd:00 13959219 /lib/libcrypt-2.5.so 00ea2000-00ea3000 rwxp 00005000 fd:00 13959219 /lib/libcrypt-2.5.so 00ea3000-00eca000 rwxp 00ea3000 00:00 0 80000000-8001d000 r-xp 00000000 fd:00 13100199 /usr/local/sbin/radiusd 8001d000-8001e000 rw-p 0001d000 fd:00 13100199 /usr/local/sbin/radiusd 8001e000-8001f000 rw-p 8001e000 00:00 0 80f4e000-81035000 rw-p 80f4e000 00:00 0 b7e00000-b7e21000 rw-p b7e00000 00:00 0 b7e21000-b7f00000 ---p b7e21000 00:00 0 b7fbe000-b7fc2000 rw-p b7fbe000 00:00 0 b7fd0000-b7fd2000 rw-p b7fd0000 00:00 0 bf81b000-bf84c000 rw-p bf81b000 00:00 0 [stack]
ken wrote:
Both upgraded with yum to current level, followed by manual install and configure of Freeradius 1.1.5
Once again: 1.1.5 is known to have issues. That's why 1.1.6 was released. Do not use 1.1.5. Use 1.1.6. Do not try to track down double free issues in 1.1.5. Use 1.1.6. This information has been repeated on this mailing list multiple times. It will continue to be repeated every time someone mentions having problems with 1.1.5. You should be using 1.1.6, not 1.1.5. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan DeKok -
ken