pkg with an ssh repo crashes CURRENT

Mark Felder feld at FreeBSD.org
Thu Aug 20 20:57:23 UTC 2015



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.


More information about the freebsd-current mailing list