radeapclient crash in 3.1 - file not found.

Wegener, Norbert norbert.wegener at atos.net
Mon Jul 4 15:37:01 CEST 2016

Radeapclient in 3.1 seems to be  broken in the latest v3.1.x git.
It does not connect to the radius but crashes immediately. Using the same
datin file with radeapclient 3.0.11 the request is handled as expected.

Here gdb's output:

gdb ../freeradius-server-3.1.x/bin/radeapclient
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
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 "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ../freeradius-server-3.1.x/bin/radeapclient...done.
(gdb) set args  -x localhost auth testing123 -f datin
(gdb) run
Starting program: /home/dev/tests/freeradius-server-3.1.x/bin/radeapclient
-x localhost auth testing123 -f datin
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Loading input data...
Read 1 element(s) from input: datin
Loaded: 1 input element(s).
Adding new socket: src:, dst:
Added new socket: 5 (num sockets: 1)
Transaction: 0, sending packet: 0 (id: 160)...

Program received signal SIGABRT, Aborted.
0x00007ffff5eae067 in __GI_raise (sig=sig at entry=6) at
56	../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis
nicht gefunden.
(gdb) bt
#0  0x00007ffff5eae067 in __GI_raise (sig=sig at entry=6) at
#1  0x00007ffff5eaf448 in __GI_abort () at abort.c:89
#2  0x00007ffff6ec889c in ?? () from
#3  0x00007ffff6ec801f in ?? () from
#4  0x00007ffff6ec89fa in talloc_get_size () from
#5  0x00007ffff7badf49 in fr_radius_sign (packet=0x911e00, original=0x0,
secret=0x7fffffffe868 "testing123") at src/lib/radius.c:475
#6  0x00007ffff7bae115 in fr_radius_send (packet=0x911e00, original=0x0,
secret=0x7fffffffe868 "testing123") at src/lib/radius.c:551
#7  0x000000000040b293 in rc_send_one_packet (trans=0x911c40,
packet_p=0x911c58) at src/modules/rlm_eap/radeapclient.c:1404
#8  0x000000000040b3bc in rc_send_transaction_packet (trans=0x911c40,
packet_p=0x911c58) at src/modules/rlm_eap/radeapclient.c:1428
#9  0x000000000040c18d in rc_loop_start_transactions () at
#10 0x000000000040c1a7 in rc_main_loop () at
#11 0x000000000040d927 in main (argc=4, argv=0x7fffffffe5f0) at

Norbert Wegener

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5725 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20160704/ec0f6afb/attachment.bin>

More information about the Freeradius-Devel mailing list