From owner-freebsd-current Sat Feb 8 19:39:59 2003 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 7E20D37B401 for ; Sat, 8 Feb 2003 19:39:58 -0800 (PST) Received: from smtp04.iprimus.com.au (smtp04.iprimus.com.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id C041C43F75 for ; Sat, 8 Feb 2003 19:39:56 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from smtp02.iprimus.net.au (210.50.76.70) by smtp04.iprimus.com.au (6.7.010) id 3E41F723000605A2 for current@FreeBSD.org; Sun, 9 Feb 2003 14:39:50 +1100 Received: from dilbert.robbins.dropbear.id.au ([210.50.201.242]) by smtp02.iprimus.net.au with Microsoft SMTPSVC(5.0.2195.5600); Sun, 9 Feb 2003 14:39:49 +1100 Received: from dilbert.robbins.dropbear.id.au (wj7mafqd4jegvp83@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6) with ESMTP id h193dcJd002763; Sun, 9 Feb 2003 14:39:39 +1100 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6/Submit) id h193daht002762; Sun, 9 Feb 2003 14:39:36 +1100 (EST) (envelope-from tim) Date: Sun, 9 Feb 2003 14:39:36 +1100 From: Tim Robbins To: Kris Kennaway Cc: Thomas Moestl , Morten Rodal , current@FreeBSD.org Subject: Re: Panic in fork() Message-ID: <20030209143936.A2648@dilbert.robbins.dropbear.id.au> References: <20030208092406.GA12104@rot13.obsecurity.org> <20030208110512.GB12696@rot13.obsecurity.org> <20030208141542.GC11725@slurp.rodal.no> <20030208151226.GB624@crow.dom2ip.de> <20030208220456.GB15257@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030208220456.GB15257@rot13.obsecurity.org>; from kris@obsecurity.org on Sat, Feb 08, 2003 at 02:04:56PM -0800 X-OriginalArrivalTime: 09 Feb 2003 03:39:49.0777 (UTC) FILETIME=[E5FFC010:01C2CFEC] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Feb 08, 2003 at 02:04:56PM -0800, Kris Kennaway wrote: > On Sat, Feb 08, 2003 at 04:12:26PM +0100, Thomas Moestl wrote: > > > addr2line will usually point to the first line of a statement if it > > spans multiple lines; in this case, the full guard is: > > > > while (p2->p_pid == trypid || > > p2->p_pgrp->pg_id == trypid || > > p2->p_session->s_sid == trypid) { > > OK, I suspected that. > > tjr was looking into this last night and proposed the following patch: Alfred was the one who pointed out that holding proctree was probably necessary, though :-) Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message