From owner-freebsd-bugs@FreeBSD.ORG Thu May 26 04:00:13 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E1A616A41C for ; Thu, 26 May 2005 04:00:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5868E43D49 for ; Thu, 26 May 2005 04:00:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4Q40Dei091769 for ; Thu, 26 May 2005 04:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4Q40DFF091767; Thu, 26 May 2005 04:00:13 GMT (envelope-from gnats) Date: Thu, 26 May 2005 04:00:13 GMT Message-Id: <200505260400.j4Q40DFF091767@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: David Xu Cc: Subject: RE: gnu/77818: GDB locks in wait4() when running applications X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Xu List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 04:00:13 -0000 The following reply was made to PR gnu/77818; it has been noted by GNATS. From: David Xu To: =?UTF-8?B?IlNlw6FuIEMuIEZhcmxleSI=?= 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