uvm_fault(0xfffffd8072f1fd70, 0x0, 0, 1) -> e fatal page fault in supervisor mode trap type 6 code 0 rip ffffffff82aa4568 cs 8 rflags 10207 cr2 0 cpl 0 rsp ffff80002a3631c0 gsbase 0xffff8000299edff0 kgsbase 0x0 panic: trap type 6, code=0, pc=ffffffff82aa4568 Starting stack trace... panic(ffffffff833a7649) at panic+0x1d0 sys/kern/subr_prf.c:229 kerntrap(ffff80002a363110) at kerntrap+0x30b alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000151f000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,1,2000,ffff80003c447cb0) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,1,2000,ffff80003c447cb0) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a3632c0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bce1480,1,fffffd80097fb410,ffff80003c447cb0) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806c12a848,ffff80003c447cb0) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806c12a848,ffff80003c447cb0) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806c12a848,ffff80003c447cb0) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806c12a848,ffff80003c447cb0) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c447cb0) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c447cb0,b,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c447cb0,ffff80002a363630,ffff80002a363580) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a363630) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a363630) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76c50ac5c630, count: 242 End of stack trace. WARNING: SPL NOT LOWERED ON SYSCALL 110 53 EXIT 0 4 Stopped at savectx+0xae: movl $0,%gs:0x688 TID PID UID PRFLAGS PFLAGS CPU COMMAND 490664 29577 0 0x2 0 0 syz-executor *395868 35953 0 0x2 0 1 syz-executor savectx() at savectx+0xae end of kernel end trace frame: 0x74564c20e570, count: 14 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}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd8072f1fd70, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x74564c20e570, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a2f7910 rbx 0 rdx 0 rcx 0xffff80002a2a2a78 rax 0x34 r8 0xffff80002a2f7840 r9 0x1 r10 0x5a84f5b21be5ccd3 r11 0x910e4999948ec9df r12 0 r13 0 r14 0xffff80002a2a2a78 r15 0 rip 0xffffffff817ff3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a2f7890 ss 0x10 savectx+0xae: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=395868 pid=35953 tcnt=1 stat=onproc flags process=2 proc=0 runpri=64, usrpri=64, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a2a2548,0xffff8000ffff3a10 process=0xffff80002a3021c8 user=0xffff80002a2f2000, vmspace=0xfffffd806e3e7010 estcpu=14, cpticks=615, pctcpu=1.75, user=22, sys=555, intr=38 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 5679 522429 6014 0 2 0 syz-executor 5679 35636 6014 0 3 0x4000080 bell syz-executor 44984 911 34724 0 2 0 syz-executor 44984 198076 34724 0 3 0x4000080 fsleep syz-executor 5193 73722 12938 0 2 0 syz-executor 5193 329818 12938 0 3 0x4000080 kqsel syz-executor 5193 461931 12938 0 3 0x4000080 fsleep syz-executor 5193 478134 12938 0 3 0x4000080 fsleep syz-executor 3289 57793 0 0 3 0x14200 acct acct 92248 438004 46312 0 3 0x80 nanoslp syz-executor 92248 408376 46312 0 3 0x4000080 kqread syz-executor 92248 282196 46312 0 3 0x4000080 fsleep syz-executor 92248 195888 46312 0 3 0x4000080 fsleep syz-executor 12938 77401 35953 0 3 0x82 nanoslp syz-executor 53727 9808 1 0 3 0x100083 ttyopn getty 65467 256403 35953 0 3 0x82 nanoslp syz-executor 6014 466440 35953 0 3 0x82 nanoslp syz-executor 34011 98987 0 0 3 0x14280 nfsidl nfsio 15808 142686 0 0 3 0x14280 nfsidl nfsio 58561 504532 0 0 3 0x14280 nfsidl nfsio 76155 187850 0 0 3 0x14280 nfsidl nfsio 54756 33598 0 0 3 0x14280 nfsidl nfsio 58447 460248 0 0 3 0x14280 nfsidl nfsio 50181 406971 0 0 3 0x14280 nfsidl nfsio 49894 25834 0 0 3 0x14280 nfsidl nfsio 11991 153576 0 0 3 0x14280 nfsidl nfsio 48015 332207 0 0 3 0x14280 nfsidl nfsio 86734 92281 0 0 3 0x14280 nfsidl nfsio 68137 50606 0 0 3 0x14280 nfsidl nfsio 14778 326482 0 0 3 0x14280 nfsidl nfsio 99188 384522 0 0 3 0x14280 nfsidl nfsio 68216 258708 0 0 3 0x14280 nfsidl nfsio 72163 365944 0 0 3 0x14280 nfsidl nfsio 34903 228372 0 0 3 0x14280 nfsidl nfsio 154 306303 0 0 3 0x14280 nfsidl nfsio 53378 412985 0 0 3 0x14280 nfsidl nfsio 49192 173122 0 0 3 0x14280 nfsidl nfsio 97567 89080 35953 0 3 0x82 nanoslp syz-executor 46312 44995 35953 0 3 0x82 nanoslp syz-executor 34724 381125 35953 0 3 0x82 nanoslp syz-executor 15193 331724 0 0 3 0x14200 bored sosplice 29577 490664 35953 0 7 0x2 syz-executor 49524 200553 35953 0 3 0x82 nanoslp syz-executor *35953 395868 68634 0 7 0x2 syz-executor 68634 46976 85578 0 3 0x10008a sigsusp ksh 85578 126572 35515 0 3 0x98 kqread sshd-session 35515 469396 56357 0 3 0x92 kqread sshd-session 56357 356877 1 0 3 0x88 kqread sshd 26317 520849 98043 74 3 0x1100092 bpf pflogd 98043 294829 1 0 3 0x80 sbwait pflogd 51624 102326 36246 73 3 0x1100090 kqread syslogd 36246 59306 1 0 3 0x100082 sbwait syslogd 80187 48364 1 0 3 0x100080 kqread resolvd 27129 418899 47300 77 3 0x100092 kqread dhcpleased 74566 461799 47300 77 3 0x100092 kqread dhcpleased 47300 518124 1 0 3 0x80 kqread dhcpleased 13952 438235 0 0 3 0x14200 bored smr 48384 210743 0 0 2 0x14200 zerothread 21729 91112 0 0 3 0x14200 aiodoned aiodoned 8255 82096 0 0 3 0x14200 syncer update 69200 250982 0 0 3 0x14200 cleaner cleaner 89463 325035 0 0 2 0x14200 reaper 41212 269972 0 0 3 0x14200 pgdaemon pagedaemon 56816 13761 0 0 3 0x14200 bored viomb 87075 300225 0 0 3 0x40014200 acpi0 acpi0 5343 196541 0 0 3 0x40014200 idle1 14990 20090 0 0 3 0x14200 bored softnet7 11524 509554 0 0 3 0x14200 bored softnet6 73010 219464 0 0 3 0x14200 bored softnet5 85517 270890 0 0 3 0x14200 bored softnet4 14601 248403 0 0 3 0x14200 bored softnet3 66894 79864 0 0 3 0x14200 bored softnet2 81297 187774 0 0 3 0x14200 bored softnet1 16444 123512 0 0 3 0x14200 netlock softnet0 96582 297628 0 0 2 0x14200 systqmp 64546 73846 0 0 3 0x14200 bored systq 86140 27023 0 0 3 0x14200 tmoslp softclockmp 86463 84215 0 0 3 0x40014200 tmoslp softclock 35338 419464 0 0 3 0x40014200 idle0 1 466236 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks Process 89463 (reaper) thread 0xffff8000ffffc538 (325035) exclusive rwlock kmmaplk r = 0 (0xffffffff839b2700) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5168 #3 uvm_unmap+0x7d sys/uvm/uvm_map.c:1792 #4 km_free+0x87 sys/uvm/uvm_km.c:831 #5 uvm_uarea_free+0x4f sys/uvm/uvm_glue.c:304 #6 reaper+0x1aa sys/kern/kern_exit.c:493 #7 proc_trampoline+0x10 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10271 11166K 11796K 166960K 13858 0 pcb 17 18K 20K 166960K 893 0 rtable 195 12K 14K 166960K 914 0 pf 47 20K 131091K 166960K 460 0 ifaddr 39 7K 10K 166960K 233 0 ifgroup 67 2K 3K 166960K 434 0 sysctl 4 1K 9K 166960K 46 0 counters 74 37K 38K 166960K 646 0 ioctlops 0 0K 4K 166960K 2437 0 iov 0 0K 32K 166960K 358 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1425 90K 90K 166960K 4427 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 61 0 VM map 2 1K 1K 166960K 2 0 sem 22 6K 6K 166960K 72 0 dirhash 12 2K 2K 166960K 63 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 3842 0 sigio 0 0K 0K 166960K 299 0 proc 72 115K 164K 166960K 1179 0 subproc 72 4K 4K 166960K 136 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 819 0 in_multi 59 4K 7K 166960K 293 0 ether_multi 1 0K 0K 166960K 27 0 mrt 1 0K 0K 166960K 18 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 271 1208K 1208K 166960K 271 0 exec 0 0K 1K 166960K 995 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 7 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 262 162K 178K 166960K 35093 0 UVM aobj 72 6K 6K 166960K 82 0 pinsyscall 42 84K 100K 166960K 5037 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 256 0 NDP 15 0K 2K 166960K 174 0 temp 83 8652K 8777K 166960K 164633 0 kqueue 14 22K 31K 166960K 692 0 SYN cache 2 8K 16K 166960K 3 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 605 0 601 8 7 1 3 0 8 0 rtentry 176 290 0 223 7 2 5 5 0 8 0 unpcb 144 3849 0 3827 21 17 4 8 0 8 3 syncache 336 13 0 13 6 5 1 1 0 8 1 tcpqe 32 2 0 2 2 1 1 1 0 8 1 tcpcb 736 1522 0 1513 33 31 2 10 0 8 1 arp 128 32 0 19 1 0 1 1 0 8 0 inpcb 328 4734 0 4717 34 30 4 10 0 8 2 nd6 144 49 0 38 1 0 1 1 0 8 0 pkpcb 40 68 0 68 6 5 1 1 0 8 1 kcovpl 48 15 0 7 1 0 1 1 0 8 0 mppekey 1024 2 0 2 2 2 0 1 0 8 0 ppxss 1192 244 0 244 1 0 1 1 0 8 1 pppxif 1504 19 0 19 6 5 1 1 0 8 1 pfstscr 40 3 0 3 2 2 0 1 0 8 0 pffrag 232 34 0 26 1 0 1 1 0 482 0 pffrnode 88 27 0 20 1 0 1 1 0 8 0 pffrent 40 186 0 177 1 0 1 1 0 8 0 pfosfp 40 1430 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1430 0 714 21 0 21 21 0 8 0 pfrktable 1344 6 0 6 6 6 0 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 300 0 171 1 0 1 1 0 8 0 pfstkey 128 310 0 180 5 0 5 5 0 8 0 pfstate 384 302 0 176 14 0 14 14 0 8 0 pfrule 1344 47 0 41 2 1 1 2 0 8 0 rttmr 136 2 0 2 2 2 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1149 0 812 36 10 26 30 0 8 0 art_table 40 1153 0 812 6 1 5 5 0 8 0 art_node 32 287 0 231 1 0 1 1 0 8 0 sysvmsgpl 40 45 0 18 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 62 0 42 1 0 1 1 0 8 0 shmpl 112 79 0 10 2 0 2 2 0 8 0 dirhash 1024 51 0 34 3 0 3 3 0 8 0 dino2pl 256 8750 0 7228 96 0 96 96 0 8 0 ffsino 296 8750 0 7228 118 0 118 118 0 8 0 nchpl 144 14009 0 12294 64 0 64 64 0 8 0 rtmask 32 18 0 18 8 8 0 1 0 8 0 uvmvnodes 80 4804 0 0 99 0 99 99 0 8 0 vnodes 216 4804 0 0 267 0 267 267 0 8 0 namei 1024 50140 0 50140 3 2 1 2 0 8 1 percpumem 16 338 0 286 1 0 1 1 0 8 0 kstatmem 264 294 0 258 3 0 3 3 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 19 0 19 7 6 1 1 0 8 1 scxspl 216 98942 0 98942 16 15 1 8 1 8 1 plimitpl 152 1117 0 1099 1 0 1 1 0 8 0 sigapl 424 4064 0 3989 11 2 9 9 0 8 0 knotepl 120 729 0 0 22 0 22 22 0 8 0 kqueuepl 224 1626 0 1615 19 14 5 5 0 8 4 pipepl 344 630 0 603 18 15 3 9 0 8 0 fdescpl 528 3992 0 3961 3 0 3 3 0 8 0 filepl 160 31412 0 31175 40 22 18 24 0 8 4 lockfpl 104 1555 0 1553 6 5 1 2 0 8 0 lockfspl 48 548 0 546 1 0 1 1 0 8 0 sessionpl 144 42 0 33 1 0 1 1 0 8 0 pgrppl 48 117 0 100 1 0 1 1 0 8 0 ucredpl 104 5541 0 5527 1 0 1 1 0 8 0 zombiepl 144 4709 0 4706 1 0 1 1 0 8 0 processpl 1232 4064 0 3989 7 1 6 6 0 8 0 procpl 664 10165 0 10078 10 1 9 9 0 8 0 sosppl 168 27 0 27 5 4 1 1 0 8 1 sockpl 752 9382 0 9339 91 80 11 27 0 8 6 mcl64k 65536 16 0 0 2 0 2 2 0 8 0 mcl16k 16384 11 0 0 2 0 2 2 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 126 0 0 15 0 15 15 0 8 0 mcl2k 2048 82 0 0 11 0 11 11 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 343 0 0 19 0 19 19 0 8 0 bufpl 280 40223 0 34080 440 0 440 440 0 8 0 anonpl 32 19498 0 0 157 0 157 157 0 246 0 amapchunkpl 152 124878 0 124249 56 23 33 33 0 158 7 amappl16 200 15123 0 14860 114 76 38 44 0 8 7 amappl15 192 8 0 8 3 3 0 1 0 8 0 amappl14 184 148 0 136 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 4757 0 4726 3 1 2 2 0 8 0 amappl11 160 76 0 61 1 0 1 1 0 8 0 amappl10 152 11 0 10 2 1 1 1 0 8 0 amappl9 144 262 0 262 1 1 0 1 0 8 0 amappl8 136 39 0 36 1 0 1 1 0 8 0 amappl7 128 131 0 118 1 0 1 1 0 8 0 amappl6 120 253 0 249 1 0 1 1 0 8 0 amappl5 112 157 0 146 1 0 1 1 0 8 0 amappl4 104 345 0 325 1 0 1 1 0 8 0 amappl3 96 25393 0 25266 5 1 4 4 0 8 0 amappl2 88 847 0 780 2 0 2 2 0 8 0 amappl1 80 25462 0 24868 15 0 15 15 0 8 0 amappl 88 33622 0 33435 5 0 5 5 0 92 0 dma16384 16384 1 0 1 1 1 0 1 0 8 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 10 0 10 4 4 0 1 0 8 0 dma128 128 262 0 262 5 4 1 1 0 8 1 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 21 0 20 1 0 1 1 0 8 0 aobjpl 72 81 0 10 2 0 2 2 0 8 0 uaddrrnd 24 3992 0 3961 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3992 0 3961 1 0 1 1 0 8 0 vmmpekpl 168 31593 0 31535 4 0 4 4 0 8 0 vmmpepl 168 255335 0 253035 164 40 124 125 0 357 9 vmsppl 488 3991 0 3961 5 0 5 5 0 8 0 rwobjpl 80 70801 0 64719 142 7 135 136 0 8 4 pdppl 4096 7992 0 7922 114 42 72 82 0 8 2 pvpl 32 26862 0 0 216 1 215 215 0 265 0 pmappl 256 3991 0 3961 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 357 0 98 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83828ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff8399e0e8) at __mp_lock+0x190 __mp_lock_spin sys/kern/kern_lock.c:135 [inline] __mp_lock(ffffffff8399e0e8) at __mp_lock+0x190 sys/kern/kern_lock.c:165 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff8399e0e8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8399e0e8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff8399e0e8) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8399e0e8) at __mp_lock+0x199 sys/kern/kern_lock.c:165 vn_closefile(fffffd806b289df0,ffff8000ffff2d08) at vn_closefile+0x41 sys/kern/vfs_vnops.c:608 fdrop(fffffd806b289df0,ffff8000ffff2d08) at fdrop+0x121 sys/kern/kern_descrip.c:1280 end trace frame: 0xffff80002a3f9db0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83828ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff8399e0e8) at __mp_lock+0x190 __mp_lock_spin sys/kern/kern_lock.c:135 [inline] __mp_lock(ffffffff8399e0e8) at __mp_lock+0x190 sys/kern/kern_lock.c:165 softintr_dispatch(2) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(2) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsofttty() at Xsofttty+0x27 __mp_lock(ffffffff8399e0e8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8399e0e8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:847 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff8399e0e8) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff8399e0e8) at __mp_lock+0x199 sys/kern/kern_lock.c:165 vn_closefile(fffffd806b289df0,ffff8000ffff2d08) at vn_closefile+0x41 sys/kern/vfs_vnops.c:608 fdrop(fffffd806b289df0,ffff8000ffff2d08) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b289df0,ffff8000ffff2d08) at closef+0x192 sys/kern/kern_descrip.c:1264 syscall(ffff80002a3f9e90) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a3f9e90) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79505f9986f0, count: -17 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x688 savectx() at savectx+0xae end of kernel end trace frame: 0x74564c20e570, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x74564c20e570, count: -1