Assertion failed in listen.c, line 621

Guilherme Franco guilhermefranco at gmail.com
Sat Dec 9 19:31:13 CET 2006


Hello,

I did a "set follow-fork-mode child" in gdb now but then, there's no
assertion failed!

The "radiusd" child process keeps running now but no one can authenticate:

[foo at foo tmp]# cat /usr/local/var/log/radius/radius.log
Sat Dec  9 15:47:02 2006 : Info: FreeRADIUS Version 2.0.0-pre0, for
host x86_64-unknown-linux-gnu, built on Dec  3 2006 at 21:00:48
Sat Dec  9 15:47:02 2006 : Info: Starting - reading configuration files ...
Sat Dec  9 15:47:03 2006 : Info: rlm_sql (sql): Driver rlm_sql_oracle
(module rlm_sql_oracle) loaded and linked
Sat Dec  9 15:47:03 2006 : Info: rlm_sql (sql): Attempting to connect
to foo at 10.10.10.1:/(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.10.1)(PORT=1521))(CONNECT_DATA=(SID=DB_R)))
Sat Dec  9 15:47:03 2006 : Info: rlm_sql (sql_postgresql): Driver
rlm_sql_postgresql (module rlm_sql_postgresql) loaded and linked
Sat Dec  9 15:47:03 2006 : Info: rlm_sql (sql_postgresql): Attempting
to connect to foo at 10.10.10.2:/DB_R
Sat Dec  9 15:47:04 2006 : Info: Ready to process requests.
Sat Dec  9 15:47:52 2006 : Error: Discarding duplicate request from
client NAS-1 port 50000 - ID: 57 due to unfinished request 0
Sat Dec  9 15:47:58 2006 : Error: Discarding duplicate request from
client NAS-1 port 50000 - ID: 57 due to unfinished request 0
Sat Dec  9 15:48:04 2006 : Error: Discarding duplicate request from
client NAS-1 port 50000 - ID: 57 due to unfinished request 0
Sat Dec  9 15:48:16 2006 : Error: TIMEOUT for request 0 in module
<server core>, component <server core>
Sat Dec  9 15:48:23 2006 : Error: Discarding duplicate request from
client NAS-1 port 50000 - ID: 58 due to unfinished request 3
Sat Dec  9 15:48:29 2006 : Error: Discarding duplicate request from
client NAS-1 port 50000 - ID: 58 due to unfinished request 3
Sat Dec  9 15:48:35 2006 : Error: Discarding duplicate request from
client NAS-1 port 50000 - ID: 58 due to unfinished request 3
Sat Dec  9 15:48:40 2006 : Error: TIMEOUT for request 1 in module
<server core>, component <server core>
Sat Dec  9 15:48:46 2006 : Error: TIMEOUT for request 2 in module
<server core>, component <server core>
Sat Dec  9 15:48:47 2006 : Error: TIMEOUT for request 3 in module
<server core>, component <server core>
Sat Dec  9 15:49:19 2006 : Error: Discarding duplicate request from
client NAS-1 port 50000 - ID: 59 due to unfinished request 22

So:

Running "radiusd" alone, without gdb, generates "Assertion failed in
listen.c, line 621";

Running "radiusd" inside gdb generates no error, but does not works
(as shown in the logs);

Running "radiusd -X" alone or inside gdb works without any problems.

What might it be?

ps. Regarding the previous post, the "Assertion failed" occurs only
when the first packet is received.

Thanks you!



On 12/6/06, Alan DeKok <aland at deployingradius.com> wrote:
> Guilherme Franco wrote:
> > I'm not HUPing the server in any way, never.
>
>  Ok..
>
> > GDB output:
> >
> > Starting program: /usr/local/sbin/radiusd
> > [Thread debugging using libthread_db enabled]
> > [New Thread 182896328384 (LWP 31483)]
> > Detaching after fork from child process 31486.
> >
> > Program exited normally.
>
>  <sigh>  You've just printed out the GDB information from the server
> process that starts the daemon... which exits normally.
>
>  Please send the gdb information from the core file.  i.e. the program
> that is failing.
>
> > Wed Dec  6 20:33:09 2006 : Info: Ready to process requests.
> > Wed Dec  6 20:33:09 2006 : Error: Assertion failed in listen.c, line 621
>
>  Immediately?  Without ever receiving packets?  That's very weird...
>
>  Alan DeKok.
> --
>  http://deployingradius.com       - The web site of the book
>  http://deployingradius.com/blog/ - The blog
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>



More information about the Freeradius-Users mailing list