Subject: Re: uvm_fault kernel: page fault trap while un-tar-ing a large file
To: Allen Briggs <>
From: =?ISO-8859-1?Q?Edgar_Fu=DF?= <>
List: port-amd64
Date: 06/21/2007 22:07:47
> Usually a va like that points to a NULL pointer dereference.
How on earth can trunc_page(any_garbage) equal 0x10?
Am I missing something?

> Did you manage to get a line number?
In what sense? The kdb_trap() call is from arch/amd64/amd64/trap.c:237.
I don't have a backtrace. I don't even have the stack frame of the  
trap handler because of the locking-against-myself-panic during sync.
Maybe I'll be able to extract the frame from the tar process's kernel  

Or do you mean this:
gdb netbsd.gdb
(gdb) info line *(dqget+0x118)
Line 729 of "/var/tmp/src-4.0beta2/sys/ufs/ufs/ufs_quota.c"
    starts at address 0xffffffff8028e4df <dqget+255>
    and ends at 0xffffffff8028e4fb <dqget+283>.