Date: Sun, 21 Mar 2004 11:11:33 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= <des@des.no> Cc: current@FreeBSD.org Subject: Re: Giant not owned in gbincore() Message-ID: <20040321110858.Y7398@gamplex.bde.org> In-Reply-To: <xzpr7vnkty0.fsf@dwp.des.no> References: <xzpr7vnkty0.fsf@dwp.des.no>
index | next in thread | previous in thread | raw e-mail
On Sat, 20 Mar 2004, Dag-Erling [iso-8859-1] Smørgrav wrote: > running America's Army 2.0.0a under ktrace results in the following > panic: > ... > exit1+0x47a > 0xc04920a6 is in exit1 (/usr/src/sys/kern/kern_exit.c:371). > 366 tracecred = p->p_tracecred; > 367 p->p_tracecred = NULL; > 368 mtx_unlock(&ktrace_mtx); > 369 PROC_UNLOCK(p); > 370 if (tracevp != NULL) > 371 vrele(tracevp); > 372 if (tracecred != NULL) > 373 crfree(tracecred); > 374 #endif The above is not current. This was fixed in: % RCS file: /home/ncvs/src/sys/kern/kern_exit.c,v % Working file: kern_exit.c % head: 1.228 % ... % ---------------------------- % revision 1.228 % date: 2004/03/18 18:15:58; author: green; state: Exp; lines: +4 -1 % Add the missing Giant when doing anything with VFS -- in this case, % releasing the ktrace vnode. % ---------------------------- Brucehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040321110858.Y7398>
