Crash in 3.1 git

Wegener, Norbert norbert.wegener at
Wed Jun 29 16:08:24 CEST 2016

This morning I got the sources via:

$ git clone
$ cd freeradius-server
$ git checkout -b v3.1.x origin/v3.1.x

 I  built and configured the server, it starts fine. When receiving a request from a radtest client it crashes.
"Datei oder Verzeichnis nicht gefunden" means "File not found".

Here is what gdb outputs:

(gdb) set args -X
(gdb) run
Ready to process requests
ASSERT FAILED src/main/process.c[1843]: request->server_cs != NULL

Program received signal SIGABRT, Aborted.
0x00007ffff647d79b in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
37    ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x00007ffff647d79b in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1  0x00007ffff794c40e in fr_fault (sig=6) at src/lib/debug.c:650
#2  0x00007ffff7bbb77c in rad_assert_fail (file=0x475202 "src/main/process.c", line=1843,
    expr=0x475adf "request->server_cs != NULL") at src/main/util.c:468
#3  0x000000000044756d in request_setup (ctx=0xeeb9e0, listener=0x9e97b0, packet=0xeeba40, client=0xd418b0,
    fun=0x410f10 <rad_authenticate>) at src/main/process.c:1843
#4  0x00000000004471fb in request_receive (ctx=0xeeb9e0, listener=0x9e97b0, packet=0xeeba40, client=0xd418b0,
    fun=0x410f10 <rad_authenticate>) at src/main/process.c:1740
#5  0x000000000041f64c in auth_socket_recv (listener=0x9e97b0) at src/main/listen.c:1906
#6  0x000000000044e752 in event_socket_handler (xel=0xedd4c0, fd=55, ctx=0x9e97b0) at src/main/process.c:4563
#7  0x00007ffff7977905 in fr_event_loop (el=0xedd4c0) at src/lib/event.c:636
#8  0x00000000004506ad in radius_event_process () at src/main/process.c:5458
#9  0x0000000000434d62 in main (argc=2, argv=0x7fffffffe618) at src/main/radiusd.c:584

Norbert Wegener

More information about the Freeradius-Users mailing list