Date: Thu, 20 Aug 2015 15:57:21 -0500 From: Mark Felder <feld@FreeBSD.org> To: Konstantin Belousov <kostikbel@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: pkg with an ssh repo crashes CURRENT Message-ID: <1440104241.949504.361678217.77B8AB2E@webmail.messagingengine.com> In-Reply-To: <1440102370.941813.361650057.269DD227@webmail.messagingengine.com> References: <1440014993.2793501.360634953.2FF3B076@webmail.messagingengine.com> <1440021176.3252738.360727753.7FEDAB82@webmail.messagingengine.com> <20150820115041.GU2072@kib.kiev.ua> <1440102370.941813.361650057.269DD227@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 20, 2015, at 15:26, Mark Felder wrote: > > > > diff --git a/sys/kern/kern_procctl.c b/sys/kern/kern_procctl.c > > index d65ba5a..8ef72901 100644 > > --- a/sys/kern/kern_procctl.c > > +++ b/sys/kern/kern_procctl.c > > @@ -187,8 +187,6 @@ reap_status(struct thread *td, struct proc *p, > > } > > } else { > > rs->rs_pid = -1; > > - KASSERT(LIST_EMPTY(&reap->p_reaplist), ("reap children > > list")); > > - KASSERT(LIST_EMPTY(&reap->p_children), ("children > > list")); > > } > > return (0); > > } > > I'll try compiling a kernel with your patch and see what happens. > I can confirm that this fixes the crashes.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1440104241.949504.361678217.77B8AB2E>