Date: Thu, 26 May 2005 04:00:13 GMT From: David Xu <davidxu@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: RE: gnu/77818: GDB locks in wait4() when running applications Message-ID: <200505260400.j4Q40DFF091767@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/77818; it has been noted by GNATS. From: David Xu <davidxu@freebsd.org> To: =?UTF-8?B?IlNlw6FuIEMuIEZhcmxleSI=?= <sean-freebsd@farley.org> Cc: bug-followup@freebsd.org Subject: RE: gnu/77818: GDB locks in wait4() when running applications Date: Thu, 26 May 2005 11:54:29 +0800 -----Original Message----- From: Se¨¢n C. Farley [mailto:sean-freebsd@farley.org] Sent: 2005年5月25日 23:41 To: David Xu Cc: bug-followup@freebsd.org Subject: Re: gnu/77818: GDB locks in wait4() when running applications >> The other problem is that nanosleep() is exiting immediately with a >> return of zero although the time to sleep has not passed. To see it >> do this, remove the BROKEN_NANOSLEEP_WITHIN_GDB definition at the top >> of the program and recompile. >> > > This is a long history bug, I believe it is still in RELENG_4. Now the > bug is in kern_sig.c: do_tdsignal(), when process is being debugged, a > masked signal can wake up a sleeping thread! that's why it is broken. Is it fixable? Should I open a PR for it, or is there one already? Seán -- sean-freebsd@farley.org ------------------------------- It is fixable, I am working on it. please keep this PR. David Xu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505260400.j4Q40DFF091767>