Date: Mon, 15 Feb 1999 17:33:43 +0000 From: Niall Smart <nsmart@kira.team400.ie> To: Erik E Rantapaa <rantapaa@uswest.net> Cc: hackers@FreeBSD.ORG Subject: Re: select() can set errno to ECHILD? Message-ID: <36C85A77.EDBC00F9@kira.team400.ie> References: <19990215015534.A20671@oss.uswest.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Erik E Rantapaa wrote: > > I have code running under 2.2.x which claims that this is happening. > This behaviour is not documented in the man pages. I have not been able to > duplicate it in a simple test program I wrote, but the log files for > a Merit RADIUS server say that it is happening. > > Is this at all possible? You are getting SIGCHLD while blocked in select, waitpid with WNOHANG in then handler returns ECHILD, the signal handler fails to restore errno. There was a similar bug in the rpc code a while back. Niall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36C85A77.EDBC00F9>