From owner-freebsd-current@FreeBSD.ORG Thu Dec 17 04:28:59 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 C03B51065670 for ; Thu, 17 Dec 2009 04:28:59 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2001:470:1f09:679::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8ED9B8FC12 for ; Thu, 17 Dec 2009 04:28:59 +0000 (UTC) Received: from unknown (unknown [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 2FCA881B1; Thu, 17 Dec 2009 04:29:04 +0000 (UTC) Date: Thu, 17 Dec 2009 04:27:46 +0000 From: Bruce Cran To: current@freebsd.org Message-ID: <20091217042746.000038a8@unknown> X-Mailer: Claws Mail 3.7.2cvs27 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: bzeeb+freebsd+lor@zabbadoz.net Subject: lor: sctp-create vs. sctp-it 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: Thu, 17 Dec 2009 04:28:59 -0000 lock order reversal: 1st 0xffffff00300c5488 sctp-create (inp_create) @ /usr/src/sys/netinet/sctp_input.c:4897 2nd 0xffffffff80e11df0 sctp-it (iterator) @ /usr/src/sys/netinet/sctp_pcb.c:3102 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x2e _witness_checkorder() at witness_checkorder+0x81e _mtx_lock_flags() at _mtx_lock_flags+0x78 sctp_inpcb_free() at sctp_inpcb_free+0x50 sctp_process_cookie_new() at sctp_process_cookie_new+0x646 sctp_process_control() at sctp_process_control+0x5eb2 sctp_common_input_processing() at sctp_common_input_processing+0x1b1 sctp_input_with_port() at sctp_input_with_port+0x388 ip_input() at ip_input+0xbc swi_net() at swi_net+0x151 intr_event_execute_handlers() at intr_event_execute_handlers+0x66 ithread_loop() at ithread_loop+0xb2 fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffff8000047d30, rbp = 0 --- Afterwards the console wouldn't respond: I could always break into the debugger and see the contents of other ttys once the kernel was stopped, but once I continued the console was frozen. -- Bruce Cran