From owner-freebsd-bugs@FreeBSD.ORG Thu Oct 28 00:30:32 2004 Return-Path: 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 C967716A4CE for ; Thu, 28 Oct 2004 00:30:32 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B62AB43D2D for ; Thu, 28 Oct 2004 00:30:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9S0UWaf040001 for ; Thu, 28 Oct 2004 00:30:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9S0UWlZ039994; Thu, 28 Oct 2004 00:30:32 GMT (envelope-from gnats) Date: Thu, 28 Oct 2004 00:30:32 GMT Message-Id: <200410280030.i9S0UWlZ039994@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Ken Smith Subject: Re: kern/72979: unkillable process(es) stuck in `STOP' state X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ken Smith List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 00:30:32 -0000 The following reply was made to PR kern/72979; it has been noted by GNATS. From: Ken Smith To: David Xu Cc: Ken Smith , Mikhail Teterin , Michael Nottebrock , re@freebsd.org, davidxu@t2t2.com, davidxu@viatech.com.cn, freebsd-gnats-submit@freebsd.org Subject: Re: kern/72979: unkillable process(es) stuck in `STOP' state Date: Wed, 27 Oct 2004 20:24:02 -0400 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 28, 2004 at 07:19:57AM +0800, David Xu wrote: > P_STOPPED_SINGLE needn't be removed here, in fact, the flag should=20 > already be > turned off at this point, if the flag is still there, then there must be a > bug, thread_single(SINGLE_EXIT) should turn it off if it returns or thread > will exit in the function. > P_STOPPED_TRACE is cleared by debugger via PT_DETACH in sys_process.c, but > if debugger dies without chance to call ptrace(PT_DETACH), then exit1() m= ust > clear it. Thank you for the explanation. Please go ahead with the MFC of your patch as-is. I'm sorry to have been such a pain in the butt about this. If you have any questions let re@ know please. It can go to both RELENG_5 and RELENG_5_3 at this point. Thanks for all your help with this. --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (SunOS) iD8DBQFBgDwh/G14VSmup/YRAk6EAJsFckJuMDBworwYSIiLZQMaRhmyGwCeMdR1 KIMqigcun5omyj/Yjv8tZIA= =/P59 -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--