Date: Sat, 8 Feb 2003 15:15:44 +0100 From: Morten Rodal <morten@rodal.no> To: Kris Kennaway <kris@obsecurity.org> Cc: current@FreeBSD.ORG Subject: Re: Panic in fork() Message-ID: <20030208141542.GC11725@slurp.rodal.no> In-Reply-To: <20030208110512.GB12696@rot13.obsecurity.org> References: <20030208092406.GA12104@rot13.obsecurity.org> <20030208110512.GB12696@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030208141542.GC11725>