From owner-freebsd-current@FreeBSD.ORG Wed Jan 25 16:30:24 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEFBF1065687 for ; Wed, 25 Jan 2012 16:30:24 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from sirius.xvoid.org (sirius.xvoid.org [IPv6:2001:470:28:4ba:20c:29ff:fe62:9a22]) by mx1.freebsd.org (Postfix) with ESMTP id 995268FC19 for ; Wed, 25 Jan 2012 16:30:24 +0000 (UTC) Received: from sirius.xvoid.org (yuri@sirius.xvoid.org [IPv6:::1]) by sirius.xvoid.org (8.14.5/8.14.5) with ESMTP id q0PGUNtC005930 for ; Wed, 25 Jan 2012 20:30:23 +0400 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by sirius.xvoid.org (8.14.5/8.14.5/Submit) id q0PGUMmE005929 for freebsd-current@freebsd.org; Wed, 25 Jan 2012 20:30:22 +0400 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: sirius.xvoid.org: yuri set sender to yuri.pankov@gmail.com using -f Date: Wed, 25 Jan 2012 20:30:22 +0400 From: Yuri Pankov To: freebsd-current@freebsd.org Message-ID: <20120125163022.GA1070@sirius.xvoid.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: LOR so_snd_sx @ uipc_sockbuf.c and filedesc structure @ uipc_usrreq.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: Wed, 25 Jan 2012 16:30:25 -0000 Hi, Getting this LOR every time I login via ssh after reboot, and it doesn't seem to be reported previously. Running 10.0-CURRENT r230537. lock order reversal: 1st 0xfffffe0160615490 so_snd_sx (so_snd_sx) @ /usr/src/sys/kern/uipc_sockbuf.c:148 2nd 0xfffffe0029ef1048 filedesc structure (filedesc structure) @ /usr/src/sys/kern/uipc_usrreq.c:1872 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b kdb_backtrace() at kdb_backtrace+0x39 witness_checkorder() at witness_checkorder+0x715 _sx_slock() at _sx_slock+0x57 uipc_send() at uipc_send+0x1fe sosend_generic() at sosend_generic+0x31a kern_sendit() at kern_sendit+0x1bb sendit() at sendit+0xf0 sys_sendmsg() at sys_sendmsg+0x61 amd64_syscall() at amd64_syscall+0x221 Xfast_syscall() at Xfast_syscall+0xfb --- syscall (28, FreeBSD ELF64, sys_sendmsg), rip = 0x8024dabfc, rsp = 0x7fffffffcb08, rbp = 0x7fffffffcbb0 --- Yuri