Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jun 1995 17:34:51 +0900
From:      ohki@gssm.otsuka.tsukuba.ac.jp
To:        freebsd-bugs@FreeBSD.org
Cc:        ohki@gssm.otsuka.tsukuba.ac.jp
Subject:   Re: 2.0.5-ALPHA crashes with 'panic: vm_object_deallocate: ...' 
Message-ID:  <199506070834.RAA01294@smri01.gssm.otsuka.tsukuba.ac.jp>
In-Reply-To: Your message of "Wed, 07 Jun 1995 13:14:45 JST"
References:  <199506070414.NAA00442@smri01.gssm.otsuka.tsukuba.ac.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help
I (ohki) writes:
> Dear folks
> 
>  I'm using 2.0.5-ALPHA on the following system.
>	....
>  This machine tends to crash once a day or once an hour,
>  so, I configured to make crash dump.

 I pinpointed the situation more precisely.

 A panic of "vm_object_deallocated: .. " can be reproduced
 in the following context.

 NFS server machine:	2.0.5-ALPHA, exporting /var/mail
 NFS client machine:	Solaris 2.3, importing /var/mail

 When a user on NFS client machine invokes /usr/ucb/mail command,
 NFS server machine crashes with "vm_object_deallocated: .. " panic.

 Here is my question:

	nfsrv_link() in nfs_serv.c, vp->v_vmdata is 
	deallocated by calling vm_object_deallocate().
	Afther this, a call to nfsrv_vrele(vp) will also
	deallocate vp->v_vmdata.
	nfsrv_vrele() does not check the ref_count.
	Is this behavior of nfsrv_vrele() correct?
	I guess  nfsrv_vrele() should check ref_count.



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