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
[-- Attachment #1 --]
On Sat, Feb 08, 2003 at 03:05:12AM -0800, Kris Kennaway wrote:
> bento# addr2line -e kernel.debug 0xc01a1e2d
> ../../../kern/kern_fork.c:388
>
> for (; p2 != NULL; p2 = LIST_NEXT(p2, p_list)) {
> PROC_LOCK(p2);
> 388 --> while (p2->p_pid == trypid ||
>
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.
--
Morten Rodal
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+RREObWe1Cy11WVsRAsC9AKDiwaD9IsyBgdXjqsg6hS0xs8Bg2gCcDGl8
qkc0VDnbB49hkXB9V8m8hVY=
=vbMd
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030208141542.GC11725>
