assert listen.c:573 in -s or -X mode
happens frequently if I am stepping through requests, infrequently if it is running w/o breakpoints SO i changed the code to this static int auth_socket_send(rad_listen_t *listener, REQUEST *request) { if(request->proxy_listener == listener) rad_assert(request->proxy_listener == listener); else { rad_assert(request->listener == listener); rad_assert(listener->send == auth_socket_send); } cause it appears that proxy send trips this. Thanks, Joe
Joe Maimon <jmaimon@ttec.com> wrote:
happens frequently if I am stepping through requests, infrequently if it is running w/o breakpoints
I suspect it's because the REQUEST structure is being cleaned up because you took too long in gdb (i.e. max_request_time). Set max_request_time to some ridiculously large value, and it shouldn't happen. Alan DeKok.
Alan DeKok wrote:
Joe Maimon <jmaimon@ttec.com> wrote:
happens frequently if I am stepping through requests, infrequently if it is running w/o breakpoints
I suspect it's because the REQUEST structure is being cleaned up because you took too long in gdb (i.e. max_request_time).
Set max_request_time to some ridiculously large value, and it shouldn't happen.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
So does this mean that I should not expect to run the (busy) server for any length of time in debugging mode without changing max_request_time? Joe
Joe Maimon <jmaimon@ttec.com> wrote:
So does this mean that I should not expect to run the (busy) server for any length of time in debugging mode without changing max_request_time?
FreeRADIUS debugging mode (-X) is *not* the same as running the server inside of gdb. When you're in gdb, stepping through requests or breakpoints, the server is stopped *dead* while you're at the gdb prompt. Setting max_request_time to a large value when using gdb will let you take your time typing in gdb commands, and the server won't clean up requests that have taken "too long". Alan DeKok.
participants (2)
-
Alan DeKok -
Joe Maimon