NetBSD-Bugs archive

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

re: kern/45647: kill from ddb broken

The following reply was made to PR kern/45647; it has been noted by GNATS.

From: matthew green <>
Subject: re: kern/45647: kill from ddb broken
Date: Thu, 01 Dec 2011 15:42:50 +1100

 > 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