From owner-freebsd-current@FreeBSD.ORG Fri May 30 02:09:29 2003 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 084EE37B401; Fri, 30 May 2003 02:09:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E26F43F3F; Fri, 30 May 2003 02:09:28 -0700 (PDT) (envelope-from davidxu@freebsd.org) Received: from davidw2k (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with SMTP id h4U99OUp018073; Fri, 30 May 2003 02:09:26 -0700 (PDT) (envelope-from davidxu@freebsd.org) Message-ID: <000701c3268b$86faaa30$f001a8c0@davidw2k> From: "David Xu" To: "Terry Lambert" , "Bryan Liesner" References: <20030529164240.X769@gravy.homeunix.net> <3ED71E39.A0F8EBC3@mindspring.com> Date: Fri, 30 May 2003 17:11:56 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 cc: freebsd-current@freebsd.org Subject: Re: panic: kern/52718 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: Fri, 30 May 2003 09:09:29 -0000 ----- Original Message -----=20 From: "Terry Lambert" To: "Bryan Liesner" Cc: Sent: Friday, May 30, 2003 5:02 PM Subject: Re: panic: kern/52718 > Bryan Liesner wrote: > >=20 > > Is anyone going to look at this before the next release? > > Of course, if more info is needed, I'll send it along. No dump is > > available - it panics during boot. > >=20 > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D52718 >=20 > This was caused by rev. 1.3 of a commit by Jeff Robertson to > kern_utmx.c. The problem is that the proc struct is not locked > for: >=20 > FOREACH_THREAD_IN_PROC(td->td_proc, td0) >=20 > in the lock and unlock. >=20 > Either lock the proc before and unlock it after this, in both > _utmx_lock() and _utmx_unlock(), or revert the code to 1.2. >=20 > It's pretty simple. No one needs t look at it, all they need > to do is act on information already present. >=20 kern_sig.c has same issue in several places. > -- Terry > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" David Xu