Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2001 16:08:50 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        jake@FreeBSD.org, current@FreeBSD.org
Subject:   RE: Interesting backtrace...
Message-ID:  <XFMail.010318160850.jhb@FreeBSD.org>
In-Reply-To: <xzpwv9nf5kg.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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