From owner-freebsd-current@FreeBSD.ORG Mon Sep 19 12:57:37 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 D1C3C16A41F for ; Mon, 19 Sep 2005 12:57:37 +0000 (GMT) (envelope-from gkozyrev@ukr.net) Received: from computer.ukrsat.com (computer.ukrsat.com [212.35.160.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABDB043D46 for ; Mon, 19 Sep 2005 12:57:35 +0000 (GMT) (envelope-from gkozyrev@ukr.net) Received: from gleb.kozyrev.name (juli.slnet.kiev.ua [195.49.149.86]) by computer.ukrsat.com (8.12.8/8.12.8) with SMTP id j8JCkiGr025323 for ; Mon, 19 Sep 2005 15:46:50 +0300 Received: from Gleb ([127.0.0.1]) by Gleb (192.168.48.1) with smtp ; Mon, 19 Sep 2005 15:58:46 +0300 Message-ID: <000001c5bd19$dd6a4b10$0130a8c0@Gleb> From: "Gleb Kozyrev" To: Date: Mon, 19 Sep 2005 15:58:42 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 FL-Build: Fidolook 2002 (SL) 6.0.2800.94 - 5/4/2005 11:39:16 Subject: LOR in uipc_usrreq.c and kern_descrip.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: Mon, 19 Sep 2005 12:57:37 -0000 Hello, All! While playing with wine-20050830 I saw the following: =========Beginning of the citation============== lock order reversal 1st 0xc0971c60 unp (unp) @ /usr/src/sys/kern/uipc_usrreq.c:249 2nd 0xc0922160 filelist lock (filelist lock) @ /usr/src/sys/kern/kern_descrip.c:2127 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c0934d08,c09346f0,c08c04cc) at kdb_backtrace+0x29 witness_checkorder(c0922160,9,c08571f2,84f) at witness_checkorder+0x564 _sx_xlock(c0922160,c08571f2,84f) at _sx_xlock+0x50 fdrop_locked(c1b41c60,0,c12f8f40,0,c08571f2) at fdrop_locked+0xa1 fdrop(c1b41c60,0,3,c15d8d80,cc8e69d4) at fdrop+0x24 closef(c1b41c60,0,c1703418,cc8e6a4c,c06762fc) at closef+0x35f unp_discard(c1b41c60) at unp_discard+0x43 unp_scan(c1703400,c0676384) at unp_scan+0x80 unp_dispose(c1703400) at unp_dispose+0x15 sorflush(c20ac000,c20dac18,c20ac000,cc8e6b18,c067387e) at sorflush+0x119 unp_detach(c233c604,cc8e6b30,c066bb84,c20ac000,c20dac18) at unp_detach+0xc5 uipc_detach(c20ac000) at uipc_detach+0x4a soclose(c20ac000,c20dac18,0,cc8e6b5c,c0617fb8) at soclose+0x1e0 soo_close(c20dac18,c15d8d80) at soo_close+0x4b fdrop_locked(c20dac18,c15d8d80,c12f8ed4,0,c08571f2) at fdrop_locked+0x88 fdrop(c20dac18,c15d8d80,cc8e6ba8,c0654740,c08571f2) at fdrop+0x24 closef(c20dac18,c15d8d80) at closef+0x35f fdfree(c15d8d80,c15fdb88,282754e4,c15d8d80,c0905500) at fdfree+0x473 exit1(c15d8d80,100,cc8e6d30,c07f22fb,c15d8d80) at exit1+0x3f6 exit1(c15d8d80,cc8e6d04,1,12b,292) at exit1 syscall(3b,3b,3b,8089200,bfbfe67c) at syscall+0x22f Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (1, FreeBSD ELF32, sys_exit), eip = 0x281f3433, esp = 0xbfbfe2f0, ebp = 0xbfbfe30c --- =========The end of the citation================ FreeBSD 6.0-BETA4 #0: Wed Sep 14, GENERIC kernel. -- With best regards, Gleb Kozyrev.