panic: bad dir Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 183929 36414 0 0x2 0 0 syz-executor.0 *392208 95794 0 0x2 0 1K syz-executor.5 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff828dffec) at panic+0x17b sys/kern/subr_prf.c:198 ufs_lookup() at ufs_lookup+0x169b ufs_dirbad sys/ufs/ufs/ufs_lookup.c:600 [inline] ufs_lookup() at ufs_lookup+0x169b sys/ufs/ufs/ufs_lookup.c:435 VOP_LOOKUP(fffffd8067ababe8,ffff80002f0aa508,ffff80002f0aa538) at VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002f0aa4d8) at vfs_lookup+0x6e2 sys/kern/vfs_lookup.c:566 namei(ffff80002f0aa4d8) at namei+0x55a sys/kern/vfs_lookup.c:250 dounlinkat(ffff80002a1a6298,ffffff9c,7dda3aed5750,8) at dounlinkat+0x9d sys/kern/vfs_syscalls.c:1847 syscall(ffff80002f0aa6b0) at syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002f0aa6b0) at syscall+0x533 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7dda3aed5740, 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: bad dir ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff828dffec) at panic+0x17b sys/kern/subr_prf.c:198 ufs_lookup() at ufs_lookup+0x169b ufs_dirbad sys/ufs/ufs/ufs_lookup.c:600 [inline] ufs_lookup() at ufs_lookup+0x169b sys/ufs/ufs/ufs_lookup.c:435 VOP_LOOKUP(fffffd8067ababe8,ffff80002f0aa508,ffff80002f0aa538) at VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002f0aa4d8) at vfs_lookup+0x6e2 sys/kern/vfs_lookup.c:566 namei(ffff80002f0aa4d8) at namei+0x55a sys/kern/vfs_lookup.c:250 dounlinkat(ffff80002a1a6298,ffffff9c,7dda3aed5750,8) at dounlinkat+0x9d sys/kern/vfs_syscalls.c:1847 syscall(ffff80002f0aa6b0) at syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002f0aa6b0) at syscall+0x533 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7dda3aed5740, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002f0aa160 rbx 0xffff800029ceccb7 rdx 0 rcx 0xffff80002a1a6298 rax 0xffff800029cebff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xa2cb7c24d1f66731 r11 0x1ca71aaeb3bc2e55 r12 0xffff800029cecab8 r13 0 r14 0 r15 0x1 rip 0xffffffff8135124c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002f0aa150 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.5) tid=392208 pid=95794 tcnt=1 stat=onproc flags process=2 proc=0 runpri=84, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a1a5aa0,0xffff80002a1a5808 process=0xffff80002a20a3a0 user=0xffff80002f0a5000, vmspace=0xfffffd8062f0a1e8 estcpu=36, cpticks=0, pctcpu=0.2, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 69894 66274 77879 0 3 0x80 nanoslp syz-executor.4 69894 408730 77879 0 3 0x4000080 fsleep syz-executor.4 55707 248676 48460 0 2 0 syz-executor.2 55707 504100 48460 0 2 0x4000000 syz-executor.2 48460 2854 49284 0 3 0x82 nanoslp syz-executor.2 36414 183929 49284 0 7 0x2 syz-executor.0 *95794 392208 49284 0 7 0x2 syz-executor.5 45709 90943 49284 0 2 0x2 syz-executor.6 77879 120948 49284 0 3 0x82 nanoslp syz-executor.4 89228 161058 49284 0 3 0x82 nanoslp syz-executor.1 145 302987 49284 0 2 0x2 syz-executor.7 57482 1039 0 0 3 0x14280 nfsidl nfsio 56782 433130 0 0 3 0x14280 nfsidl nfsio 13268 130102 0 0 3 0x14280 nfsidl nfsio 94957 52545 0 0 3 0x14280 nfsidl nfsio 69839 336178 0 0 3 0x14280 nfsidl nfsio 97869 111205 1 0 3 0x100083 ttyopn getty 1608 194124 0 0 3 0x14200 bored sosplice 84344 382481 54463 0 3 0x100082 netio arp 54463 396570 1 0 3 0x10008a sigsusp sh 49284 56025 59145 0 3 0x2000082 thrsleep syz-fuzzer 49284 295274 59145 0 2 0x6000082 syz-fuzzer 49284 292230 59145 0 3 0x6000082 thrsleep syz-fuzzer 49284 379819 59145 0 3 0x6000082 wait syz-fuzzer 49284 478251 59145 0 3 0x6000082 wait syz-fuzzer 49284 78009 59145 0 3 0x6000082 wait syz-fuzzer 49284 399054 59145 0 3 0x6000082 thrsleep syz-fuzzer 49284 57789 59145 0 3 0x6000082 wait syz-fuzzer 49284 368582 59145 0 3 0x6000082 wait syz-fuzzer 49284 165167 59145 0 3 0x6000082 wait syz-fuzzer 49284 97166 59145 0 3 0x6000082 thrsleep syz-fuzzer 49284 377368 59145 0 3 0x6000082 thrsleep syz-fuzzer 49284 142099 59145 0 3 0x6000082 wait syz-fuzzer 49284 136183 59145 0 2 0x6000082 syz-fuzzer 49284 71112 59145 0 3 0x6000082 wait syz-fuzzer 49284 375763 59145 0 3 0x6000082 kqread syz-fuzzer 59145 329753 67396 0 3 0x10008a sigsusp ksh 67396 155427 81840 0 2 0x9a sshd 81840 38301 1 0 3 0x88 kqread sshd 488 188964 78471 74 3 0x1100092 bpf pflogd 78471 436372 1 0 3 0x80 netio pflogd 72525 496122 54262 73 3 0x1100090 kqread syslogd 54262 482335 1 0 3 0x100082 netio syslogd 56058 2889 1 0 3 0x100080 kqread resolvd 23875 378393 83834 77 3 0x100092 kqread dhcpleased 48361 410191 83834 77 3 0x100092 kqread dhcpleased 83834 133824 1 0 3 0x80 kqread dhcpleased 75816 440258 0 0 3 0x14200 bored smr 88431 136148 0 0 2 0x14200 zerothread 28181 82119 0 0 3 0x14200 aiodoned aiodoned 20593 346242 0 0 3 0x14200 syncer update 83482 135433 0 0 3 0x14200 cleaner cleaner 54434 319406 0 0 3 0x14200 reaper reaper 20341 56365 0 0 3 0x14200 pgdaemon pagedaemon 32609 411252 0 0 3 0x14200 bored viomb 41528 131227 0 0 3 0x40014200 acpi0 acpi0 31024 16727 0 0 3 0x40014200 idle1 11237 345077 0 0 3 0x14200 bored softnet3 66806 223235 0 0 3 0x14200 bored softnet2 81227 328186 0 0 3 0x14200 bored softnet1 17991 523159 0 0 3 0x14200 bored softnet0 60927 521057 0 0 3 0x14200 bored systqmp 11683 505895 0 0 3 0x14200 bored systq 40659 111597 0 0 3 0x14200 tmoslp softclockmp 79970 425514 0 0 3 0x40014200 tmoslp softclock 63949 513503 0 0 3 0x40014200 idle0 1 233798 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 55707 (syz-executor.2) thread 0xffff80002a23e540 (504100) exclusive rwlock dklk r = 0 (0xffff8000006aa068) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 vndopen+0x91 sys/dev/vnd.c:187 #3 spec_open+0x3e3 sys/kern/spec_vnops.c:150 #4 VOP_OPEN+0x76 sys/kern/vfs_vops.c:138 #5 vn_open+0x452 sys/kern/vfs_vnops.c:177 #6 doopenat+0x26e sys/kern/vfs_syscalls.c:1126 #7 syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] #7 syscall+0x533 sys/arch/amd64/amd64/trap.c:577 #8 Xsyscall+0x128 Process 95794 (syz-executor.5) thread 0xffff80002a1a6298 (392208) exclusive rrwlock inode r = 0 (0xfffffd806e40ca38) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0xd5 sys/kern/vfs_lookup.c:418 #6 namei+0x55a sys/kern/vfs_lookup.c:250 #7 dounlinkat+0x9d sys/kern/vfs_syscalls.c:1847 #8 syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] #8 syscall+0x533 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82e9ce78) #0 witness_lock+0x447 #1 syscall+0x51a mi_syscall sys/sys/syscall_mi.h:183 [inline] #1 syscall+0x51a sys/arch/amd64/amd64/trap.c:577 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10215 6495K 7119K 166960K 20497 0 pcb 15 16K 18K 166960K 422 0 rtable 177 13K 15K 166960K 1501 0 pf 30 9K 10K 166960K 170 0 ifaddr 36 14K 16K 166960K 200 0 ifgroup 51 2K 2K 166960K 258 0 sysctl 3 0K 0K 166960K 7 0 counters 62 36K 37K 166960K 182 0 ioctlops 0 0K 4K 166960K 1746 0 iov 0 0K 18K 166960K 639 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1509 94K 95K 166960K 4700 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 56 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 1048 0 dirhash 12 2K 2K 166960K 42 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 14 49K 81K 166960K 6646 0 sigio 0 0K 0K 166960K 77 0 proc 70 91K 128K 166960K 1558 0 subproc 117 7K 7K 166960K 481 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 217 0 in_multi 66 4K 7K 166960K 428 0 ether_multi 1 0K 0K 166960K 1 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 223 996K 996K 166960K 223 0 exec 0 0K 1K 166960K 1214 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 400 195K 210K 166960K 66146 0 UVM aobj 131 4K 4K 166960K 134 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 128 0 NDP 11 0K 1K 166960K 139 0 temp 76 6780K 6886K 166960K 34945 0 kqueue 12 18K 24K 166960K 422 0 SYN cache 2 36K 44K 166960K 3 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 332 0 328 3 2 1 2 0 8 0 rtentry 112 477 0 400 4 0 4 4 0 8 0 unpcb 144 3016 0 3001 32 31 1 6 0 8 0 syncache 336 58 0 58 15 14 1 1 0 8 1 sackhl 24 4 0 4 2 2 0 1 0 8 0 tcpqe 32 1136 0 1136 12 11 1 1 0 8 1 tcpcb 808 1744 0 1736 61 59 2 11 0 8 0 arp 120 86 0 74 1 0 1 1 0 8 0 inpcb 392 4716 0 4705 85 76 9 12 0 8 6 nd6 136 107 0 92 1 0 1 1 0 8 0 pkpcb 40 13 0 13 4 4 0 1 0 8 0 kcovpl 48 37 0 28 1 0 1 1 0 8 0 ppxss 1168 21 0 21 7 7 0 1 0 8 0 pffrag 232 39 0 38 3 2 1 1 0 482 0 pffrnode 88 39 0 38 3 2 1 1 0 8 0 pffrent 40 91 0 90 3 2 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 245 0 213 1 0 1 1 0 8 0 pfstkey 128 247 0 215 2 0 2 2 0 8 0 pfstate 376 247 0 215 7 3 4 4 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1804 0 1476 47 17 30 30 0 8 2 art_table 32 1805 0 1476 4 0 4 4 0 8 0 art_node 16 466 0 398 1 0 1 1 0 8 0 sysvmsgpl 40 44 0 4 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 1043 0 1033 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 37 0 20 3 0 3 3 0 8 0 dino2pl 256 9533 0 8069 92 0 92 92 0 8 0 ffsino 272 9533 0 8069 99 0 99 99 0 8 0 nchpl 144 18302 0 16647 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 59504 0 59503 8 7 1 2 0 8 0 percpumem 16 105 0 60 1 0 1 1 0 8 0 vcpupl 2048 29 0 3 4 0 4 4 0 8 0 vmpool 696 35 0 9 3 0 3 3 0 8 0 kstatmem 264 142 0 120 4 2 2 3 0 8 0 scxspl 216 67589 0 67589 26 25 1 8 1 8 1 plimitpl 152 618 0 601 1 0 1 1 0 8 0 sigapl 424 6917 0 6864 8 1 7 7 0 8 0 futexpl 64 49518 0 49517 3 2 1 1 0 8 0 knotepl 120 138 0 0 4 0 4 4 0 8 0 kqueuepl 216 952 0 944 14 13 1 5 0 8 0 pipepl 320 891 0 861 27 24 3 13 0 8 0 fdescpl 496 6893 0 6866 5 0 5 5 0 8 0 filepl 152 33797 0 33541 68 54 14 20 0 8 2 lockfpl 104 1972 0 1970 3 2 1 2 0 8 0 lockfspl 48 924 0 922 1 0 1 1 0 8 0 sessionpl 144 52 0 34 1 0 1 1 0 8 0 pgrppl 48 101 0 83 1 0 1 1 0 8 0 ucredpl 104 4362 0 4346 1 0 1 1 0 8 0 zombiepl 144 6867 0 6864 2 1 1 1 0 8 0 processpl 1136 6917 0 6864 5 0 5 5 0 8 0 procpl 680 17969 0 17899 12 4 8 9 0 8 0 srpgc 96 42 0 42 15 14 1 1 0 8 1 sosppl 168 79 0 78 6 5 1 1 0 8 0 sockpl 584 8090 0 8060 87 79 8 15 0 8 4 mcl64k 65536 16 0 0 2 0 2 2 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 18 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 389 0 0 37 4 33 37 0 8 0 mtagpl 96 482 0 0 10 0 10 10 0 8 0 mbufpl 256 1256 0 0 64 0 64 64 0 8 0 bufpl 280 15318 0 9001 452 0 452 452 0 8 0 anonpl 24 826770 0 812607 177 65 112 120 0 186 0 amapchunkpl 152 213253 0 212398 87 43 44 51 0 158 1 amappl16 200 17790 0 17331 86 58 28 37 0 8 0 amappl15 192 15 0 14 1 0 1 1 0 8 0 amappl14 184 247 0 231 2 1 1 2 0 8 0 amappl13 176 62 0 60 1 0 1 1 0 8 0 amappl12 168 7976 0 7943 3 1 2 2 0 8 0 amappl11 160 76 0 60 1 0 1 1 0 8 0 amappl10 152 109 0 95 1 0 1 1 0 8 0 amappl9 144 207 0 207 11 11 0 1 0 8 0 amappl8 136 505 0 402 4 0 4 4 0 8 0 amappl7 128 257 0 228 3 1 2 3 0 8 0 amappl6 120 722 0 705 1 0 1 1 0 8 0 amappl5 112 220 0 209 1 0 1 1 0 8 0 amappl4 104 762 0 727 4 2 2 2 0 8 0 amappl3 96 40955 0 40877 7 3 4 4 0 8 1 amappl2 88 7678 0 7595 3 1 2 3 0 8 0 amappl1 80 34777 0 34205 24 10 14 23 0 8 0 amappl 88 65212 0 64977 10 3 7 7 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 6928 0 6875 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6928 0 6875 1 0 1 1 0 8 0 vmmpekpl 168 54183 0 54115 4 0 4 4 0 8 0 vmmpepl 168 433669 0 431324 283 153 130 144 0 357 0 vmsppl 448 6927 0 6875 8 1 7 7 0 8 0 rwobjpl 56 114042 0 106336 115 3 112 113 0 8 0 pdppl 4096 13863 0 13776 447 348 99 101 0 8 12 pvpl 32 42180 0 0 343 2 341 342 0 265 0 pmappl 248 6927 0 6875 5 1 4 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1006 0 542 14 0 14 14 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82c9cff0) at x86_ipi_db+0x1e 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+0x27 __mp_lock(ffffffff82e9cc70) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82e9cc70) at __mp_lock+0x129 sys/kern/kern_lock.c:147 syscall(ffff800030aea100) at syscall+0x51a mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff800030aea100) at syscall+0x51a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7df35dfe86c0, count: 9 ddb{0}> trace x86_ipi_db(ffffffff82c9cff0) at x86_ipi_db+0x1e 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+0x27 __mp_lock(ffffffff82e9cc70) at __mp_lock+0x129 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82e9cc70) at __mp_lock+0x129 sys/kern/kern_lock.c:147 syscall(ffff800030aea100) at syscall+0x51a mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff800030aea100) at syscall+0x51a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7df35dfe86c0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff828dffec) at panic+0x17b sys/kern/subr_prf.c:198 ufs_lookup() at ufs_lookup+0x169b ufs_dirbad sys/ufs/ufs/ufs_lookup.c:600 [inline] ufs_lookup() at ufs_lookup+0x169b sys/ufs/ufs/ufs_lookup.c:435 VOP_LOOKUP(fffffd8067ababe8,ffff80002f0aa508,ffff80002f0aa538) at VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002f0aa4d8) at vfs_lookup+0x6e2 sys/kern/vfs_lookup.c:566 namei(ffff80002f0aa4d8) at namei+0x55a sys/kern/vfs_lookup.c:250 dounlinkat(ffff80002a1a6298,ffffff9c,7dda3aed5750,8) at dounlinkat+0x9d sys/kern/vfs_syscalls.c:1847 syscall(ffff80002f0aa6b0) at syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002f0aa6b0) at syscall+0x533 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7dda3aed5740, count: 6 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff828dffec) at panic+0x17b sys/kern/subr_prf.c:198 ufs_lookup() at ufs_lookup+0x169b ufs_dirbad sys/ufs/ufs/ufs_lookup.c:600 [inline] ufs_lookup() at ufs_lookup+0x169b sys/ufs/ufs/ufs_lookup.c:435 VOP_LOOKUP(fffffd8067ababe8,ffff80002f0aa508,ffff80002f0aa538) at VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002f0aa4d8) at vfs_lookup+0x6e2 sys/kern/vfs_lookup.c:566 namei(ffff80002f0aa4d8) at namei+0x55a sys/kern/vfs_lookup.c:250 dounlinkat(ffff80002a1a6298,ffffff9c,7dda3aed5750,8) at dounlinkat+0x9d sys/kern/vfs_syscalls.c:1847 syscall(ffff80002f0aa6b0) at syscall+0x533 mi_syscall sys/sys/syscall_mi.h:183 [inline] syscall(ffff80002f0aa6b0) at syscall+0x533 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7dda3aed5740, count: -9