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>

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

[-- Attachment #1 --]
On Wed, Mar 26, 2003 at 10:13:05AM +1100, Tim Robbins wrote:

> > #12 0xc01b86b5 in panic (fmt=0xe35e9bbc "Y\2179) at ../../../kern/kern_shutdown.c:509
> > #13 0xc01aeae3 in _mtx_lock_flags (m=0x0, opts=0,
> >     file=0xc03375e7 "../../../kern/kern_resource.c", line=989) at ../../../kern/kern_mutex.c:333
> > #14 0xc01b75bb in chgproccnt (uip=0x3dd, diff=-1070369305, max=0)
> >     at ../../../kern/kern_resource.c:989
> > #15 0xc01a2e48 in wait1 (td=0xc7b122d0, uap=0x0, compat=0) at ../../../kern/kern_exit.c:694
> > #16 0xc01a2970 in wait4 (td=0x0, uap=0x0) at ../../../kern/kern_exit.c:552
> > #17 0xc0306bfe in syscall (frame=
> >       {tf_fs = 47, tf_es = 47, tf_ds = -1078001617, tf_edi = 134714784, tf_esi = -1077939108, tf_ebp = -1077939144, tf_isp = -480338572, tf_ebx = 674575164, tf_edx = 0, tf_ecx = 19, tf_eax = 7, tf_trapno = 12, tf_err = 2, tf_eip = 674109043, tf_cs = 31, tf_eflags = 534, tf_esp = -1077939172, tf_ss = 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---
> 
> Would you mind doing these commands from kgdb?
> 
> frame 15
> print p->p_ucred
> print *p->p_ucred

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

:-(

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

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

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030326003931.GA7441>