Radclient - Invalid Pointer error.
Todd Smith
todd at sohovfx.com
Wed Jul 22 22:08:12 CEST 2015
Hi All,
We are just warming up to radius implementation, I am testing on OpenSuSE13.2 with the following packages:
freeradius-server-3.0.3-3.8.1.x86_64
freeradius-server-libs-3.0.3-3.8.1.x86_64
freeradius-server-ldap-3.0.3-3.8.1.x86_64
freeradius-server-utils-3.0.3-3.8.1.x86_64
Running through the basic tests as outlined in the 'Getting Started' section of freeradius.org.
radius:~ # echo "User-Name=testing,User-Password=password" | radclient 127.0.0.1 auth testing123
The result is:
Sending Access-Request Id 170 from 0.0.0.0:41075 to 127.0.0.1:1812
User-Name = 'testing'
User-Password = 'password'
Received Access-Accept Id 170 from 127.0.0.1:1812 to 127.0.0.1:41075 length 20
As expected, however the output continues from there:
*** Error in `radclient': free(): invalid pointer: 0x00007fc87820ab00 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x730bf)[0x7fc874db30bf]
/lib64/libc.so.6(+0x7892e)[0x7fc874db892e]
/lib64/libc.so.6(+0x79636)[0x7fc874db9636]
/usr/lib64/freeradius/libfreeradius-radius.so(fr_hash_table_free+0x67)[0x7fc8761e0d37]
/usr/lib64/freeradius/libfreeradius-radius.so(dict_free+0x19)[0x7fc8761dbd89]
radclient(main+0xcbc)[0x7fc87662d68c]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fc874d61b05]
radclient(+0x3ecd)[0x7fc87662decd]
======= Memory map: ========
7fc873940000-7fc873956000 r-xp 00000000 00:1f 2373 /lib64/libgcc_s.so.1
7fc873956000-7fc873b55000 ---p 00016000 00:1f 2373 /lib64/libgcc_s.so.1
7fc873b55000-7fc873b56000 r--p 00015000 00:1f 2373 /lib64/libgcc_s.so.1
7fc873b56000-7fc873b57000 rw-p 00016000 00:1f 2373 /lib64/libgcc_s.so.1
7fc873b57000-7fc873b5e000 r-xp 00000000 00:1f 1773 /lib64/librt-2.19.so
7fc873b5e000-7fc873d5d000 ---p 00007000 00:1f 1773 /lib64/librt-2.19.so
7fc873d5d000-7fc873d5e000 r--p 00006000 00:1f 1773 /lib64/librt-2.19.so
7fc873d5e000-7fc873d5f000 rw-p 00007000 00:1f 1773 /lib64/librt-2.19.so
7fc873d5f000-7fc873e5f000 r-xp 00000000 00:1f 1749 /lib64/libm-2.19.so
7fc873e5f000-7fc87405e000 ---p 00100000 00:1f 1749 /lib64/libm-2.19.so
7fc87405e000-7fc87405f000 r--p 000ff000 00:1f 1749 /lib64/libm-2.19.so
7fc87405f000-7fc874060000 rw-p 00100000 00:1f 1749 /lib64/libm-2.19.so
7fc874060000-7fc8740a6000 r-xp 00000000 00:1f 2449 /lib64/libdbus-1.so.3.8.7
7fc8740a6000-7fc8742a5000 ---p 00046000 00:1f 2449 /lib64/libdbus-1.so.3.8.7
7fc8742a5000-7fc8742a6000 r--p 00045000 00:1f 2449 /lib64/libdbus-1.so.3.8.7
7fc8742a6000-7fc8742a7000 rw-p 00046000 00:1f 2449 /lib64/libdbus-1.so.3.8.7
7fc8742a7000-7fc8742c3000 r-xp 00000000 00:1f 2240 /usr/lib64/libnl-3.so.200.20.0
7fc8742c3000-7fc8744c2000 ---p 0001c000 00:1f 2240 /usr/lib64/libnl-3.so.200.20.0
7fc8744c2000-7fc8744c4000 r--p 0001b000 00:1f 2240 /usr/lib64/libnl-3.so.200.20.0
7fc8744c4000-7fc8744c5000 rw-p 0001d000 00:1f 2240 /usr/lib64/libnl-3.so.200.20.0
7fc8744c5000-7fc8744ca000 r-xp 00000000 00:1f 2244 /usr/lib64/libnl-genl-3.so.200.20.0
7fc8744ca000-7fc8746ca000 ---p 00005000 00:1f 2244 /usr/lib64/libnl-genl-3.so.200.20.0
7fc8746ca000-7fc8746cb000 r--p 00005000 00:1f 2244 /usr/lib64/libnl-genl-3.so.200.20.0
7fc8746cb000-7fc8746cc000 rw-p 00006000 00:1f 2244 /usr/lib64/libnl-genl-3.so.200.20.0
7fc8746cc000-7fc8746e3000 r-xp 00000000 00:1f 24982 /usr/lib64/libusb-1.0.so.0.1.0
7fc8746e3000-7fc8748e2000 ---p 00017000 00:1f 24982 /usr/lib64/libusb-1.0.so.0.1.0
7fc8748e2000-7fc8748e3000 r--p 00016000 00:1f 24982 /usr/lib64/libusb-1.0.so.0.1.0
7fc8748e3000-7fc8748e4000 rw-p 00017000 00:1f 24982 /usr/lib64/libusb-1.0.so.0.1.0
7fc8748e4000-7fc8748f9000 r-xp 00000000 00:1f 2076 /lib64/libz.so.1.2.8
7fc8748f9000-7fc874af8000 ---p 00015000 00:1f 2076 /lib64/libz.so.1.2.8
7fc874af8000-7fc874af9000 r--p 00014000 00:1f 2076 /lib64/libz.so.1.2.8
7fc874af9000-7fc874afa000 rw-p 00015000 00:1f 2076 /lib64/libz.so.1.2.8
7fc874afa000-7fc874b3c000 r-xp 00000000 00:1f 34920 /usr/lib64/libpcap.so.1.6.2
7fc874b3c000-7fc874d3c000 ---p 00042000 00:1f 34920 /usr/lib64/libpcap.so.1.6.2
7fc874d3c000-7fc874d3e000 r--p 00042000 00:1f 34920 /usr/lib64/libpcap.so.1.6.2
7fc874d3e000-7fc874d3f000 rw-p 00044000 00:1f 34920 /usr/lib64/libpcap.so.1.6.2
7fc874d3f000-7fc874d40000 rw-p 00000000 00:00 0
7fc874d40000-7fc874ede000 r-xp 00000000 00:1f 1741 /lib64/libc-2.19.so
7fc874ede000-7fc8750de000 ---p 0019e000 00:1f 1741 /lib64/libc-2.19.so
7fc8750de000-7fc8750e2000 r--p 0019e000 00:1f 1741 /lib64/libc-2.19.so
7fc8750e2000-7fc8750e4000 rw-p 001a2000 00:1f 1741 /lib64/libc-2.19.so
7fc8750e4000-7fc8750e8000 rw-p 00000000 00:00 0
7fc8750e8000-7fc875100000 r-xp 00000000 00:1f 1769 /lib64/libpthread-2.19.so
7fc875100000-7fc8752ff000 ---p 00018000 00:1f 1769 /lib64/libpthread-2.19.so
7fc8752ff000-7fc875300000 r--p 00017000 00:1f 1769 /lib64/libpthread-2.19.so
7fc875300000-7fc875301000 rw-p 00018000 00:1f 1769 /lib64/libpthread-2.19.so
7fc875301000-7fc875305000 rw-p 00000000 00:00 0
7fc875305000-7fc875308000 r-xp 00000000 00:1f 1747 /lib64/libdl-2.19.so
7fc875308000-7fc875507000 ---p 00003000 00:1f 1747 /lib64/libdl-2.19.so
7fc875507000-7fc875508000 r--p 00002000 00:1f 1747 /lib64/libdl-2.19.so
7fc875508000-7fc875509000 rw-p 00003000 00:1f 1747 /lib64/libdl-2.19.so
7fc875509000-7fc87551d000 r-xp 00000000 00:1f 1771 /lib64/libresolv-2.19.so
7fc87551d000-7fc87571c000 ---p 00014000 00:1f 1771 /lib64/libresolv-2.19.so
7fc87571c000-7fc87571d000 r--p 00013000 00:1f 1771 /lib64/libresolv-2.19.so
7fc87571d000-7fc87571e000 rw-p 00014000 00:1f 1771 /lib64/libresolv-2.19.so
7fc87571e000-7fc875720000 rw-p 00000000 00:00 0
7fc875720000-7fc875735000 r-xp 00000000 00:1f 1751 /lib64/libnsl-2.19.so
7fc875735000-7fc875934000 ---p 00015000 00:1f 1751 /lib64/libnsl-2.19.so
7fc875934000-7fc875935000 r--p 00014000 00:1f 1751 /lib64/libnsl-2.19.so
7fc875935000-7fc875936000 rw-p 00015000 00:1f 1751 /lib64/libnsl-2.19.so
7fc875936000-7fc875938000 rw-p 00000000 00:00 0
7fc875938000-7fc875946000 r-xp 00000000 00:1f 35091 /usr/lib64/libtalloc.so.2.1.2
7fc875946000-7fc875b46000 ---p 0000e000 00:1f 35091 /usr/lib64/libtalloc.so.2.1.2
7fc875b46000-7fc875b47000 r--p 0000e000 00:1f 35091 /usr/lib64/libtalloc.so.2.1.2
7fc875b47000-7fc875b48000 rw-p 0000f000 00:1f 35091 /usr/lib64/libtalloc.so.2.1.2
7fc875b48000-7fc875ba5000 r-xp 00000000 00:1f 2585 /lib64/libssl.so.1.0.0
7fc875ba5000-7fc875da4000 ---p 0005d000 00:1f 2585 /lib64/libssl.so.1.0.0
7fc875da4000-7fc875da8000 r--p 0005c000 00:1f 2585 /lib64/libssl.so.1.0.0
7fc875da8000-7fc875dae000 rw-p 00060000 00:1f 2585 /lib64/libssl.so.1.0.0
7fc875dae000-7fc875fa5000 r-xp 00000000 00:1f 2584 /lib64/libcrypto.so.1.0.0
7fc875fa5000-7fc8761a4000 ---p 001f7000 00:1f 2584 /lib64/libcrypto.so.1.0.0
7fc8761a4000-7fc8761bf000 r--p 001f6000 00:1f 2584 /lib64/libcrypto.so.1.0.0
7fc8761bf000-7fc8761cc000 rw-p 00211000 00:1f 2584 /lib64/libcrypto.so.1.0.0
7fc8761cc000-7fc8761d0000 rw-p 00000000 00:00 0
7fc8761d0000-7fc876205000 r-xp 00000000 00:1f 35096 /usr/lib64/freeradius/libfreeradius-radius.so
7fc876205000-7fc876404000 ---p 00035000 00:1f 35096 /usr/lib64/freeradius/libfreeradius-radius.so
7fc876404000-7fc876405000 r--p 00034000 00:1f 35096 /usr/lib64/freeradius/libfreeradius-radius.so
7fc876405000-7fc876406000 rw-p 00035000 00:1f 35096 /usr/lib64/freeradius/libfreeradius-radius.so
7fc876406000-7fc876407000 rw-p 00000000 00:00 0
7fc876407000-7fc876427000 r-xp 00000000 00:1f 1734 /lib64/ld-2.19.so
7fc876596000-7fc8765cb000 r--s 00000000 00:11 11793 /run/nscd/services
7fc8765cb000-7fc876600000 r--s 00000000 00:11 11792 /run/nscd/dbKWMtEq (deleted)
7fc876600000-7fc876605000 rw-p 00000000 00:00 0
7fc876605000-7fc876619000 r-xp 00000000 00:1f 24754 /usr/lib64/libudev.so.1.4.0
7fc876619000-7fc87661a000 r--p 00013000 00:1f 24754 /usr/lib64/libudev.so.1.4.0
7fc87661a000-7fc87661b000 rw-p 00014000 00:1f 24754 /usr/lib64/libudev.so.1.4.0
7fc87661b000-7fc876620000 rw-p 00000000 00:00 0
7fc876623000-7fc876627000 rw-p 00000000 00:00 0
7fc876627000-7fc876628000 r--p 00020000 00:1f 1734 /lib64/ld-2.19.so
7fc876628000-7fc876629000 rw-p 00021000 00:1f 1734 /lib64/ld-2.19.so
7fc876629000-7fc87662a000 rw-p 00000000 00:00 0
7fc87662a000-7fc876632000 r-xp 00000000 00:1f 35645 /usr/bin/radclient
7fc876832000-7fc876833000 r--p 00008000 00:1f 35645 /usr/bin/radclient
7fc876833000-7fc876834000 rw-p 00009000 00:1f 35645 /usr/bin/radclient
7fc878199000-7fc87831a000 rw-p 00000000 00:00 0 [heap]
7fff80e56000-7fff80e77000 rw-p 00000000 00:00 0 [stack]
7fff80ffc000-7fff80ffe000 r-xp 00000000 00:00 0 [vdso]
7fff80ffe000-7fff81000000 r--p 00000000 00:00 0 [vvar]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted
Nothing on the internet in regards to this, I'm going to see if I can replicate on another install. If anyone can offer any insight it would be appreciated.
Thanks,
Todd Smith
Head of Information Technology
soho vfx |
99 Atlantic Ave. Suite 303, Toronto, Ontario M6K 3J8
office: (416) 516-7863 fax: (416) 516-9682 web: sohovfx.com
More information about the Freeradius-Users
mailing list