Re: pkg with an ssh repo crashes CURRENT

From: Mark Felder <feld_at_FreeBSD.org>
Date: Thu, 20 Aug 2015 15:57:21 -0500
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
> > _at__at_ -187,8 +187,6 _at__at_ 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.
Received on Thu Aug 20 2015 - 18:57:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC