From owner-freebsd-current@FreeBSD.ORG Wed Sep 15 15:27: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 1210716A4CE; Wed, 15 Sep 2004 15:27:48 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85F7343D45; Wed, 15 Sep 2004 15:27:47 +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 i8FFRR0K090242; Wed, 15 Sep 2004 11:27:27 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i8FFRRea090239; Wed, 15 Sep 2004 11:27:27 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Wed, 15 Sep 2004 11:27:27 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: current@FreeBSD.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: julian@FreeBSD.org cc: jhb@FreeBSD.org Subject: Re: Possible NULL pointer deref in sched_add() via maybe_preempt() and kse_release() 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: Wed, 15 Sep 2004 15:27:48 -0000 On Wed, 15 Sep 2004, Robert Watson wrote: > The source code here is probably about a day old; the panic occurred > during a kernel build using an NFS-mounted source tree and local object > tree. MySQL should have been basically idle, since no clients were > active or had been active recently, but no doubt it wakes up once in a > while to do something. Just to follow up now the disks have fsck'd. The kernel source was fairly up-to-date with regards to recent threading and scheduling changes. The file revisions of interest appear to be: File My Revision CVS Revision sched_4bsd.c 1.64 1.64 *kern_switch.c 1.91 1.92 (but only change is a ULE change?) kern_kse.c 1.200 1.200 kern_thread.c 1.196 1.196 kern_intr.c 1.115 1.115 I was able to get a core dump, but in the new world order I can no longer use NIS, so it will take me a few minutes to get something useful out of it. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research