Re: Assertion failed in listen.c, line 621

This is a discussion on Re: Assertion failed in listen.c, line 621 within the FreeRADIUS Users forums, part of the Networking and Network Related category; Hello, I did a "set follow-fork-mode child" in gdb now but then, there's no assertion ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-09-2006
Guilherme Franco
 
Posts: n/a
Default Re: Assertion failed in listen.c, line 621

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@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@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@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@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
>

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0