[FreeBSD 5.3-RC2] Processes STILL hanging in unkillable state
Marc Ramirez
marc.ramirez at bluecirclesoft.com
Thu Nov 4 15:11:02 PST 2004
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041104/89ef69fd/attachment.bin
More information about the freebsd-current
mailing list