From owner-freebsd-current Sat Feb 8 6:15:53 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 D54B837B401 for ; Sat, 8 Feb 2003 06:15:51 -0800 (PST) Received: from flaske.stud.ntnu.no (flaske.stud.ntnu.no [129.241.56.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA3D543FA3 for ; Sat, 8 Feb 2003 06:15:47 -0800 (PST) (envelope-from morten@rodal.no) Received: from localhost (localhost [127.0.0.1]) by flaske.stud.ntnu.no (Postfix) with ESMTP id 2296EFF1E4; Sat, 8 Feb 2003 15:15:46 +0100 (CET) Received: from slurp.rodal.no (m200h.studby.ntnu.no [129.241.135.200]) by flaske.stud.ntnu.no (Postfix) with ESMTP id 63CE4FF108; Sat, 8 Feb 2003 15:15:45 +0100 (CET) Received: (from morten@localhost) by slurp.rodal.no (8.12.6/8.12.6/Submit) id h18EFiiZ086298; Sat, 8 Feb 2003 15:15:44 +0100 (CET) (envelope-from morten) Date: Sat, 8 Feb 2003 15:15:44 +0100 From: Morten Rodal To: Kris Kennaway Cc: current@FreeBSD.ORG Subject: Re: Panic in fork() Message-ID: <20030208141542.GC11725@slurp.rodal.no> References: <20030208092406.GA12104@rot13.obsecurity.org> <20030208110512.GB12696@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ALfTUftag+2gvp1h" Content-Disposition: inline In-Reply-To: <20030208110512.GB12696@rot13.obsecurity.org> X-Virus-Scanned: by AMaViS perl-11 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 --ALfTUftag+2gvp1h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 08, 2003 at 03:05:12AM -0800, Kris Kennaway wrote: > bento# addr2line -e kernel.debug 0xc01a1e2d > ../../../kern/kern_fork.c:388 >=20 > for (; p2 !=3D NULL; p2 =3D LIST_NEXT(p2, p_list)) { > PROC_LOCK(p2); > 388 --> while (p2->p_pid =3D=3D trypid ||=20 >=20 That is the exact same spot I saw my computer (old smp machine) crash. I think someone mentioned that it would be more or less impossible to crash there since one would not enter the for loop when p2 is NULL. Could it be that PROC_LOCK tampers with p2? Also see my other post to your original message. --=20 Morten Rodal --ALfTUftag+2gvp1h Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+RREObWe1Cy11WVsRAsC9AKDiwaD9IsyBgdXjqsg6hS0xs8Bg2gCcDGl8 qkc0VDnbB49hkXB9V8m8hVY= =vbMd -----END PGP SIGNATURE----- --ALfTUftag+2gvp1h-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message