From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 15:09:34 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 3523E37B401; Mon, 11 Aug 2003 15:09:34 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-107-97.dsl.lsan03.pacbell.net [64.169.107.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2274543F85; Mon, 11 Aug 2003 15:09:33 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id B93B066B9B; Mon, 11 Aug 2003 15:09:32 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 9B217788; Mon, 11 Aug 2003 15:09:32 -0700 (PDT) Date: Mon, 11 Aug 2003 15:09:32 -0700 From: Kris Kennaway To: Kris Kennaway Message-ID: <20030811220932.GA43465@rot13.obsecurity.org> References: <20030809061112.GA4044@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <20030809061112.GA4044@rot13.obsecurity.org> User-Agent: Mutt/1.4.1i cc: current@freebsd.org cc: phk@FreeBSD.org Subject: Re: LOR with filedesc structure and Giant 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: Mon, 11 Aug 2003 22:09:34 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 08, 2003 at 11:11:12PM -0700, Kris Kennaway wrote: > Aug 9 11:29:50 dosirak kernel: lock order reversal > Aug 9 11:29:50 dosirak kernel: 1st 0xcf3fa334 filedesc structure (filede= sc structure) @ kern/sys_generic.c:895 > Aug 9 11:29:50 dosirak kernel: 2nd 0xc070a8e0 Giant (Giant) @ fs/specfs/= spec_vnops.c:372 > Aug 9 11:29:50 dosirak kernel: Stack backtrace: >=20 > And that's it (i.e. no backtrace is recorded). I got this on another machine: lock order reversal 1st 0xc3d25134 filedesc structure (filedesc structure) @ /a/asami/portbuil= d/i386/src-client/sys/kern/sys_generic.c:902 2nd 0xc04aa500 Giant (Giant) @ /a/asami/portbuild/i386/src-client/sys/fs/s= pecfs/spec_vnops.c:372 Stack backtrace: backtrace(c043db3b,c04aa500,c043a130,c043a130,c04354a7) at backtrace+0x17 witness_lock(c04aa500,8,c04354a7,174,1be) at witness_lock+0x672 _mtx_lock_flags(c04aa500,0,c04354a7,174,c043e146) at _mtx_lock_flags+0xba spec_poll(ce655af8,ce655b18,c02d152c,ce655af8,c0493d80) at spec_poll+0x134 spec_vnoperate(ce655af8,c0493d80,c35485b4,40,c42f6800) at spec_vnoperate+0x= 18 vn_poll(c26abe58,40,c42f6800,c3087720,c42f6800) at vn_poll+0x3c selscan(c3087720,ce655b98,ce655b88,6,4) at selscan+0x13e kern_select(c3087720,6,bfbff5b0,0,0) at kern_select+0x36f select(c3087720,ce655d10,c0455f34,3ee,5) at select+0x66 syscall(2f,2f,2f,8055050,bfbff5a8) at syscall+0x273 Xint0x80_syscall() at Xint0x80_syscall+0x1d Kris --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/OBQcWry0BWjoQKURAsWjAKDM1XNWer5gsASrxxFOmfdWJcT+5gCgkPbx QycTQqt4tx9JVVpmVs8hG0k= =pWMi -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--