DragonFly BSD
DragonFly bugs List (threaded) for 2009-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: panic: assertion: pmap->pm_stats.resident_count > 0 in pmap_release_free_page


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Wed, 30 Dec 2009 11:04:58 +0900

On Tue, Dec 29, 2009 at 10:37:47AM -0800, Matthew Dillon wrote:
>     Here's a new patch to try.  I added a bunch more assertions to
>     try to catch it and I also check to make sure PG_ZERO'd pages
>     are zero (which is expensive but...).
> 
> 	fetch http://apollo.backplane.com/DFlyMisc/pmap02.patch

I had to update to the latest source to apply it cleanly.  The backtrace
seems to remain the same as before.  The kernel and vmcore are at
~y0netan1/crash/{kern,vmcore}.24.

#4  0xc01a4b6a in panic (fmt=0xc0316e5e "assertion: %s in %s")
    at /usr/src/sys/kern/kern_shutdown.c:744
#5  0xc02ec4d1 in pmap_remove_entry (pmap=0xd6ea5394,
    ptq=<value optimized out>, va=711565312, info=0xdbbd2c2c)
    at /usr/src/sys/platform/pc32/i386/pmap.c:1578
#6  pmap_remove_pte (pmap=0xd6ea5394, ptq=<value optimized out>, va=711565312,
    info=0xdbbd2c2c) at /usr/src/sys/platform/pc32/i386/pmap.c:1662
#7  0xc02eca9d in pmap_remove_page (pmap=0xd6ea5394, sva=711565312,
    eva=711569408) at /usr/src/sys/platform/pc32/i386/pmap.c:1690
#8  pmap_remove (pmap=0xd6ea5394, sva=711565312, eva=711569408)
    at /usr/src/sys/platform/pc32/i386/pmap.c:1731
#9  0xc02ad2fb in vm_map_madvise (map=0xd6ea5310, start=711565312,
    end=711569408, behav=10, value=0) at /usr/src/sys/vm/vm_map.c:1793
#10 0xc02b7ca3 in sys_vmspace_mcontrol (uap=0xdbbd2cf0)
    at /usr/src/sys/vm/vm_vmspace.c:470
#11 0xc02f0339 in syscall2 (frame=0xdbbd2d40)
    at /usr/src/sys/platform/pc32/i386/trap.c:1361
#12 0xc02db046 in Xint0x80_syscall ()
    at /usr/src/sys/platform/pc32/i386/exception.s:876



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]