Date: Thu, 4 Nov 2004 18:10:46 -0500 From: Marc Ramirez <marc.ramirez@bluecirclesoft.com> To: David Xu <davidxu@freebsd.org> Cc: Ken Smith <kensmith@cse.buffalo.edu> Subject: Re: [FreeBSD 5.3-RC2] Processes STILL hanging in unkillable state Message-ID: <200411041810.51412.marc.ramirez@bluecirclesoft.com> In-Reply-To: <418AAA53.5090403@freebsd.org> References: <200411020143.34251.gte990t@mail.gatech.edu> <200411041619.35640.marc.ramirez@bluecirclesoft.com> <418AAA53.5090403@freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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. 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 &= ~(P_STOPPED_SINGLE | P_SINGLE_EXIT); --- > p->p_flag &= ~(P_STOPPED_SINGLE | P_SINGLE_EXIT | P_SINGLE_BOUNDARY); Thanks! Marc. -- Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) http://www.bluecirclesoft.com http://www.mrami.com (personal) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBirb7g1EgpGw750IRAn/sAJ0f0xQ7S23ePuCyyRUdJ1ZpVdqbigCgqNzQ e9BZOcXt0sqRGaGoZ1MuYtE= =2EUL -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411041810.51412.marc.ramirez>
