From owner-freebsd-current@FreeBSD.ORG Tue Jun 16 16:16:53 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 D7F9B10656AA; Tue, 16 Jun 2009 16:16:53 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 732028FC30; Tue, 16 Jun 2009 16:16:53 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAMpbN0qDaFvI/2dsb2JhbADVUIQNBQ X-IronPort-AV: E=Sophos;i="4.42,229,1243828800"; d="scan'208";a="36533570" Received: from darling.cs.uoguelph.ca ([131.104.91.200]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 16 Jun 2009 11:47:56 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by darling.cs.uoguelph.ca (Postfix) with ESMTP id 232D9940073; Tue, 16 Jun 2009 11:47:56 -0400 (EDT) X-Virus-Scanned: amavisd-new at darling.cs.uoguelph.ca Received: from darling.cs.uoguelph.ca ([127.0.0.1]) by localhost (darling.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Oew6g4voXVe; Tue, 16 Jun 2009 11:47:55 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by darling.cs.uoguelph.ca (Postfix) with ESMTP id 1E6C8940065; Tue, 16 Jun 2009 11:47:55 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n5GFndL24355; Tue, 16 Jun 2009 11:49:39 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Tue, 16 Jun 2009 11:49:39 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Kris Kennaway In-Reply-To: <4A36B6D8.8000701@FreeBSD.org> Message-ID: References: <1242075474.72992.118.camel@hood.oook.cz> <4A36B6D8.8000701@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: dfr@FreeBSD.org, pav@FreeBSD.org, kmacy@FreeBSD.org, current@FreeBSD.org Subject: Re: pointyhat panic 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: Tue, 16 Jun 2009 16:16:54 -0000 On Mon, 15 Jun 2009, Kris Kennaway wrote: > Pav Lucistnik wrote: >> panic: mtx_lock() of destroyed mutex @ /usr/src/sys/rpc/clnt_vc.c:953 >> cpuid = 2 >> KDB: enter: panic >> [thread pid 0 tid 100029 ] >> Stopped at kdb_enter+0x3d: movq $0,0x3f5fb8(%rip) >> db> bt >> Tracing pid 0 tid 100029 td 0xffffff00018e1000 >> kdb_enter() at kdb_enter+0x3d >> panic() at panic+0x17b >> _mtx_lock_flags() at _mtx_lock_flags+0xc5 >> clnt_vc_soupcall() at clnt_vc_soupcall+0x273 >> sowakeup() at sowakeup+0xf8 [stuff snipped] >> The box is in kdb on serial console for now. May 9 -CURRENT, I think. >> > > This happened again. The trigger was this (^C of a find on a busy netapp > volume with a lot of other concurrent nfs traffic to the same mountpoint): > > About 5-10 minutes later the machine panicked. I'll try updating to a newer > -CURRENT. > Although there are a couple of krpc fixes still in the pipe and not yet committed, I think the above panic was fixed by r193437. (June 4, 2009.) If your crash was because it slept while rc_lock was held, that patch isn't committed yet. The other known issue for which a patch isn't committed yet is a reference to a bad pointer in strdup() when called from svc_reg(). Hopefully these will be patched soon, rick