panic: pool_do_get: fdescpl free list modified: page 0xfffffd806f143000; item addr 0xfffffd806f1431f8; offset 0x48=0xdeaf4153 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *409107 47942 0 0x2 0 1K syz-executor.1 518696 12287 0 0x2 0x4000000 0 syz-fuzzer db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825fe062) at panic+0x177 sys/kern/subr_prf.c:202 pool_do_get(ffffffff82a5f7a8,9,ffff800022c52888) at pool_do_get+0x474 sys/kern/subr_pool.c:741 pool_get(ffffffff82a5f7a8,9) at pool_get+0xe9 sys/kern/subr_pool.c:584 fdcopy(ffff8000ffff8c80) at fdcopy+0x44 fdinit sys/kern/kern_descrip.c:1072 [inline] fdcopy(ffff8000ffff8c80) at fdcopy+0x44 sys/kern/kern_descrip.c:1111 process_new(ffff800021205270,ffff8000ffff8c80,1) at process_new+0x13b sys/kern/kern_fork.c:259 fork1(ffff8000fffef268,1,ffffffff81b6aa50,0,ffff800022c52ac0,0) at fork1+0x30b sys/kern/kern_fork.c:383 syscall(ffff800022c52b30) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c52b30) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffce4c0, count: 6 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: pool_do_get: fdescpl free list modified: page 0xfffffd806f143000; item addr 0xfffffd806f1431f8; offset 0x48=0xdeaf4153 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825fe062) at panic+0x177 sys/kern/subr_prf.c:202 pool_do_get(ffffffff82a5f7a8,9,ffff800022c52888) at pool_do_get+0x474 sys/kern/subr_pool.c:741 pool_get(ffffffff82a5f7a8,9) at pool_get+0xe9 sys/kern/subr_pool.c:584 fdcopy(ffff8000ffff8c80) at fdcopy+0x44 fdinit sys/kern/kern_descrip.c:1072 [inline] fdcopy(ffff8000ffff8c80) at fdcopy+0x44 sys/kern/kern_descrip.c:1111 process_new(ffff800021205270,ffff8000ffff8c80,1) at process_new+0x13b sys/kern/kern_fork.c:259 fork1(ffff8000fffef268,1,ffffffff81b6aa50,0,ffff800022c52ac0,0) at fork1+0x30b sys/kern/kern_fork.c:383 syscall(ffff800022c52b30) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c52b30) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffce4c0, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800022c526d0 rbx 0xffff800020cd9c5f rdx 0 rcx 0 rax 0xffff8000fffef268 r8 0x101010101010101 r9 0x8080808080808080 r10 0xa7d4be36de54170d r11 0x9bab68456724f318 r12 0xffff800020cd9a60 r13 0 r14 0 r15 0x1 rip 0xffffffff821cad28 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022c526c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=409107 stat=onproc flags process=2 proc=0 pri=17, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff800021132fc8,0xffff8000fffefa58 process=0xffff8000ffff8c80 user=0xffff800022c4d000, vmspace=0xfffffd800874a170 estcpu=36, cpticks=1, pctcpu=0.1 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 79667 484655 59274 0 2 0 syz-executor.5 65322 330921 53198 0 2 0 syz-executor.3 65322 423829 53198 0 3 0x4000080 fsleep syz-executor.3 52364 55342 56125 60929 2 0x10 syz-executor.4 52364 445101 56125 60929 2 0x4000010 syz-executor.4 93483 45806 12287 0 2 0x2 syz-executor.0 20721 417774 0 0 3 0x14200 bored sosplice 21846 149314 12287 0 2 0x2 syz-executor.7 93956 177231 12287 0 2 0x2 syz-executor.6 56125 271430 12287 0 3 0x82 nanoslp syz-executor.4 59274 221376 12287 0 3 0x82 nanoslp syz-executor.5 53198 145931 12287 0 3 0x82 nanoslp syz-executor.3 60429 292730 12287 0 2 0x2 syz-executor.2 *47942 409107 12287 0 7 0x2 syz-executor.1 12287 224813 86850 0 3 0x82 thrsleep syz-fuzzer 12287 400896 86850 0 3 0x4000082 nanoslp syz-fuzzer 12287 322947 86850 0 3 0x4000082 thrsleep syz-fuzzer 12287 400694 86850 0 3 0x4000082 thrsleep syz-fuzzer 12287 415614 86850 0 3 0x4000082 thrsleep syz-fuzzer 12287 198208 86850 0 3 0x4000082 thrsleep syz-fuzzer 12287 518696 86850 0 7 0x4000002 syz-fuzzer 12287 450573 86850 0 3 0x4000082 thrsleep syz-fuzzer 86850 521807 29043 0 3 0x10008a sigsusp ksh 29043 429245 81991 0 3 0x9a kqread sshd 68665 340424 1 0 3 0x100083 ttyin getty 81991 36586 1 0 3 0x88 kqread sshd 96918 414183 65031 74 3 0x1100092 bpf pflogd 65031 264161 1 0 3 0x80 netio pflogd 66238 214052 49610 73 3 0x1100090 kqread syslogd 49610 26187 1 0 3 0x100082 netio syslogd 24341 451492 1 0 3 0x100080 kqread resolvd 90188 285095 42961 77 3 0x100092 kqread dhcpleased 41225 315197 42961 77 3 0x100092 kqread dhcpleased 42961 518585 1 0 3 0x80 kqread dhcpleased 48389 176057 0 0 3 0x14200 bored smr 18769 217519 0 0 2 0x14200 zerothread 17112 46969 0 0 3 0x14200 aiodoned aiodoned 4777 112658 0 0 3 0x14200 syncer update 35319 77361 0 0 3 0x14200 cleaner cleaner 47639 513957 0 0 3 0x14200 reaper reaper 5934 492053 0 0 3 0x14200 pgdaemon pagedaemon 12192 407380 0 0 3 0x14200 bored viomb 56632 68524 0 0 3 0x40014200 acpi0 acpi0 67812 482818 0 0 3 0x40014200 idle1 64305 134747 0 0 3 0x14200 bored softnet 58020 315950 0 0 3 0x14200 bored softnet 47516 384595 0 0 3 0x14200 bored softnet 47349 490651 0 0 3 0x14200 bored softnet 68432 267367 0 0 3 0x14200 fdlock systqmp 13650 408326 0 0 3 0x14200 bored systq 28048 493766 0 0 3 0x40014200 bored softclock 86824 164915 0 0 3 0x40014200 idle0 1 344840 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex fdescpl r = 0 (0xffffffff82a5f7b8) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pool_get+0xbd sys/kern/subr_pool.c:581 #4 fdcopy+0x44 fdinit sys/kern/kern_descrip.c:1072 [inline] #4 fdcopy+0x44 sys/kern/kern_descrip.c:1111 #5 process_new+0x13b sys/kern/kern_fork.c:259 #6 fork1+0x30b sys/kern/kern_fork.c:383 #7 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #8 Xsyscall+0x128 Process 60429 (syz-executor.2) thread 0xffff8000fffefa48 (292730) exclusive rrwlock inode r = 0 (0xfffffd8063a582b8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vget+0x1d3 sys/kern/vfs_subr.c:678 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1318 #8 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #11 namei+0x36a sys/kern/vfs_lookup.c:245 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1852 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8065f2df80) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1852 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 47942 (syz-executor.1) thread 0xffff8000fffef268 (409107) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82ba0780) #0 witness_lock+0x44d #1 syscall+0x3ef mi_syscall sys/sys/syscall_mi.h:93 [inline] #1 syscall+0x3ef sys/arch/amd64/amd64/trap.c:585 #2 Xsyscall+0x128 exclusive mutex fdescpl r = 0 (0xffffffff82a5f7b8) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pool_get+0xbd sys/kern/subr_pool.c:581 #4 fdcopy+0x44 fdinit sys/kern/kern_descrip.c:1072 [inline] #4 fdcopy+0x44 sys/kern/kern_descrip.c:1111 #5 process_new+0x13b sys/kern/kern_fork.c:259 #6 fork1+0x30b sys/kern/kern_fork.c:383 #7 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #8 Xsyscall+0x128 Process 68432 (systqmp) thread 0xffff8000210e8000 (267367) shared rwlock systqmp r = 0 (0xffffffff829bac50) #0 witness_lock+0x44d #1 taskq_thread+0xca sys/kern/kern_task.c:445 #2 proc_trampoline+0x1c ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10190 6602K 7318K 78643K 14412 0 pcb 13 11K 12K 78643K 115 0 rtable 215 6K 8K 78643K 408 0 ifaddr 82 17K 18K 78643K 120 0 sysctl 2 0K 0K 78643K 2 0 counters 54 35K 35K 78643K 64 0 ioctlops 0 0K 4K 78643K 2023 0 iov 0 0K 20K 78643K 86 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1371 86K 86K 78643K 2234 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 39 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 89K 78643K 863 0 sigio 0 0K 0K 78643K 48 0 proc 70 91K 128K 78643K 587 0 subproc 104 6K 6K 78643K 117 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 18 0 in_multi 92 6K 7K 78643K 142 0 ether_multi 1 0K 0K 78643K 7 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 2K 78643K 696 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 209 79K 80K 78643K 6716 0 UVM aobj 5 2K 2K 78643K 6 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 14 0 NDP 11 0K 2K 78643K 36 0 temp 108 4752K 5746K 78643K 12861 0 kqueue 13 18K 26K 78643K 90 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 83 0 80 2 1 1 2 0 8 0 rtentry 112 125 0 25 4 0 4 4 0 8 0 unpcb 136 620 0 603 4 1 3 3 0 8 2 syncache 296 9 0 8 3 2 1 1 0 8 0 tcpqe 32 917 0 917 2 2 0 1 0 8 0 tcpcb 736 288 0 270 11 2 9 11 0 8 7 arp 120 20 0 4 1 0 1 1 0 8 0 inpcb 312 761 0 748 7 0 7 7 0 8 6 nd6 48 30 0 8 1 0 1 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 pfstscr 40 40 0 40 1 1 0 1 0 8 0 pffrag 232 3 0 3 1 0 1 1 0 482 1 pffrnode 88 3 0 3 1 0 1 1 0 8 1 pffrent 40 6 0 6 1 0 1 1 0 8 1 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 4 0 4 1 0 1 1 0 8 1 pftag 88 8 0 8 1 1 0 1 0 8 0 pfstitem 24 20 0 14 1 0 1 1 0 8 0 pfstkey 112 100 0 94 1 0 1 1 0 8 0 pfstate 336 60 0 54 2 0 2 2 0 8 1 pfrule 1360 140 0 136 3 1 2 2 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 502 0 88 29 0 29 29 0 8 3 art_table 32 503 0 88 4 0 4 4 0 8 0 art_node 16 124 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 0 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 36 0 26 1 0 1 1 0 8 0 shmpl 112 3 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2452 0 1014 91 0 91 91 0 8 0 ffsino 272 2452 0 1014 97 0 97 97 0 8 0 nchpl 144 3713 0 2070 63 0 63 63 0 8 0 uvmvnodes 80 3393 0 0 70 0 70 70 0 8 0 vnodes 224 3393 0 0 200 0 200 200 0 8 0 namei 1024 13453 0 13453 3 2 1 2 0 8 1 percpumem 16 44 0 5 1 0 1 1 0 8 0 pfiaddrpl 120 4 0 4 1 0 1 1 0 8 1 kstatmem 264 32 0 10 2 0 2 2 0 8 0 scxspl 216 10834 0 10834 9 8 1 8 0 8 1 plimitpl 152 186 0 171 1 0 1 1 0 8 0 sigapl 424 1166 0 1122 8 2 6 7 0 8 0 futexpl 64 6904 0 6903 1 0 1 1 0 8 0 knotepl 120 245 0 0 7 0 7 7 0 8 0 kqueuepl 216 179 0 170 5 4 1 5 0 8 0 pipepl 336 296 0 268 8 0 8 8 0 8 5 fdescpl 496 1148 0 1122 6 1 5 5 0 8 1 pool(0xffffffff82a5f7a8:fdescpl): page inconsistency: page 0xfffffd806f143000; 1 on list, 6 missing, 8 items per page filepl 152 7420 0 7175 21 3 18 18 0 8 7 lockfpl 104 279 0 277 1 0 1 1 0 8 0 lockfspl 48 54 0 52 1 0 1 1 0 8 0 sessionpl 144 25 0 8 1 0 1 1 0 8 0 pgrppl 48 28 0 11 1 0 1 1 0 8 0 ucredpl 96 638 0 625 1 0 1 1 0 8 0 zombiepl 144 1122 0 1122 1 0 1 1 0 8 1 processpl 1064 1167 0 1122 4 0 4 4 0 8 0 procpl 672 2608 0 2554 8 1 7 7 0 8 1 srpgc 96 2 0 2 1 0 1 1 0 8 1 sosppl 168 6 0 6 1 1 0 1 0 8 0 sockpl 480 1467 0 1434 24 11 13 21 0 8 8 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 11 0 0 2 0 2 2 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 176 0 0 21 0 21 21 0 8 0 mtagpl 96 677 0 0 17 0 17 17 0 8 0 mbufpl 256 939 0 0 58 0 58 58 0 8 0 bufpl 288 4738 0 145 329 0 329 329 0 8 0 anonpl 24 219662 0 204551 131 18 113 129 0 186 9 amapchunkpl 152 18026 0 17423 38 4 34 37 0 158 0 amappl16 200 3536 0 2989 42 12 30 42 0 8 0 amappl15 192 187 0 183 1 0 1 1 0 8 0 amappl14 184 7 0 5 1 0 1 1 0 8 0 amappl13 176 299 0 296 1 0 1 1 0 8 0 amappl12 168 85 0 84 1 0 1 1 0 8 0 amappl11 160 277 0 256 1 0 1 1 0 8 0 amappl10 152 35 0 30 1 0 1 1 0 8 0 amappl9 144 603 0 597 1 0 1 1 0 8 0 amappl8 136 578 0 541 2 0 2 2 0 8 0 amappl7 128 117 0 106 1 0 1 1 0 8 0 amappl6 120 310 0 291 2 1 1 2 0 8 0 amappl5 112 618 0 603 1 0 1 1 0 8 0 amappl4 104 1154 0 1125 2 1 1 2 0 8 0 amappl3 96 2918 0 2876 2 0 2 2 0 8 0 amappl2 88 1661 0 1601 3 1 2 3 0 8 0 amappl1 80 29160 0 28569 20 5 15 20 0 8 0 amappl 88 6244 0 6100 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 5 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1148 0 1122 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1148 0 1122 1 0 1 1 0 8 0 vmmpekpl 168 13104 0 13060 3 0 3 3 0 8 0 vmmpepl 168 114094 0 111850 163 22 141 143 0 357 27 vmsppl 368 1147 0 1122 4 1 3 4 0 8 0 rwobjpl 56 33010 0 28127 72 1 71 71 0 8 0 pdppl 4096 2303 0 2244 139 70 69 81 0 8 10 pvpl 32 530401 0 511205 242 31 211 242 0 265 35 pmappl 248 1147 0 1122 3 1 2 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 813 0 78 21 0 21 21 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff8294fff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82ba0578) at __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline] __mp_lock(ffffffff82ba0578) at __mp_lock+0x120 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff82ba0578) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82ba0578) at __mp_lock+0x129 sys/kern/kern_lock.c:147 kqueue_scan(ffff8000211f8140,8,ffff8000211f8240,ffff8000211f8340,ffff8000fffeed28,ffff8000211f839c) at kqueue_scan+0xdb sys/kern/kern_event.c:1299 sys_kevent(ffff8000fffeed28,ffff8000211f8400,ffff8000211f8460) at sys_kevent+0x4a4 sys/kern/kern_event.c:984 syscall(ffff8000211f84d0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211f84d0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x29d333850, count: 4 ddb{0}> trace x86_ipi_db(ffffffff8294fff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82ba0578) at __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline] __mp_lock(ffffffff82ba0578) at __mp_lock+0x120 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x1f __mp_lock(ffffffff82ba0578) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82ba0578) at __mp_lock+0x129 sys/kern/kern_lock.c:147 kqueue_scan(ffff8000211f8140,8,ffff8000211f8240,ffff8000211f8340,ffff8000fffeed28,ffff8000211f839c) at kqueue_scan+0xdb sys/kern/kern_event.c:1299 sys_kevent(ffff8000fffeed28,ffff8000211f8400,ffff8000211f8460) at sys_kevent+0x4a4 sys/kern/kern_event.c:984 syscall(ffff8000211f84d0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211f84d0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x29d333850, count: -11 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825fe062) at panic+0x177 sys/kern/subr_prf.c:202 pool_do_get(ffffffff82a5f7a8,9,ffff800022c52888) at pool_do_get+0x474 sys/kern/subr_pool.c:741 pool_get(ffffffff82a5f7a8,9) at pool_get+0xe9 sys/kern/subr_pool.c:584 fdcopy(ffff8000ffff8c80) at fdcopy+0x44 fdinit sys/kern/kern_descrip.c:1072 [inline] fdcopy(ffff8000ffff8c80) at fdcopy+0x44 sys/kern/kern_descrip.c:1111 process_new(ffff800021205270,ffff8000ffff8c80,1) at process_new+0x13b sys/kern/kern_fork.c:259 fork1(ffff8000fffef268,1,ffffffff81b6aa50,0,ffff800022c52ac0,0) at fork1+0x30b sys/kern/kern_fork.c:383 syscall(ffff800022c52b30) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c52b30) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffce4c0, count: 6 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825fe062) at panic+0x177 sys/kern/subr_prf.c:202 pool_do_get(ffffffff82a5f7a8,9,ffff800022c52888) at pool_do_get+0x474 sys/kern/subr_pool.c:741 pool_get(ffffffff82a5f7a8,9) at pool_get+0xe9 sys/kern/subr_pool.c:584 fdcopy(ffff8000ffff8c80) at fdcopy+0x44 fdinit sys/kern/kern_descrip.c:1072 [inline] fdcopy(ffff8000ffff8c80) at fdcopy+0x44 sys/kern/kern_descrip.c:1111 process_new(ffff800021205270,ffff8000ffff8c80,1) at process_new+0x13b sys/kern/kern_fork.c:259 fork1(ffff8000fffef268,1,ffffffff81b6aa50,0,ffff800022c52ac0,0) at fork1+0x30b sys/kern/kern_fork.c:383 syscall(ffff800022c52b30) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022c52b30) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffce4c0, count: -9