Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 1997 23:37:43 -0600
From:      Jonathan Lemon <jlemon@americantv.com>
To:        hackers@freebsd.org
Cc:        Michael Smith <msmith@atrad.adelaide.edu.au>
Subject:   Re: xemacs crashes kernel
Message-ID:  <19970303233743.01587@right.PCS>
In-Reply-To: <19970303230157.25741@right.PCS>; from Jonathan Lemon on Mar 03, 1997 at 11:01:57PM -0600
References:  <19970303221417.46124@right.PCS> <199703040441.PAA10434@genesis.atrad.adelaide.edu.au> <19970303230157.25741@right.PCS>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 03, 1997 at 11:01:57PM -0600, Jonathan Lemon wrote:
>
> 	stopped at _fsync+0x73, testb $0x40, 0x18(%eax)

Just to follow up on the really obvious, this failure is in fsync(), at:

    error = VOP_FSYNC(vp, fp->f_cred,
            (vp->v_mount->mnt_flag & MNT_ASYNC) ? MNT_NOWAIT : MNT_WAIT, p);

where 0x40 is MNT_ASYNC, and %eax is supposed to contain vp->v_mount, but
contains a NULL pointer instead.  Since this is filesystem related, I should
mention that I have both MFS and PROCFS in the kernel, and that MFS is 
mounted on /tmp (async, local).  (if this makes any difference)
--
Jonathan



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