From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 27 03:00:45 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 213B616A4CE for ; Wed, 27 Oct 2004 03:00:45 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA1B343D46 for ; Wed, 27 Oct 2004 03:00:44 +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 i9R30iAr049240 for ; Wed, 27 Oct 2004 03:00:44 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9R30i5d049239; Wed, 27 Oct 2004 03:00:44 GMT (envelope-from gnats) Date: Wed, 27 Oct 2004 03:00:44 GMT Message-Id: <200410270300.i9R30i5d049239@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: Wed, 27 Oct 2004 03:00:45 -0000 The following reply was made to PR kern/72979; it has been noted by GNATS. From: Ken Smith To: David Xu Cc: 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: Tue, 26 Oct 2004 22:53:05 -0400 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 26, 2004 at 07:11:54PM +0800, David Xu wrote: > Mikhail Teterin wrote: >=20 > >David, would you take a look at this? Some apps sometimes end up=20 > >unkillable: > > > >http://www.freebsd.org/cgi/query-pr.cgi?pr=3D72979 > > > >If you provide an encouraging answer quick enough, we may even be able t= o=20 > >persuade re@ to hold the release long enough for you to fix it. Thanks! > > > >-mi > > > I had committed a change about 3 days ago, this might fix the problem,=20 > can you > try ? >=20 > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_exit.c.diff?r1=3D= 1.250&r2=3D1.251&f=3Dh >=20 > David Xu David, I think I have successfully tested your fix. Even if it doesn't wind up fixing these problems it does fix something that shouldn't happen. Please commit to RELENG_5 and RELENG_5_3. If you are too busy to do it can you let me know please? I'll do it if you can't. We're making progress on the other big show-stopper problem and might have a resolution to that as early as tomorrow (if a patch doesn't work at least we know the root cause of a hang and can tell people how to avoid it; but a patch that might fix the cause of the hang is being tested). We're thinking about doing a mini-RC2 just to test out these things and hopefully be ready to re-roll the release when the conference is over and people return home. Knowing the fix it's trivially easy to do something that should not happen: % gdb prog # can be anything gdb> break main gdb> run gdb> ^Z % ps % kill Process for prog will be left behind and can't be killed. With David's patch process for prog dies along with gdb. Thanks... --=20 Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (SunOS) iD8DBQFBfw2O/G14VSmup/YRAm65AJwLdHfdSQJF5PN82MMyfa01nTknzQCffcGW EdNmGeogzX6PaOT2e/vJBfc= =GcZV -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--