Re: Panic with this morning's (~9am EDT, 15 jan 2004) sources.

From: Scott Long <scottl_at_freebsd.org>
Date: Thu, 15 Jan 2004 11:06:45 -0700
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 _at_
> /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 _at_
> /usr/src/sys/kern/kern_fork.c:421
> exclusive sleep mutex Giant r = 1 (0xc06ac4e0) locked _at_
> /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
Received on Thu Jan 15 2004 - 09:08:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC