Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 16:39:32 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Tim Robbins <tjr@FreeBSD.ORG>
Cc:        Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.ORG
Subject:   Re: Panic in wait4()
Message-ID:  <20030326003931.GA7441@rot13.obsecurity.org>
In-Reply-To: <20030326101305.A98048@dilbert.robbins.dropbear.id.au>
References:  <20030325222204.GA6918@rot13.obsecurity.org> <20030326101305.A98048@dilbert.robbins.dropbear.id.au>

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

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

On Wed, Mar 26, 2003 at 10:13:05AM +1100, Tim Robbins wrote:

> > #12 0xc01b86b5 in panic (fmt=3D0xe35e9bbc "Y\2179) at ../../../kern/ker=
n_shutdown.c:509
> > #13 0xc01aeae3 in _mtx_lock_flags (m=3D0x0, opts=3D0,
> >     file=3D0xc03375e7 "../../../kern/kern_resource.c", line=3D989) at .=
./../../kern/kern_mutex.c:333
> > #14 0xc01b75bb in chgproccnt (uip=3D0x3dd, diff=3D-1070369305, max=3D0)
> >     at ../../../kern/kern_resource.c:989
> > #15 0xc01a2e48 in wait1 (td=3D0xc7b122d0, uap=3D0x0, compat=3D0) at ../=
../../kern/kern_exit.c:694
> > #16 0xc01a2970 in wait4 (td=3D0x0, uap=3D0x0) at ../../../kern/kern_exi=
t.c:552
> > #17 0xc0306bfe in syscall (frame=3D
> >       {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D -1078001617, tf_edi =3D 13=
4714784, tf_esi =3D -1077939108, tf_ebp =3D -1077939144, tf_isp =3D -480338=
572, tf_ebx =3D 674575164, tf_edx =3D 0, tf_ecx =3D 19, tf_eax =3D 7, tf_tr=
apno =3D 12, tf_err =3D 2, tf_eip =3D 674109043, tf_cs =3D 31, tf_eflags =
=3D 534, tf_esp =3D -1077939172, tf_ss =3D 47}) at ../../../i386/i386/trap.=
c:1030
> > #18 0xc02ef01d in Xint0x80_syscall () at {standard input}:139
> > ---Can't read userspace from dump, or kernel process---
>=20
> Would you mind doing these commands from kgdb?
>=20
> frame 15
> print p->p_ucred
> print *p->p_ucred

(kgdb) frame 15
#15 0xc01a2e48 in wait1 (td=3D0xc7b122d0, uap=3D0x0, compat=3D0) at ../../.=
./kern/kern_exit.c:694
694                             (void)chgproccnt(p->p_ucred->cr_ruidinfo, -=
1, 0);
(kgdb) print p->p_ucred
$1 =3D (struct ucred *) 0x7572636c
(kgdb) print *p->p_ucred                                                   =
                      ---Can't read userspace from dump, or kernel process-=
--

:-(

Kris

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

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

iD8DBQE+gPbDWry0BWjoQKURAoE+AKCoZjXy3yjyMOW2S2qWCjDUC/c4UgCgq+k2
s7i9joyzqab/MDYc7Noda4E=
=GkA+
-----END PGP SIGNATURE-----

--SLDf9lqlvOQaIe6s--

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?20030326003931.GA7441>