From owner-freebsd-current@FreeBSD.ORG Thu Jun 5 10:34:53 2003 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 7A21E37B401 for ; Thu, 5 Jun 2003 10:34:53 -0700 (PDT) Received: from ns2.gnf.org (ns2.gnf.org [63.196.132.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FF3843F75 for ; Thu, 5 Jun 2003 10:34:51 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: from EXCHCLUSTER01.lj.gnf.org (exch01.lj.gnf.org [172.25.10.19]) by ns2.gnf.org (8.12.8p1/8.12.8) with ESMTP id h55HYmRo077243 for ; Thu, 5 Jun 2003 10:34:48 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: from roark.gnf.org ([172.25.24.15]) by EXCHCLUSTER01.lj.gnf.org with Microsoft SMTPSVC(5.0.2195.5329); Thu, 5 Jun 2003 10:34:49 -0700 Received: from roark.gnf.org (localhost [127.0.0.1]) by roark.gnf.org (8.12.9/8.12.9) with ESMTP id h55HYnNb009137 for ; Thu, 5 Jun 2003 10:34:49 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: (from gtetlow@localhost) by roark.gnf.org (8.12.9/8.12.9/Submit) id h55HYnL4009136 for current@FreeBSD.org; Thu, 5 Jun 2003 10:34:49 -0700 (PDT) Date: Thu, 5 Jun 2003 10:34:48 -0700 From: Gordon Tetlow To: current@FreeBSD.org Message-ID: <20030605173448.GV691@roark.gnf.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3jK+0sHr6j/jwA0V" Content-Disposition: inline User-Agent: Mutt/1.4i X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-OriginalArrivalTime: 05 Jun 2003 17:34:50.0042 (UTC) FILETIME=[C40081A0:01C32B88] Subject: LOR in kern_thread.c 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, 05 Jun 2003 17:34:53 -0000 --3jK+0sHr6j/jwA0V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I was playing with libkse and got the follow LOR: lock order reversal 1st 0xc6ce0aa8 sigacts (sigacts) @ /local/usr.src/sys/kern/subr_trap.c:248 2nd 0xc6cbc250 process lock (process lock) @ /local/usr.src/sys/kern/kern_threa d.c:1439 Stack backtrace: backtrace(c04fd0b6,c6cbc250,c04f9a3a,c04f9a3a,c04fae7a) at backtrace+0x17 witness_lock(c6cbc250,8,c04fae7a,59f,c6bb8130) at witness_lock+0x692 _mtx_lock_flags(c6cbc250,0,c04fae7a,59f,c6cbc1e4,2,0,0,0) at _mtx_lock_flags+0xb 2 thread_signal_add(c6bb8130,2,c04fa4c7,85e,280a1e20) at thread_signal_add+0xe1 postsig(2,0,c04fcb3a,f8,20800) at postsig+0x34f ast(e98d9d48) at ast+0x41d doreti_ast() at doreti_ast+0x17 -gordon --3jK+0sHr6j/jwA0V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+3384Ru2t9DV9ZfsRAsH2AKCuGWNfclArlzXN9Q5SDSY13+CaVgCfWxvW Oc0nDKuu7KSS/f5y8mFEMBU= =sdYm -----END PGP SIGNATURE----- --3jK+0sHr6j/jwA0V--