Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic: kernel diagnostic assertion "l == curlwp"



> On Jun 6, 2020, at 10:19 AM, Jared McNeill <jmcneill%invisible.ca@localhost> wrote:
> 
> On Sat, 6 Jun 2020, Jason Thorpe wrote:
> 
>> 
>>> On Jun 6, 2020, at 9:21 AM, Jared McNeill <jmcneill%invisible.ca@localhost> wrote:
>>> 
>>> KASSERT-aside, I am left wondering based on that stack trace how copyout on aarch64 can fail here at all (that seems to be the only way that lwp_exit from sys__lwp_create can happen).
>> 
>> What were you doing at the time?  I guess obviously running a program that uses pthreads...
> 
> pkgsrc bulk build, so ¯\_(ツ)_/¯

Well, at the very least we should make a unit test for _lwp_create(2) that exercises the error path :-)

-- thorpej



Home | Main Index | Thread Index | Old Index