On 18-Mar-01 Dag-Erling Smorgrav wrote:
> I finally caught a backtrace from one of those recurring stack smash
> panics. I've been getting a few of these every day for a couple of
> weeks now but never caught a dump; I caught this one by typing 'panic'
> immediately instead of trying to get a trace at the ddb prompt first.
> 
> These panics invariably start like this (always the same eip):
> 
> kernel: type 12 trap, code=0
> Stopped at      -0xfc81:        kernel: type 12 trap, code=0
> db>
> 
> Anyway, here's the backtrace:


>#12 0xc023c8bb in vm_fault (map=0xd0768a00, vaddr=138502144,
>     fault_type=2 '\002', fault_flags=8) at ../../vm/vm_page.h:493

        pmap_zero_page(VM_PAGE_TO_PHYS(m));

Can you throw some extra tests in there to make sure m isn't NULL?  Also, you
might want to check VM_PAGE_TO_PHYS(m) for any weird values.

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to