From owner-freebsd-current@FreeBSD.ORG Sat Sep 5 18:59:18 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47EC11065670 for ; Sat, 5 Sep 2009 18:59:18 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 23EFE8FC19 for ; Sat, 5 Sep 2009 18:59:18 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id E46368471; Sat, 5 Sep 2009 18:59:16 +0000 (UTC) Date: Sat, 5 Sep 2009 19:59:13 +0100 From: Bruce Cran To: current@freebsd.org, bzeeb+freebsd+lor@zabbadoz.net Message-ID: <20090905195913.0000358e@unknown> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: LOR: kern_exec.c and vfs_cache.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 05 Sep 2009 18:59:18 -0000 I got this LOR on 8.0-BETA3 when running pmcstat: lock order reversal: 1st 0xc55716a0 ufs (ufs) @ /usr/src/sys/kern/kern_exec.c:570 2nd 0xc98f5a2c filedesc structure (filedesc structure) @ /usr/src/sys/kern/vfs_cache.c:999 KDB: stack backtrace: db_trace_self_wrapper(c0c6be4a,e6b5494c,c08bd7f5,c08ae67b,c0c6ed1d,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c08ae67b,c0c6ed1d,c452f500,c452c1d0,e6b549a8,...) at kdb_backtrace+0x29 _witness_debugger(c0c6ed1d,c98f5a2c,c0c638c6,c452c1d0,c0c74e88,...) at _witness_debugger+0x25 witness_checkorder(c98f5a2c,1,c0c74e88,3e7,0,...) at witness_checkorder+0x839 _sx_slock(c98f5a2c,0,c0c74e88,3e7,c497a6c0,...) at _sx_slock+0x85 vn_fullpath(c497a6c0,c5571648,e6b54aa4,e6b54aa0,0,...) at vn_fullpath+0x74 pmc_getfilename(c0c60fc0,3,c497a6c0,e6b54a60,246,...) at pmc_getfilename+0x2e pmc_hook_handler(c497a6c0,1,e6b54c1c,318,c0c90edb,...) at pmc_hook_handler+0x279 kern_execve(c497a6c0,e6b54c58,0,283052a8,28305348,e164d000,e164d000,e164d020,e164d485,e168d000,3fb7b,3,24,0) at kern_execve+0xe1c execve(c497a6c0,e6b54cfc,c,c497a6c0,c0d4e474,...) at execve+0x4c syscall(e6b54d38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (59, FreeBSD ELF32, execve), eip = 0x28173eaf, esp = 0xbfbfe34c, ebp = 0xbfbfe378 --- -- Bruce Cran