Subject: kernel diagnostic assertion "p->p_refcnt > 0" failed
To: None <tech-kern@netbsd.org>
From: David Young <dyoung@pobox.com>
List: tech-kern
Date: 04/04/2007 02:53:03
I just saw this panic on a NetBSD/evbmips (ADM5120) box, running -current
from just a few weeks ago.  I expect the "out of swap" messages, however,
I do not expect the panic:

UVM: pid 1169 (cron), uid 0 killed: out of swap
UVM: pid 12825 (cron), uid 0 killed: out of swap
UVM: pid 4495 (sh), uid 0 killed: out of swap
UVM: pid 4196 (sh), uid 0 killed: out of swap
UVM: pid 1745 (sh), uid 0 killed: out of swap
UVM: pid 7030 (sed), uid 0 killed: out of swap
UVM: pid 2452 (kill), uid 0 killed: out of swap
UVM: pid 8289 (date), uid 0 killed: out of swap
panic: kernel diagnostic assertion "p->p_refcnt > 0" failed: file "/u3/dyoung/pristine-nbsd/src/sys/kern/kern_proc.c", line 1432

The box is still in the debugger.  Let me know if there is any information
I can extract to aid the diagnosis before I reboot.  I will reboot about
10 to 12 hours from now.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933