Discussion:
Freeradius crash please help
(too old to reply)
8zero2 operations
2018-12-09 20:12:59 UTC
Permalink
Radius 3.0.17 crashes with

CONSISTENCY CHECK FAILED src/main/process.c[824]: Expected VALUE_PAIR
"Dynamic-QoS-Param" to be parented by 0x1c87c20 (RADIUS_PACKET), instead
parented by 0x1c87a70 (REQUEST)


Talloc chunk lineage:

0x1c87c20 (RADIUS_PACKET) < 0x1c87a70 (REQUEST) < 0x1c87860
(auth_listener_pool)

Talloc context level 0:

Talloc chunk lineage:

0x1c87a70 (REQUEST) < 0x1c87860 (auth_listener_pool)

Talloc context level 0:

SOFT ASSERT FAILED src/lib/pair.c[2437]: 0

CAUGHT SIGNAL: Aborted

Backtrace of last 17 frames:

/usr/local/lib/libfreeradius-radius.so(fr_fault+0x115)[0x7f08d5216801]

/usr/local/lib/libfreeradius-radius.so(fr_assert_cond+0x4c)[0x7f08d521728e]

/usr/local/lib/libfreeradius-radius.so(fr_pair_list_verify+0x11c)[0x7f08d522846d]

/usr/local/lib/libfreeradius-server.so(+0x24338)[0x7f08d5478338]

/usr/local/lib/libfreeradius-server.so(verify_request+0x124)[0x7f08d5478463]

radiusd[0x43c369]

radiusd[0x43d9d4]

radiusd[0x43dc84]

radiusd[0x43c970]

radiusd(request_receive+0x7c2)[0x43e4b1]

radiusd[0x41878e]

radiusd[0x4453f8]

/usr/local/lib/libfreeradius-radius.so(fr_event_loop+0x5a8)[0x7f08d523e3dc]

radiusd(radius_event_process+0x26)[0x4471d7]

radiusd(main+0xc77)[0x4313af]

/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f08d36833d5]

radiusd[0x40ee29]

No panic action set

Aborted


Regards,
Mail: ***@gmail.com
Facebook: www.facebook.com/8zero2
Twitter: @8zero2_in
Blog: blog.8zero2.in
-
List info/subscribe/unsubscribe? See http
Alan DeKok
2018-12-10 16:20:41 UTC
Permalink
Please help man, I have tried different OS different versions but this
crash problem doesnt leave, this is 3.0.x.
If this is still the "exec program + COA" problem, then we don't have a fix. I have been unable to reproduce it here, and I haven't had time to look at it in more detail.

About the only thing I can suggest is to run the server as:

radiusd -xxxx ... > log.txt

The log.txt file will be large, and 99% of it won't be relevant. But it *should* at some point print out an error. e.g. "X is parented by Y but it should be parented by Z"

That error, and the subsequent lines are useful. Everything before that is not important.

Alan DeKok.


-
List info/subscribe/unsubscribe? See ht
8zero2 operations
2018-12-11 05:27:20 UTC
Permalink
Hi Thanks a lot man for taking time to reply, really appreciate it.

I removed the exec + COA , Now i am printing the users to a file using
exec. and then a background script sends COAs.
- Spawning less threads kind of solves the problem.
I see some errors "Timeout waiting for child" for an exec(shell) script
which basically prints (time - 900 seconds). I tried to switch with a perl
script(exec), but it slows down authentications a lot.
I know this doesnt relate you but
this is the script :

date --date="$1 seconds" '+%Y-%m-%d %H:%M:%S'

$1 is the argument given
A question regarding this : Can I do something about this?


Regards,
Mail: ***@gmail.com
Facebook: www.facebook.com/8zero2
Twitter: @8zero2_in
Blog: blog.8zero2.in
Post by Alan DeKok
Please help man, I have tried different OS different versions but this
crash problem doesnt leave, this is 3.0.x.
If this is still the "exec program + COA" problem, then we don't have a
fix. I have been unable to reproduce it here, and I haven't had time to
look at it in more detail.
radiusd -xxxx ... > log.txt
The log.txt file will be large, and 99% of it won't be relevant. But it
*should* at some point print out an error. e.g. "X is parented by Y but it
should be parented by Z"
That error, and the subsequent lines are useful. Everything before that
is not important.
Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.fr

Loading...