Freeradius crash during EAP-TTLS authentication

Thomas Fagart tfagart at brozs.net
Thu Jun 28 15:32:00 CEST 2012


Hello,

After three month having stable situation, the ISP home servers has 
started again to loose packet and to have slow response time, then our 
freeradius proxies has began to crash again.

We've reproduced the crash with the Git version.

Here's the output that I got with gdb


Going to the next request
rad_recv: Accounting-Request packet from host X.X.X.X port 1812, id=124, 
length=520
Received conflicting packet from client bas-man72-02 port 1812 - ID: 124 
due to unfinished request 715241.  Giving up on old request.
ASSERT FAILED event.c[2773]: request->ev != NULL

Program received signal SIGABRT, Aborted.
[Switching to Thread 8012021c0 (LWP 100143)]
0x0000000800fb978c in kill () from /lib/libc.so.7
(gdb)


(gdb) thread apply all bt full

Thread 2 (Thread 8012021c0 (LWP 100143)):
#0  0x0000000800fb978c in kill () from /lib/libc.so.7
No symbol table info available.
#1  0x0000000800fb858b in abort () from /lib/libc.so.7
No symbol table info available.
#2  0x0000000000420cd4 in rad_assert_fail (file=Variable "file" is not 
available.
) at util.c:366
No locals.
#3  0x0000000000429d9a in received_request (listener=0x801fdcac0, 
packet=0x8051c1900, prequest=0x7fffffffe4d0, client=0x801fdaa80) at 
event.c:2773
         when = {tv_sec = 1340876260, tv_usec = 138114}
         packet_p = Variable "packet_p" is not available.

Is there enough information for this bug ?
Do you want me to get some more information ?

I can provide smokeping graphs that shows packet loss and slow response 
time (3 seconds)

Many thanks

Thomas


Le 29/03/2012 23:04, Thomas Fagart a écrit :
> Many thanks, I will test it when available.
>
>
> Thomas
>
> Le 28/03/2012 17:15, Alan DeKok a écrit :
>> Thomas Fagart wrote:
>>> Here's the debug output this happens specialy when we add a virtual
>>> server as a fallback server.
>>    OK... it looks like the proxy_reply doesn't exist.  I'll push a 
>> patch.
>>
>>    Alan DeKok.
>> -
>> List info/subscribe/unsubscribe? See 
>> http://www.freeradius.org/list/users.html
>
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list