From owner-freebsd-current@FreeBSD.ORG Thu Nov 4 23:11:02 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE81B16A4D0; Thu, 4 Nov 2004 23:11:02 +0000 (GMT) Received: from ms-smtp-01-eri0.ohiordc.rr.com (ms-smtp-01-smtplb.ohiordc.rr.com [65.24.5.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AC2443D55; Thu, 4 Nov 2004 23:11:02 +0000 (GMT) (envelope-from marc.ramirez@bluecirclesoft.com) Received: from www.bluecirclesoft.com (cpe-024-165-114-048.cinci.rr.com [24.165.114.48])iA4NAulv019395; Thu, 4 Nov 2004 18:10:56 -0500 (EST) Received: from www.bluecirclesoft.com (localhost [127.0.0.1]) iA4NAtrX004507; Thu, 4 Nov 2004 18:10:55 -0500 (EST) (envelope-from marc.ramirez@bluecirclesoft.com) Received: from localhost (localhost [[UNIX: localhost]]) by www.bluecirclesoft.com (8.12.11/8.12.11/Submit) id iA4NAtfl004506; Thu, 4 Nov 2004 18:10:55 -0500 (EST) (envelope-from marc.ramirez@bluecirclesoft.com) X-Authentication-Warning: www.bluecirclesoft.com: mrami set sender to marc.ramirez@bluecirclesoft.com using -f From: Marc Ramirez Organization: Blue Circle Software Corp. To: David Xu Date: Thu, 4 Nov 2004 18:10:46 -0500 User-Agent: KMail/1.7 References: <200411020143.34251.gte990t@mail.gatech.edu> <200411041619.35640.marc.ramirez@bluecirclesoft.com> <418AAA53.5090403@freebsd.org> In-Reply-To: <418AAA53.5090403@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5091576.RocQ7Ioa8r"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411041810.51412.marc.ramirez@bluecirclesoft.com> X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-current@freebsd.org cc: re@freebsd.org cc: Julian Elischer cc: Ken Smith Subject: Re: [FreeBSD 5.3-RC2] Processes STILL hanging in unkillable state X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 23:11:02 -0000 --nextPart5091576.RocQ7Ioa8r Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 04 November 2004 05:16 pm, David Xu wrote: > > I have committed a fix, can you try ? > > >davidxu 2004-11-04 22:13:16 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/kern kern_thread.c > > Log: > > Don't forget to turn off P_SINGLE_BOUNDARY for > > thread_single(SINGLE_EXIT), otherwise a threaded process which calls > > execv() will hang in kernel and may can not be killed! > > > > Revision Changes Path > > 1.205 +1 -1 src/sys/kern/kern_thread.c I'm running RC2, so I back-ported your fix.=20 The problem still exists. Here's my diff, you can check to make sure I didn't fat-finger anything: $ diff /usr/src/sys/kern/kern_thread.c~ /usr/src/sys/kern/kern_thread.c 883c883 < p->p_flag &=3D ~(P_STOPPED_SINGLE | P_SINGLE_EXIT); =2D-- > p->p_flag &=3D ~(P_STOPPED_SINGLE | P_SINGLE_EXIT | P_SINGL= E_BOUNDARY); Thanks! Marc. =2D-=20 Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) http://www.bluecirclesoft.com http://www.mrami.com (personal) --nextPart5091576.RocQ7Ioa8r Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBirb7g1EgpGw750IRAn/sAJ0f0xQ7S23ePuCyyRUdJ1ZpVdqbigCgqNzQ e9BZOcXt0sqRGaGoZ1MuYtE= =2EUL -----END PGP SIGNATURE----- --nextPart5091576.RocQ7Ioa8r--