Date: Thu, 15 Jan 2004 11:06:45 -0700 From: Scott Long <scottl@freebsd.org> To: "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu> Cc: Dag-Erling Smorgrav <des@freebsd.org> Subject: Re: Panic with this morning's (~9am EDT, 15 jan 2004) sources. Message-ID: <4006D6B5.3050601@freebsd.org> In-Reply-To: <EE3D3FBAFFCAED448C21C398FDAD91AC0108D4@EBE1.gc.nat>
index | next in thread | previous in thread | raw e-mail
Robin P. Blanchard wrote:
> real memory = 536608768 (511 MB)
> avail memory = 519680000 (495 MB)
> malloc() of "256" with the following non-sleepable locks held:
> exclusive sleep mutex filedesc structure r = 0 (0xc06a90b8) locked @
> /usr/src/sys/kern/kern_fork.c:421
> Debugger("witness_warn")
> Stopped at Debugger+0x55: xchgl %ebx,in_Debugger.0
> db> show locks
> exclusive sleep mutex filedesc structure r = 0 (0xc06a90b8) locked @
> /usr/src/sys/kern/kern_fork.c:421
> exclusive sleep mutex Giant r = 1 (0xc06ac4e0) locked @
> /usr/src/sys/kern/kern_fork.c:218
> db> tr
> Debugger(c063c29e,c0821c68,1,0,4) at Debugger+0x55
> witness_warn(5,0,c066ddf1,c0663bda,c0821c88) at witness_warn+0x19f
> uma_zalloc_arg(c0c30c40,0,102,0,c0c30c40) at uma_zalloc_arg+0x34
> malloc(cc,c0684da0,102,c06a90b8,a) at malloc+0x55
> fdinit(c06a9080,8,c065e900,1a5,a) at fdinit+0x27
> fdcopy(c06a9080,0,c065e900,1a5,c0685884) at fdcopy+0x21
> fork1(c06a8cc0,60034,0,c0821d50,64) at fork1+0x61f
> kthread_create(c04f9890,0,0,40000,0,c065ed21) at kthread_create+0x48
> ktrace_init(0,81e000,81ec00,81e000,0) at ktrace_init+0xf5
> mi_startup() at mi_startup+0xb5
> begin() at begin+0x2c
> db>
This is likely due to the new fd allocation code. DES, can you please
enable WITNESS and INVARIANTS in your test system and fix this?
Scott
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4006D6B5.3050601>
