NetBSD-Bugs archive

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

re: kern/45647: kill from ddb broken

> Trying to kill a process from ddb fails:
> db{1}> kill 0t507
> Skipping crash dump on recursive panic
> panic: kernel diagnostic assertion "mutex_owned(proc_lock)" failed: file 
> "../../../../kern/kern_proc.c", line 590 

this is non trivial to solve.

simply taking proc_lock (and more!) isn't going to work if some cpu
was stopped mid-lock of these.

perhaps a solution would be to have ddb create a thread that will go
away that will send the signal asap...


Home | Main Index | Thread Index | Old Index