From owner-freebsd-current Tue Mar 25 16:39:36 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B87EA37B401; Tue, 25 Mar 2003 16:39:33 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DE5143FBD; Tue, 25 Mar 2003 16:39:32 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 3ED8366B9B; Tue, 25 Mar 2003 16:39:32 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 1CDF3128E; Tue, 25 Mar 2003 16:39:32 -0800 (PST) Date: Tue, 25 Mar 2003 16:39:32 -0800 From: Kris Kennaway To: Tim Robbins Cc: Kris Kennaway , current@FreeBSD.ORG Subject: Re: Panic in wait4() Message-ID: <20030326003931.GA7441@rot13.obsecurity.org> References: <20030325222204.GA6918@rot13.obsecurity.org> <20030326101305.A98048@dilbert.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <20030326101305.A98048@dilbert.robbins.dropbear.id.au> User-Agent: Mutt/1.4i X-Spam-Status: No, hits=-36.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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