Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2003 13:14:14 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Thomas Moestl <tmoestl@gmx.net>, Morten Rodal <morten@rodal.no>, current@FreeBSD.ORG, alfred@FreeBSD.org, tjr@FreeBSD.org
Subject:   Re: Panic in fork()
Message-ID:  <20030214211414.GC2655@rot13.obsecurity.org>
In-Reply-To: <20030208220456.GB15257@rot13.obsecurity.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--wzJLGUyc3ArbnUjN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Feb 08, 2003 at 02:04:56PM -0800, Kris Kennaway wrote:

> OK, I suspected that.
>=20
> tjr was looking into this last night and proposed the following patch:
>=20
> http://people.freebsd.org/~tjr/kf.diff

OK, I got another panic with this patch in place, so I guess that's
not enough.  Maybe I should try Alfred's suggestion of changing the
locks to exclusive locks.

Fatal trap 12: page fault while in kernel mode
cpuid =3D 1; lapic.id =3D 00000000
fault virtual address   =3D 0x14
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x8:0xc01a1e2d
stack pointer           =3D 0x10:0xe3639c74
frame pointer           =3D 0x10:0xe3639cbc
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 97943 (sh)
kernel: type 12 trap, code=3D0
Stopped at      fork1+0x3fd:    cmpl    %ebx,0x14(%eax)
db> trace
fork1(ca1458c0,14,0,e3639cd4,ca179068) at fork1+0x3fd
fork(ca1458c0,e3639d10,c03445dc,407,0) at fork+0x52
syscall(2f,2f,2f,0,80fe000) at syscall+0x28e
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (2, FreeBSD ELF32, fork), eip =3D 0x807bd63, esp =3D 0xbfbff9fc=
, ebp =3D 0xbfbffa28 ---
db>

Kris


--wzJLGUyc3ArbnUjN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+TVwlWry0BWjoQKURAghMAJ47pN31gX9+AQPfhUpftznLg9jXzgCfS2bK
JlF3C8O85cKWAE7smAyHH4k=
=0nU0
-----END PGP SIGNATURE-----

--wzJLGUyc3ArbnUjN--

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?20030214211414.GC2655>