Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 10:13:05 +1100
From:      Tim Robbins <tjr@FreeBSD.ORG>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: Panic in wait4()
Message-ID:  <20030326101305.A98048@dilbert.robbins.dropbear.id.au>
In-Reply-To: <20030325222204.GA6918@rot13.obsecurity.org>; from kris@obsecurity.org on Tue, Mar 25, 2003 at 02:22:04PM -0800
References:  <20030325222204.GA6918@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 25, 2003 at 02:22:04PM -0800, Kris Kennaway wrote:

> I just got this on bento (running a kernel from Mar 17).  It was under
> heavy disk load at the time, which may or may not be relevant.

[...]
> #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
print p->p_ucred->cr_ruidinfo
print *p->p_ucred->cr_ruidinfo


Thanks,

Tim

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?20030326101305.A98048>