(unknown charset) Re: Giant not owned in gbincore()

From: (unknown charset) Bruce Evans <bde_at_zeta.org.au>
Date: Sun, 21 Mar 2004 11:11:33 +1100 (EST)
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.
% ----------------------------

Bruce
Received on Sat Mar 20 2004 - 15:11:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC