assert on listen.c:565

Joe Maimon jmaimon at
Mon Nov 28 21:49:59 CET 2005

Alan DeKok wrote:

> Joe Maimon <jmaimon at> wrote:
> ...
>   The simple solution, I think, is to delete the assertion that
> "request->listener == listener".  This fails after a HUP, when the
> listener is re-allocated.

My issue happened well after any HUPS were sent.

>   Hmm... this highlights a serious bug.  The listener should NEVER be
> re-allocated, because it's being pointed to from live requests.

Hours after a hup? Or should listeners contain a reference count?

> Therefore, the code in listen.c shouldn't allocate a new listener, but
> should instead yank the old one from the old list.

Except if the listen configuration changes.

>   Alan DeKok.
> - 
> List info/subscribe/unsubscribe? See

More information about the Freeradius-Devel mailing list