Date: Fri, 27 Jul 2001 14:51:57 +0100 From: Ian Dowse <iedowse@maths.tcd.ie> To: dillon@freebsd.org Cc: current@freebsd.org, stable@freebsd.org Subject: SIGCHLD changes causing fault on nofault entry panics Message-ID: <200107271451.aa00148@salmon.maths.tcd.ie>
next in thread | raw e-mail | index | archive | help
The panics in exit1() that have been reported on -stable appear to
be caused by these commits:
REV:1.92.2.4 kern_exit.c 2001/07/25 17:21:46 dillon
REV:1.72.2.7 kern_sig.c 2001/07/25 17:21:46 dillon
MFC kern_exit.c 1.131, kern_sig.c 1.125 - bring SIGCHLD SIG_IGN signal
handling in line with other operating systems.
These probably correspond to similar panics seen in -current, but I
haven't checked the details.
In the vmcore I just got, the panic occurred in the following
fragment in exit1(), when dereferencing p_sigacts (which is
p_procsig->ps_sigacts). I guess there is a race here if the parent
is exiting or something?
+ if ((p->p_pptr->p_procsig->ps_flag & PS_NOCLDWAIT)
+ || p->p_pptr->p_sigacts->ps_sigact[_SIG_IDX(SIGCHLD)] == SIG_IGN) {
Matt, I will just back out these changes from RELENG_4 shortly
until the issue is resolved. The change was non-essential and quite
contained, so it's probably better than waiting for a fix.
Ian
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107271451.aa00148>
