Error in `radiusd': free(): invalid next size (normal)
Hey there, I'm getting this error while trying to do radiusd -X: *** Error in `radiusd': free(): invalid next size (normal): 0x00007f2754001d10 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7d1fd)[0x7f27622d71fd] /lib64/libstdc++.so.6(_ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev+0xdc)[0x7f275bb41f9c] /usr/local/lib64/libcassandra.so.2(_ZNK4cass7Address9to_stringEb+0x223)[0x7f275c0e7383] /usr/local/lib64/libcassandra.so.2(_ZN4cass10ConnectionC1EP9uv_loop_sRKNS_6ConfigEPNS_7MetricsERKNS_7AddressERKSsiPNS0_8ListenerE+0x1b1)[0x7f275c0f6ba3] /usr/local/lib64/libcassandra.so.2(_ZN4cass17ControlConnection9reconnectEb+0x19e)[0x7f275c10041a] /usr/local/lib64/libcassandra.so.2(_ZN4cass17ControlConnection7connectEPNS_7SessionE+0xc9)[0x7f275c1001b9] /usr/local/lib64/libcassandra.so.2(_ZN4cass7Session16internal_connectEv+0x8f)[0x7f275c14a075] /usr/local/lib64/libcassandra.so.2(_ZN4cass7Session10on_resolveEPNS_8ResolverE+0xf3)[0x7f275c14a957] /usr/local/lib64/libcassandra.so.2(_ZN4cass8Resolver10on_resolveEP16uv_getaddrinfo_siP8addrinfo+0x8c)[0x7f275c14d3a1] /usr/local/lib/libuv.so.1(+0x7998)[0x7f275bdb5998] /usr/local/lib/libuv.so.1(+0x953d)[0x7f275bdb753d] /usr/local/lib/libuv.so.1(+0x95de)[0x7f275bdb75de] /usr/local/lib/libuv.so.1(+0x15fdc)[0x7f275bdc3fdc] /usr/local/lib/libuv.so.1(uv_run+0xe7)[0x7f275bdb7de7] /usr/local/lib64/libcassandra.so.2(_ZN4cass10LoopThread15on_run_internalEPv+0x44)[0x7f275c14b9bc] /usr/local/lib/libuv.so.1(+0x13207)[0x7f275bdc1207] /lib64/libpthread.so.0(+0x7df5)[0x7f2762859df5] /lib64/libc.so.6(clone+0x6d)[0x7f27623501ad]
Hi, What the version of your FreeRadius? -- Jorge Pereira On Fri, Jun 12, 2015 at 10:32 AM, ICHIBA Sara <ichi.sara@gmail.com> wrote:
Hey there,
I'm getting this error while trying to do radiusd -X:
*** Error in `radiusd': free(): invalid next size (normal): 0x00007f2754001d10 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7d1fd)[0x7f27622d71fd]
/lib64/libstdc++.so.6(_ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev+0xdc)[0x7f275bb41f9c]
/usr/local/lib64/libcassandra.so.2(_ZNK4cass7Address9to_stringEb+0x223)[0x7f275c0e7383]
/usr/local/lib64/libcassandra.so.2(_ZN4cass10ConnectionC1EP9uv_loop_sRKNS_6ConfigEPNS_7MetricsERKNS_7AddressERKSsiPNS0_8ListenerE+0x1b1)[0x7f275c0f6ba3]
/usr/local/lib64/libcassandra.so.2(_ZN4cass17ControlConnection9reconnectEb+0x19e)[0x7f275c10041a]
/usr/local/lib64/libcassandra.so.2(_ZN4cass17ControlConnection7connectEPNS_7SessionE+0xc9)[0x7f275c1001b9]
/usr/local/lib64/libcassandra.so.2(_ZN4cass7Session16internal_connectEv+0x8f)[0x7f275c14a075]
/usr/local/lib64/libcassandra.so.2(_ZN4cass7Session10on_resolveEPNS_8ResolverE+0xf3)[0x7f275c14a957]
/usr/local/lib64/libcassandra.so.2(_ZN4cass8Resolver10on_resolveEP16uv_getaddrinfo_siP8addrinfo+0x8c)[0x7f275c14d3a1] /usr/local/lib/libuv.so.1(+0x7998)[0x7f275bdb5998] /usr/local/lib/libuv.so.1(+0x953d)[0x7f275bdb753d] /usr/local/lib/libuv.so.1(+0x95de)[0x7f275bdb75de] /usr/local/lib/libuv.so.1(+0x15fdc)[0x7f275bdc3fdc] /usr/local/lib/libuv.so.1(uv_run+0xe7)[0x7f275bdb7de7]
/usr/local/lib64/libcassandra.so.2(_ZN4cass10LoopThread15on_run_internalEPv+0x44)[0x7f275c14b9bc] /usr/local/lib/libuv.so.1(+0x13207)[0x7f275bdc1207] /lib64/libpthread.so.0(+0x7df5)[0x7f2762859df5] /lib64/libc.so.6(clone+0x6d)[0x7f27623501ad] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I'm using freeradius 3.0.8 To Arran: I know it's no yet a supported module. Still, There's no harm doing some tests. 2015-06-12 15:32 GMT+02:00 ICHIBA Sara <ichi.sara@gmail.com>:
Hey there,
I'm getting this error while trying to do radiusd -X:
*** Error in `radiusd': free(): invalid next size (normal): 0x00007f2754001d10 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7d1fd)[0x7f27622d71fd]
/lib64/libstdc++.so.6(_ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev+0xdc)[0x7f275bb41f9c]
/usr/local/lib64/libcassandra.so.2(_ZNK4cass7Address9to_stringEb+0x223)[0x7f275c0e7383]
/usr/local/lib64/libcassandra.so.2(_ZN4cass10ConnectionC1EP9uv_loop_sRKNS_6ConfigEPNS_7MetricsERKNS_7AddressERKSsiPNS0_8ListenerE+0x1b1)[0x7f275c0f6ba3]
/usr/local/lib64/libcassandra.so.2(_ZN4cass17ControlConnection9reconnectEb+0x19e)[0x7f275c10041a]
/usr/local/lib64/libcassandra.so.2(_ZN4cass17ControlConnection7connectEPNS_7SessionE+0xc9)[0x7f275c1001b9]
/usr/local/lib64/libcassandra.so.2(_ZN4cass7Session16internal_connectEv+0x8f)[0x7f275c14a075]
/usr/local/lib64/libcassandra.so.2(_ZN4cass7Session10on_resolveEPNS_8ResolverE+0xf3)[0x7f275c14a957]
/usr/local/lib64/libcassandra.so.2(_ZN4cass8Resolver10on_resolveEP16uv_getaddrinfo_siP8addrinfo+0x8c)[0x7f275c14d3a1] /usr/local/lib/libuv.so.1(+0x7998)[0x7f275bdb5998] /usr/local/lib/libuv.so.1(+0x953d)[0x7f275bdb753d] /usr/local/lib/libuv.so.1(+0x95de)[0x7f275bdb75de] /usr/local/lib/libuv.so.1(+0x15fdc)[0x7f275bdc3fdc] /usr/local/lib/libuv.so.1(uv_run+0xe7)[0x7f275bdb7de7]
/usr/local/lib64/libcassandra.so.2(_ZN4cass10LoopThread15on_run_internalEPv+0x44)[0x7f275c14b9bc] /usr/local/lib/libuv.so.1(+0x13207)[0x7f275bdc1207] /lib64/libpthread.so.0(+0x7df5)[0x7f2762859df5] /lib64/libc.so.6(clone+0x6d)[0x7f27623501ad]
On Jun 12, 2015, at 9:55 AM, ICHIBA Sara <ichi.sara@gmail.com> wrote:
I'm using freeradius 3.0.8
To Arran: I know it's no yet a supported module. Still, There's no harm doing some tests.
Not everyone will have been following the other thread, and may waste time responding to you. The backtrace there is useless, it doesn't show enough of the stack to see where the call to the libcassandra function was, or any of the arguments. You need to run the server under gdb, and use 'bt' to get the full backtrace. Except if you did that now, the debug output would still be useless, because all the line numbers will change when I clean up the code. Hence the request for patience. -Arran
On Jun 12, 2015, at 11:07 AM, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On Jun 12, 2015, at 9:55 AM, ICHIBA Sara <ichi.sara@gmail.com> wrote:
I'm using freeradius 3.0.8
To Arran: I know it's no yet a supported module. Still, There's no harm doing some tests.
Not everyone will have been following the other thread, and may waste time responding to you.
The backtrace there is useless, it doesn't show enough of the stack to see where the call to the libcassandra function was, or any of the arguments.
You need to run the server under gdb, and use 'bt' to get the full backtrace.
Except if you did that now, the debug output would still be useless, because all the line numbers will change when I clean up the code.
Hence the request for patience.
Right, it's in the v3.1.x branch. If you still get the error with this version, please provide a proper GDB backtrace and i'll look into it. -Arran
hey, Thank you for merging the cassandra module. After compilation the server seems to be fine. I mean I no longer see the same error as the last time. I can't find the sql.conf which was included in the original gist and I don't know how to make freeradius use my cassandra servers. 2015-06-12 23:40 GMT+02:00 Arran Cudbard-Bell <a.cudbardb@freeradius.org>:
On Jun 12, 2015, at 11:07 AM, Arran Cudbard-Bell < a.cudbardb@freeradius.org> wrote:
On Jun 12, 2015, at 9:55 AM, ICHIBA Sara <ichi.sara@gmail.com> wrote:
I'm using freeradius 3.0.8
To Arran: I know it's no yet a supported module. Still, There's no harm doing some tests.
Not everyone will have been following the other thread, and may waste time responding to you.
The backtrace there is useless, it doesn't show enough of the stack to see where the call to the libcassandra function was, or any of the arguments.
You need to run the server under gdb, and use 'bt' to get the full backtrace.
Except if you did that now, the debug output would still be useless, because all the line numbers will change when I clean up the code.
Hence the request for patience.
Right, it's in the v3.1.x branch. If you still get the error with this version, please provide a proper GDB backtrace and i'll look into it.
-Arran
On Jun 15, 2015, at 5:42 AM, ICHIBA Sara <ichi.sara@gmail.com> wrote:
Thank you for merging the cassandra module. After compilation the server seems to be fine. I mean I no longer see the same error as the last time. I can't find the sql.conf which was included in the original gist and I don't know how to make freeradius use my cassandra servers.
You configure the "sql" module. See raddb/mods-available/sql Alan DeKok.
participants (4)
-
Alan DeKok -
Arran Cudbard-Bell -
ICHIBA Sara -
Jorge Pereira