Re: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED]

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 5 Jan 2010 08:28:49 -0500
On Tuesday 05 January 2010 1:07:48 am Wilkinson, Alex wrote:
> This seems to be happening often to me :(
> 
> FreeBSD 9.0-CURRENT #2 r200661: Fri Dec 18
> 
>    Kernel page fault with the following non-sleepable locks held:
>    exclusive sleep mutex vm page queue free mutex (vm page queue free mutex) 
r = 0
>    (0xc0f65280) locked _at_ /usr/src/sys/vm/vm_page.c:1052
>    exclusive sleep mutex vm object (standard object) r = 0 (0xc207bee0) 
locked _at_
>    /usr/src/sys/vm/vm_fault.c:269
>    
>    KDB: stack backtrace:
>    db_trace_self_wrapper(c0c94824,e8986954,c08ceab5,c0cba8a5,10d,...) at
>    db_trace_self_wrapper+0x26
>    kdb_backtrace(c0cba8a5,10d,ffffffff,c0f2bbfc,e898698c,...) at 
kdb_backtrace+0x29
>    _witness_debugger(c0c96cd9,e89869a0,4,1,0,...) at _witness_debugger+0x25
>    witness_warn(5,0,c0ccb229,c0df122c,c69e6d48,...) at witness_warn+0x1fd
>    trap(e8986a2c) at trap+0x19e
>    calltrap() at calltrap+0x6
>    --- trap 0xc, eip = 0xc0afd732, esp = 0xe8986a6c, ebp = 0xe8986ac0 ---
>    vm_reserv_alloc_page(c207bee0,58a5,0,37e,c207bee0,...) at
>    vm_reserv_alloc_page+0x102
>    vm_page_alloc(c207bee0,58a5,0,40,e8986c0c,...) at vm_page_alloc+0x25e
>    vm_fault(c684c1d0,2e129000,2,0,2e129000,...) at vm_fault+0x575
>    trap_pfault(5,0,c0ccb229,2f0,c69e6d48,...) at trap_pfault+0x10d
>    trap(e8986d38) at trap+0x2d0
>    calltrap() at calltrap+0x6
>    --- trap 0xc, eip = 0x2834ecba, esp = 0xbfbfe454, ebp = 0xbfbfe468 ---

Are you able to get a crashdump and examine it with kgdb?

-- 
John Baldwin
Received on Tue Jan 05 2010 - 12:44:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC