From owner-freebsd-current@FreeBSD.ORG Thu Dec 9 02:33:48 2004 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 CB3F116A4CE; Thu, 9 Dec 2004 02:33:48 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 770CD43D54; Thu, 9 Dec 2004 02:33:48 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id iB92VKPJ046478; Wed, 8 Dec 2004 21:31:20 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)iB92VJKh046475; Thu, 9 Dec 2004 02:31:19 GMT (envelope-from robert@fledge.watson.org) Date: Thu, 9 Dec 2004 02:31:19 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Steve Kargl In-Reply-To: <20041209002303.GC4674@troutmask.apl.washington.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org cc: mlaier@freebsd.org Subject: protocol timer running before protocol is fully initialized (again) (was re: panic: mtx_lock() of spin mutex ...) 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: Thu, 09 Dec 2004 02:33:48 -0000 On Wed, 8 Dec 2004, Steve Kargl wrote: > panic: mtx_lock() of spin mutex (null) @ sys/netinet/frag6.c:682 > cpuid = 0 > kdb_backtrace+0x37 > panic+0x1d1 > _mtx_lock_flags+0x72 > frag6_slowtimo+0x26 > pfslowtimo+0x5a > softclock+0x1c0 > ithread_loop+0x179 > fork_exit+0xe9 > fork_trampoline+0xe > > This is FreeBSD/amd64 from today's sources of about 30 minutes ago. >From the instant interpretation unit: it looks like this is another example of a protocl's timeout firing before the protocol is properly initialized, as the mutex appears to be zero'd due to being in BSS. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research