From owner-freebsd-current@FreeBSD.ORG Fri Jan 16 06:39:15 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 12F2016A4CE for ; Fri, 16 Jan 2004 06:39:15 -0800 (PST) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EA7943D58 for ; Fri, 16 Jan 2004 06:39:13 -0800 (PST) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id 150C22840C7 for ; Fri, 16 Jan 2004 23:39:12 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [IPv6:2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id E83462840F5 for ; Fri, 16 Jan 2004 23:39:10 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [IPv6:2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id B72B11E4622 for ; Fri, 16 Jan 2004 23:39:10 +0900 (JST) Date: Fri, 16 Jan 2004 23:39:10 +0900 Message-ID: <7m1xq0rm9d.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: current@freebsd.org User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020531 X-Mailman-Approved-At: Fri, 16 Jan 2004 14:54:16 -0800 Subject: Sleeping on "stopevent" with non-sleepable locks held 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: Fri, 16 Jan 2004 14:39:15 -0000 At Fri, 16 Jan 2004 04:47:06 +0000 (UTC), Damian Gerow wrote: > newhost# truss -o snmpd.out snmpd -DALL -Lf snmpd.debug -f Grr, when I try to do above, I got a panic below. This is old (approx 2004-01-07) -current, so I'm not sure this was already fixed or not. I'm busy in these days for my real job, so I don't want to upgrade to the latest -current which looks unstable around fd... ----- Sleeping on "stopevent" with the following non-sleepable locks held: exclusive sleep mutex sigacts r = 0 (0xd1948aa8) locked @ kern/subr_trap.c:260 lock order reversal 1st 0xd1948aa8 sigacts (sigacts) @ kern/subr_trap.c:260 2nd 0xce5ade2c process lock (process lock) @ kern/kern_synch.c:309 Stack backtrace: backtrace(c0735ad3,ce5ade2c,c0731cdb,c0731cdb,c0732d51) at backtrace+0x17 witness_lock(ce5ade2c,8,c0732d51,135,ce5ade2c) at witness_lock+0x672 _mtx_lock_flags(ce5ade2c,0,c0732d48,135,ffffffff) at _mtx_lock_flags+0xba msleep(ce5adef0,ce5ade2c,5c,c07362ca,0) at msleep+0x794 stopevent(ce5addc0,2,2,823,c07b3120) at stopevent+0x85 issignal(ce5ae930,2,c0732857,bd,1) at issignal+0x168 cursig(ce5ae930,0,c0735222,104,8052000) at cursig+0xe8 ast(ea1bed48) at ast+0x4b0 doreti_ast() at doreti_ast+0x17 Sleeping on "stopevent" with the following non-sleepable locks held: exclusive sleep mutex sigacts r = 0 (0xd1948aa8) locked @ kern/subr_trap.c:260 Sleeping on "stopevent" with the following non-sleepable locks held: exclusive sleep mutex sigacts r = 0 (0xc8169aa8) locked @ kern/subr_trap.c:260 panic: sleeping thread (pid 54512) owns a non-sleepable lock cpuid = 1; Debugger("panic") -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project