Subject: Re: uvm_fault kernel: page fault trap while un-tar-ing a large file
To: Edgar Fu? <ef@math.uni-bonn.de>
From: Allen Briggs <briggs@netbsd.org>
List: tech-kern
Date: 06/21/2007 13:29:42
On Thu, Jun 21, 2007 at 07:03:38PM +0200, Edgar Fu? wrote:
> >uvm_fault(0xffff80004e263b10, 0x10, 2)-> e
> Hm, that second parameter to uvm_fault (0x10) is va (arch/amd64/amd64/ 
> trap.c:489/517).
> That va is trunc_page((vaddr_t)cr2) (arch/amd64/amd64/trap.c:459).
> 
> How on earth can this be 0x10?

Usually a va like that points to a NULL pointer dereference.  So
something might be trying to read or write a field that's offset
16 bytes into a structure.  Did you manage to get a line number?

-allen

-- 
Allen Briggs  |  http://www.ninthwonder.com/~briggs/  |  briggs@ninthwonder.com