panic: bad dir Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 107985 49605 0 0x1000 0x4080080 0 syz-executor.2 *154453 11583 0 0 0 1K dhcpleased db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8247f99e) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806f215038,ffff8000211dc828,ffff8000211dc858) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dc7f8) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dc7f8) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dc7f8,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff8000211937a8,ffffff9c,7f7ffffe1ea0,0,0,ffff8000211dc9e0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dca50) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dca50) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe1e90, count: 5 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: bad dir ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8247f99e) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806f215038,ffff8000211dc828,ffff8000211dc858) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dc7f8) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dc7f8) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dc7f8,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff8000211937a8,ffffff9c,7f7ffffe1ea0,0,0,ffff8000211dc9e0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dca50) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dca50) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe1e90, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000211dc2b0 rbx 0xffff800020d39bff rdx 0 rcx 0 rax 0xffff8000211937a8 r8 0x101010101010101 r9 0x8080808080808080 r10 0x76ebc82c4b30a53 r11 0xcf7513a921f5ac4 r12 0xffff800020d39a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81ddade8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000211dc2a0 ss 0 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (dhcpleased) pid=154453 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800021193268,0xffff8000ffff77c0 process=0xffff8000ffff94d0 user=0xffff8000211d7000, vmspace=0xfffffd800858a450 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 46583 393056 64618 0 2 0 syz-executor.0 46583 475189 64618 0 3 0x4000080 fsleep syz-executor.0 49605 363646 97125 0 3 0x3000 suspend syz-executor.2 49605 107985 97125 0 7 0x4081080 syz-executor.2 53465 190654 53001 0 2 0 syz-executor.1 53465 503513 53001 0 3 0x4000080 fsleep syz-executor.1 53001 402710 47813 0 3 0x82 nanoslp syz-executor.1 97125 61301 47813 0 3 0x82 nanoslp syz-executor.2 25404 443648 1 0 3 0x100083 ttyin getty 64618 157354 47813 0 3 0x82 nanoslp syz-executor.0 7353 63970 0 0 3 0x14200 acct acct 75171 505817 47813 0 3 0x82 nanoslp syz-executor.3 36108 455595 0 0 3 0x14200 bored sosplice 47813 123656 98609 0 3 0x82 kqread syz-fuzzer 47813 472269 98609 0 3 0x4000082 thrsleep syz-fuzzer 47813 56334 98609 0 3 0x4000082 thrsleep syz-fuzzer 47813 224859 98609 0 3 0x4000082 thrsleep syz-fuzzer 47813 88826 98609 0 3 0x4000082 thrsleep syz-fuzzer 47813 184834 98609 0 3 0x4000082 thrsleep syz-fuzzer 47813 143008 98609 0 3 0x4000082 thrsleep syz-fuzzer 47813 460170 98609 0 3 0x4000082 thrsleep syz-fuzzer 98609 439006 16219 0 3 0x10008a sigsusp ksh 16219 514626 41692 0 3 0x9a poll sshd 41692 375096 1 0 3 0x88 poll sshd 23111 84703 79967 74 3 0x100092 bpf pflogd 79967 484227 1 0 3 0x80 netio pflogd 37804 326441 43490 73 3 0x100090 kqread syslogd 43490 487129 1 0 3 0x100082 netio syslogd 11376 453960 1 0 3 0x100080 kqread resolvd 29503 103467 11583 77 3 0x100092 kqread dhcpleased 80755 513197 11583 77 3 0x100092 kqread dhcpleased *11583 154453 1 0 7 0 dhcpleased 26906 258231 0 0 3 0x14200 bored smr 77017 464651 0 0 2 0x14200 zerothread 57467 475259 0 0 3 0x14200 aiodoned aiodoned 96275 152556 0 0 3 0x14200 syncer update 51841 249760 0 0 3 0x14200 cleaner cleaner 34720 177880 0 0 3 0x14200 reaper reaper 46017 360510 0 0 3 0x14200 pgdaemon pagedaemon 60885 200056 0 0 3 0x14200 bored viomb 22928 245502 0 0 3 0x40014200 acpi0 acpi0 49008 42891 0 0 3 0x40014200 idle1 37161 229353 0 0 3 0x14200 bored softnet 42799 256498 0 0 3 0x14200 bored systqmp 73640 89400 0 0 3 0x14200 bored systq 76847 11619 0 0 3 0x40014200 bored softclock 17152 364611 0 0 3 0x40014200 idle0 1 418916 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 11583 (dhcpleased) thread 0xffff8000211937a8 (154453) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828999f8) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d3 sys/kern/sched_bsd.c:416 #3 sleep_finish+0x1b2 sys/kern/kern_synch.c:433 #4 tsleep+0x12c sys/kern/kern_synch.c:158 #5 biowait+0x91 sys/kern/vfs_bio.c:1271 #6 ffs_bufatoff+0x125 sys/ufs/ffs/ffs_subr.c:71 #7 ufs_lookup+0x466 sys/ufs/ufs/ufs_lookup.c:258 #8 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #10 namei+0x36a sys/kern/vfs_lookup.c:245 #11 vn_open+0x105 sys/kern/vfs_vnops.c:146 #12 doopenat+0x26a sys/kern/vfs_syscalls.c:1128 #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 (0xfffffd806f0ecb40) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vget+0x1d3 sys/kern/vfs_subr.c:677 #6 cache_lookup+0x2b4 sys/kern/vfs_cache.c:224 #7 ufs_lookup+0x1ac sys/ufs/ufs/ufs_lookup.c:162 #8 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #10 namei+0x36a sys/kern/vfs_lookup.c:245 #11 vn_open+0x105 sys/kern/vfs_vnops.c:146 #12 doopenat+0x26a sys/kern/vfs_syscalls.c:1128 #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10228 6711K 7529K 78643K 131064 0 pcb 13 16K 18K 78643K 3817 0 rtable 149 17K 19K 78643K 7193 0 ifaddr 95 24K 24K 78643K 2375 0 sysctl 3 1K 1K 78643K 7 0 counters 48 34K 34K 78643K 498 0 ioctlops 0 0K 4K 78643K 18179 0 iov 0 0K 32K 78643K 3833 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1541 97K 97K 78643K 31687 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 271 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 2683 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 9 29K 49K 78643K 31241 0 sigio 0 0K 0K 78643K 716 0 proc 70 87K 112K 78643K 3574 0 subproc 52 3K 3K 78643K 1018 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1467 0 in_multi 48 3K 4K 78643K 1696 0 ether_multi 1 0K 0K 78643K 362 0 mrt 1 0K 0K 78643K 125 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 253 1129K 1129K 78643K 253 0 exec 0 0K 2K 78643K 5882 0 pfkey data 0 0K 1K 78643K 10 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 631 1756K 1757K 78643K 399147 0 UVM aobj 131 4K 4K 78643K 143 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 2433 0 NDP 11 0K 1K 78643K 409 0 temp 116 4214K 8310K 78643K 289030 0 kqueue 12 18K 24K 78643K 964 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 1889 0 1886 20 18 2 3 0 8 1 rtentry 112 1233 0 1183 2 0 2 2 0 8 0 unpcb 136 17500 0 17485 166 160 6 10 0 8 5 syncache 296 243 0 243 29 29 0 1 0 8 0 tcpqe 32 28 0 28 14 14 0 1 0 8 0 tcpcb 736 11973 0 11923 325 320 5 19 0 8 0 arp 120 193 0 185 1 0 1 1 0 8 0 inpcb 304 27735 0 27727 288 282 6 14 0 8 5 rttmr 72 28 0 28 12 12 0 1 0 8 0 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 22 0 22 1 1 0 1 0 8 0 nd6 48 265 0 256 1 0 1 1 0 8 0 pkpcb 40 142 0 142 11 11 0 1 0 8 0 kcovpl 48 78 0 74 1 0 1 1 0 8 0 ppxss 1248 48 0 48 15 15 0 1 0 8 0 pfstscr 40 10708 0 10708 2 2 0 1 0 8 0 pffrag 232 104 0 102 15 14 1 1 0 482 0 pffrnode 88 104 0 102 15 14 1 1 0 8 0 pffrent 40 975 0 973 19 18 1 1 0 8 0 pfosfp 40 1431 0 1007 5 0 5 5 0 8 0 pfosfpen 112 1431 0 716 21 0 21 21 0 8 0 pfrktable 1344 1153 0 1145 10 9 1 2 0 8 0 pftag 88 18 0 14 3 2 1 1 0 8 0 pfqueue 264 67 0 67 1 1 0 1 0 8 0 pfstitem 24 7350 0 7345 1 0 1 1 0 8 0 pfstkey 112 17570 0 17565 1 0 1 1 0 8 0 pfstate 320 9867 0 9862 4 3 1 3 0 8 0 pfrule 1360 775 0 721 6 1 5 5 0 8 0 art_heap8 4096 8 0 6 6 4 2 3 0 8 0 art_heap4 256 4503 0 4268 47 32 15 19 0 8 0 art_table 32 4511 0 4274 4 2 2 3 0 8 0 art_node 16 1129 0 1087 1 0 1 1 0 8 0 sysvmsgpl 40 64 0 29 1 0 1 1 0 8 0 semapl 112 2681 0 2671 1 0 1 1 0 8 0 shmpl 112 140 0 12 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 40263 0 38458 113 0 113 113 0 8 0 ffsino 272 40263 0 38458 121 0 121 121 0 8 0 nchpl 144 85354 0 83757 61 0 61 61 0 8 0 uvmvnodes 80 7866 0 0 161 0 161 161 0 8 0 vnodes 224 7866 0 0 463 0 463 463 0 8 0 namei 1024 299808 0 299807 5 4 1 1 0 8 0 percpumem 16 261 0 225 1 0 1 1 0 8 0 vcpupl 2048 257 0 1 32 0 32 32 0 8 0 vmpool 560 288 0 32 20 1 19 19 0 8 0 pfiaddrpl 120 308 0 302 6 5 1 1 0 8 0 scsiplug 72 11 0 11 4 4 0 1 0 8 0 scxspl 216 232720 0 232720 53 51 2 8 0 8 2 plimitpl 152 2649 0 2638 1 0 1 1 0 8 0 sigapl 424 31288 0 31250 7 1 6 7 0 8 0 futexpl 64 302961 0 302958 4 3 1 1 0 8 0 knotepl 112 233 0 0 3 0 3 3 0 8 0 kqueuepl 216 5647 0 5639 121 116 5 5 0 8 4 pipepl 336 8915 0 8899 157 155 2 12 0 8 0 fdescpl 496 31248 0 31226 5 2 3 4 0 8 0 filepl 152 224464 0 224310 278 264 14 18 0 8 8 lockfpl 104 6137 0 6135 10 9 1 2 0 8 0 lockfspl 48 1953 0 1951 1 0 1 1 0 8 0 sessionpl 144 99 0 86 1 0 1 1 0 8 0 pgrppl 48 195 0 182 1 0 1 1 0 8 0 ucredpl 96 19971 0 19958 1 0 1 1 0 8 0 zombiepl 144 31250 0 31249 1 0 1 1 0 8 0 processpl 1064 31288 0 31249 5 1 4 5 0 8 0 procpl 672 91903 0 91854 31 25 6 8 0 8 0 srpgc 96 103 0 103 25 25 0 1 0 8 0 sosppl 168 199 0 199 36 36 0 1 0 8 0 sockpl 480 47310 0 47282 893 872 21 35 0 8 17 mcl64k 65536 66 0 0 5 2 3 4 0 8 0 mcl16k 16384 57 0 0 6 3 3 3 0 8 0 mcl12k 12288 73 0 0 2 0 2 2 0 8 0 mcl9k 9216 73 0 0 3 1 2 2 0 8 0 mcl8k 8192 49 0 0 5 2 3 3 0 8 0 mcl4k 4096 49 0 0 5 2 3 3 0 8 0 mcl2k2 2112 15 0 0 1 0 1 1 0 8 0 mcl2k 2048 736 0 0 48 4 44 47 0 8 1 mtagpl 96 1842 0 0 26 0 26 26 0 8 0 mbufpl 256 4537 0 0 213 1 212 212 0 8 0 bufpl 288 52116 0 45437 563 21 542 563 0 8 0 anonpl 24 8800738 0 8776383 411 255 156 171 0 186 0 amapchunkpl 152 971753 0 970925 188 153 35 44 0 158 1 amappl16 200 77387 0 76429 263 207 56 63 0 8 0 amappl15 192 4385 0 4383 4 3 1 1 0 8 0 amappl14 184 4493 0 4492 1 0 1 1 0 8 0 amappl13 176 3291 0 3289 1 0 1 1 0 8 0 amappl12 168 3641 0 3635 1 0 1 1 0 8 0 amappl11 160 3008 0 2993 1 0 1 1 0 8 0 amappl10 152 4365 0 4355 1 0 1 1 0 8 0 amappl9 144 5700 0 5696 1 0 1 1 0 8 0 amappl8 136 5492 0 5377 6 2 4 5 0 8 0 amappl7 128 3728 0 3719 1 0 1 1 0 8 0 amappl6 120 5827 0 5803 1 0 1 1 0 8 0 amappl5 112 28528 0 28501 1 0 1 1 0 8 0 amappl4 104 8193 0 8166 1 0 1 1 0 8 0 amappl3 96 7558 0 7535 1 0 1 1 0 8 0 amappl2 88 8345 0 8285 2 0 2 2 0 8 0 amappl1 80 569019 0 568519 19 8 11 13 0 8 0 amappl 88 396976 0 396647 11 3 8 8 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 142 0 12 3 0 3 3 0 8 0 uaddrrnd 24 31536 0 31258 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 31536 0 31258 2 0 2 2 0 8 0 vmmpekpl 168 226595 0 226529 5 1 4 4 0 8 0 vmmpepl 168 2843429 0 2840238 681 515 166 171 0 357 17 vmsppl 368 31535 0 31258 30 4 26 26 0 8 0 rwobjpl 56 685863 0 675845 183 39 144 145 0 8 0 pdppl 4096 63080 0 62772 389 79 310 311 0 8 2 pvpl 32 14571881 0 14548738 675 481 194 257 0 265 0 pmappl 248 31535 0 31258 19 1 18 18 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 2082 0 636 42 0 42 42 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff827b3ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 kd_curproc sys/dev/kcov.c:575 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 sys/dev/kcov.c:148 __mp_lock(ffffffff828997f0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828997f0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828997f0,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416 sleep_finish(ffff800027b853c0,1) at sleep_finish+0x1b2 sys/kern/kern_synch.c:433 rwsleep(ffff800022cbcd28,ffffffff827e7db0,120,ffffffff8244f0cb,0) at rwsleep+0xd5 sys/kern/kern_synch.c:313 futex_wait(bbad0892e10,14,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800022cbcd28,ffff800027b85550,ffff800027b855b0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800027b85620) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027b85620) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbba38d0c0c0, count: 2 ddb{0}> trace x86_ipi_db(ffffffff827b3ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 kd_curproc sys/dev/kcov.c:575 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 sys/dev/kcov.c:148 __mp_lock(ffffffff828997f0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828997f0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828997f0,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:416 sleep_finish(ffff800027b853c0,1) at sleep_finish+0x1b2 sys/kern/kern_synch.c:433 rwsleep(ffff800022cbcd28,ffffffff827e7db0,120,ffffffff8244f0cb,0) at rwsleep+0xd5 sys/kern/kern_synch.c:313 futex_wait(bbad0892e10,14,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff800022cbcd28,ffff800027b85550,ffff800027b855b0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800027b85620) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800027b85620) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbba38d0c0c0, count: -13 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:440 panic(ffffffff8247f99e) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806f215038,ffff8000211dc828,ffff8000211dc858) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dc7f8) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dc7f8) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dc7f8,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff8000211937a8,ffffff9c,7f7ffffe1ea0,0,0,ffff8000211dc9e0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dca50) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dca50) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe1e90, count: 5 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8247f99e) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806f215038,ffff8000211dc828,ffff8000211dc858) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dc7f8) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dc7f8) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dc7f8,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff8000211937a8,ffffff9c,7f7ffffe1ea0,0,0,ffff8000211dc9e0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dca50) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dca50) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe1e90, count: -10