From owner-freebsd-current@FreeBSD.ORG Thu Jan 15 10:08:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 235B716A4CE for ; Thu, 15 Jan 2004 10:08:51 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 3B82B43D72 for ; Thu, 15 Jan 2004 10:08:35 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 46469 invoked by uid 1002); 15 Jan 2004 18:08:32 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 15 Jan 2004 18:08:32 -0000 Message-ID: <4006D6B5.3050601@freebsd.org> Date: Thu, 15 Jan 2004 11:06:45 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Robin P. Blanchard" References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: Dag-Erling Smorgrav Subject: Re: Panic with this morning's (~9am EDT, 15 jan 2004) sources. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 18:08:51 -0000 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