Bug #2084
openDFBSD v2.11.0.242.g4d317 - panic: zone: entry not free
0%
Description
Hi,
I've been doing some pbulk test in my main machine, and after few days I got
this panic:
#0 _get_mycpu (di=<value optimized out>) at ./machine/thread.h:69
#1 md_dumpsys (di=<value optimized out>) at
/home/source/dfbsd/sys/platform/pc64/x86_64/dump_machdep.c:263
#2 0xffffffff8047b735 in dumpsys () at
/home/source/dfbsd/sys/kern/kern_shutdown.c:927
#3 0xffffffff8047bd9b in boot (howto=260) at
/home/source/dfbsd/sys/kern/kern_shutdown.c:389
#4 0xffffffff8047c044 in panic (fmt=0xffffffff807f41c6 "zone: entry not free")
at /home/source/dfbsd/sys/kern/kern_shutdown.c:833
#5 0xffffffff80695d2c in zerror (error=<value optimized out>) at
/home/source/dfbsd/sys/vm/vm_zone.c:617
#6 0xffffffff806967ea in zalloc (z=0xffffffff80fcabc0) at
/home/source/dfbsd/sys/vm/vm_zone.c:72
#7 0xffffffff8073c853 in get_pv_entry (pmap=0xffffffe06fcf7030, va=34369056768,
mpte=0xffffffe00333f280, m=0xffffffe0001e4280)
at /home/source/dfbsd/sys/platform/pc64/x86_64/pmap.c:2042
#8 pmap_insert_entry (pmap=0xffffffe06fcf7030, va=34369056768,
mpte=0xffffffe00333f280, m=0xffffffe0001e4280)
at /home/source/dfbsd/sys/platform/pc64/x86_64/pmap.c:2132
#9 0xffffffff8073fb1c in pmap_enter (pmap=0xffffffe06fcf7030, va=34369056768,
m=<value optimized out>, prot=<value optimized out>,
wired=<value optimized out>) at
/home/source/dfbsd/sys/platform/pc64/x86_64/pmap.c:2667
#10 0xffffffff8067f93f in vm_prefault (map=<value optimized out>, vaddr=<value
optimized out>, fault_type=<value optimized out>,
fault_flags=<value optimized out>) at /home/source/dfbsd/sys/vm/vm_fault.c:2134
#11 vm_fault (map=<value optimized out>, vaddr=<value optimized out>,
fault_type=<value optimized out>, fault_flags=<value optimized out>)
at /home/source/dfbsd/sys/vm/vm_fault.c:435
#12 0xffffffff807189a7 in trap_pfault (frame=0xffffffe07c147c08, usermode=<value
optimized out>)
at /home/source/dfbsd/sys/platform/pc64/x86_64/trap.c:855
#13 0xffffffff80718d6e in trap (frame=0xffffffe07c147c08) at
/home/source/dfbsd/sys/platform/pc64/x86_64/trap.c:492
#14 0xffffffff80711a8e in calltrap () at
/home/source/dfbsd/sys/platform/pc64/x86_64/exception.S:187
#15 0x00000008008e61a0 in ?? ()
I can upload the coredump upon request. The core.txt file can be found here:
http://leaf.dragonflybsd.org/~tuxillo/archive/temp/core_notfree.7.txt
Cheers,
Antonio Huete
Updated by tuxillo over 13 years ago
It seems it's catched by INVARIANTS:
69 #ifdef INVARIANTS
70 KASSERT);
71 if (((void *) item)[1] != (void *) ZENTRY_FREE)
72 zerror(ZONE_ERROR_NOTFREE);
73 ((void *) item)[1] = 0;
74 #endif
Updated by tuxillo over 13 years ago
Uploaded to leaf and made available for wheel group only. Contact me in case you
wanna take a look at it.
Updated by nant over 12 years ago
- Assignee deleted (
0)
I got bit by this one too on 3.0.2-RELEASE a few days ago while building kernel.
panic: zone: entry not free
cpuid = 0
Trace beginning at frame 0xffffffe0b1276298
panic() at panic+0x1fb 0xffffffff804b101d
panic() at panic+0x1fb 0xffffffff804b101d
zdestroy() at zdestroy 0xffffffff806da08b
zalloc() at zalloc+0x1a2 0xffffffff806daa0e
pmap_allocpte() at pmap_allocpte+0xc4 0xffffffff80799779
pmap_enter() at pmap_enter+0x1f4 0xffffffff80799f72
pmap_enter_quick() at pmap_enter_quick+0x14 0xffffffff8079a378
pmap_object_init_pt_callback() at pmap_object_init_pt_callback+0x8f 0xffffffff8079a409
vm_page_rb_tree_RB_SCAN() at vm_page_rb_tree_RB_SCAN+0xf8 0xffffffff806cdc03
pmap_object_init_pt() at pmap_object_init_pt+0xd5 0xffffffff807967e3
vm_map_insert() at vm_map_insert+0x424 0xffffffff806c2aee
elf64_load_section() at elf64_load_section+0x15c 0xffffffff804803e4
exec_elf64_imgact() at exec_elf64_imgact+0x949 0xffffffff80481254
kern_execve() at kern_execve+0x30d 0xffffffff8049b398
sys_execve() at sys_execve+0x76 0xffffffff8049be33
syscall2() at syscall2+0x370 0xffffffff807712b1
Xfast_syscall() at Xfast_syscall+0xcb 0xffffffff8075ac3b
boot() called on cpu#0
Uptime: 32d23h39m35s
SECONDARY PANIC ON CPU 1 THREAD 0xffffffe0323ecbf0
Physical memory: 4045 MB
Dumping 2241 MB: 2226 2210 2194 2178 2162 2146 2130 2114 2098 2082 2066 2050 2034 2018 2002 1986 1970 1954 1938 1922 1906 1890 1874 1858 1842 1826 1810 1794 1778 1762 1746 1730 1714 1698 1682 1666 1650 1634 1618 1602 1586 1570 1554 1538 1522 1506 1490 1474 1458 1442 1426 1410 1394 1378 1362 1346 1330 1314 1298 1282 1266 1250 1234 1218 1202 1186 1170 1154 1138 1122 1106 1090 1074 1058 1042 1026 1010 994 978 962 946 930 914 898 882 866 850 834 818 802 786 770 754 738 722 706 690 674 658 642 626 610 594 578 562 546 530 514 498 482 466 450 434 418 402 386 370 354 338 322 306 290 274 258 242 226 210 194 178 162 146 130 114 98 82 66 50 34 18 2