From owner-freebsd-current@FreeBSD.ORG Thu Jan 31 00:42:14 2008 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 80BEA16A41A for ; Thu, 31 Jan 2008 00:42:14 +0000 (UTC) (envelope-from jos@catnook.com) Received: from lizzy.dyndns.org (209-204-188-132.dsl.static.sonic.net [209.204.188.132]) by mx1.freebsd.org (Postfix) with SMTP id 23C4113C455 for ; Thu, 31 Jan 2008 00:42:14 +0000 (UTC) (envelope-from jos@catnook.com) Received: (qmail 1220 invoked by uid 1000); 31 Jan 2008 00:42:35 -0000 Date: Wed, 30 Jan 2008 16:42:35 -0800 From: Jos Backus To: Robert Watson Message-ID: <20080131004235.GA1186@lizzy.catnook.local> Mail-Followup-To: Robert Watson , freebsd-current@freebsd.org, rrs@FreeBSD.org, bz@FreeBSD.org References: <20080128180840.GA9582@lizzy.catnook.local> <20080128204730.I56811@fledge.watson.org> <20080129015916.GA5413@lizzy.catnook.local> <20080130134307.P41201@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080130134307.P41201@fledge.watson.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: rrs@FreeBSD.org, freebsd-current@freebsd.org, bz@FreeBSD.org Subject: Re: panic: Lock so_rcv_sx not exclusively locked X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jos@catnook.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2008 00:42:14 -0000 On Wed, Jan 30, 2008 at 01:45:08PM +0000, Robert Watson wrote: [snip] > Thanks, looks like that's enough for now. I've attached a patch, could you > let me know if it works? There turned out to be a number of issues here, > not least the possibility of an inter-thread deadlock if the blocked socket > read was never going to return, so if you could watch out for processes > failing to exit, not just panics, that would be good. I've CC'd Randall as > this change touches SCTP in a few places. After applying this patch I can no longer panic the system by killing npviewer.bin. Firefox feels more responsive, too. Thanks, Robert! -- Jos Backus jos at catnook.com