Re: 2.1.x 34c68ba8: freebsd 7.x: segfault/internal error in select()

2011-06-23 Thread Russell Jackson
On 06/21/2011 12:07 AM, Alan DeKok wrote: Russell Jackson wrote: I'm getting a segfault on exit after logging this to syslog: ... I suspected that tv_usec needs to be< USEC, so I kluged the code to subtract 1 from when.tv_usec if it's>= USEC. So far, I haven't had any more crashes. Commit d8

Re: 2.1.x 34c68ba8: freebsd 7.x: segfault/internal error in select()

2011-06-21 Thread Alan DeKok
Russell Jackson wrote: > I'm getting a segfault on exit after logging this to syslog: ... > I suspected that tv_usec needs to be < USEC, so I kluged the code to > subtract 1 from when.tv_usec if it's >= USEC. So far, I haven't had any > more crashes. > > Commit d8084182 seems to be when this code

Re: 2.1.x 34c68ba8: freebsd 7.x: segfault/internal error in select()

2011-06-20 Thread Russell Jackson
On 06/20/2011 04:56 PM, Russell Jackson wrote: > I'm getting a segfault on exit after logging this to syslog: > > Exiting due to internal error: Failed in select: Invalid argument > kernel: pid 87513 (radiusd), uid 133: exited on signal 11 > > select(2) indicates that EINVAL is returned when the

Re: 2.1.x 34c68ba8: freebsd 7.x: segfault/internal error in select()

2011-06-20 Thread Russell Jackson
On 06/20/2011 05:03 PM, Russell Jackson wrote: > On 06/20/2011 04:56 PM, Russell Jackson wrote: >> I'm getting a segfault on exit after logging this to syslog: >> >> Exiting due to internal error: Failed in select: Invalid argument >> kernel: pid 87513 (radiusd), uid 133: exited on signal 11 >> >

Re: 2.1.x 34c68ba8: freebsd 7.x: segfault/internal error in select()

2011-06-20 Thread Russell Jackson
On 06/20/2011 04:56 PM, Russell Jackson wrote: > I'm getting a segfault on exit after logging this to syslog: > > Exiting due to internal error: Failed in select: Invalid argument > kernel: pid 87513 (radiusd), uid 133: exited on signal 11 > > select(2) indicates that EINVAL is returned when the

2.1.x 34c68ba8: freebsd 7.x: segfault/internal error in select()

2011-06-20 Thread Russell Jackson
I'm getting a segfault on exit after logging this to syslog: Exiting due to internal error: Failed in select: Invalid argument kernel: pid 87513 (radiusd), uid 133: exited on signal 11 select(2) indicates that EINVAL is returned when the timeout is invalid (being negative or too large). I modifie