panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 39975 25320 32767 0x10 0 0 syz-executor.3 *285309 73524 32767 0x1810 0x4080080 1 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002130a548,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002130a548,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002d266e20,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002d266e20,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002130a548,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(ac02e179040,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002130a548,ffff80002d266fb0,ffff80002d267010) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002d267080) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002d267080) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xac073450ab0, count: 3 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: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002130a548,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002130a548,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002d266e20,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002d266e20,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002130a548,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(ac02e179040,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002130a548,ffff80002d266fb0,ffff80002d267010) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002d267080) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002d267080) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xac073450ab0, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002d266be0 rbx 0xffff800020de9bb7 rdx 0xffff800000bc64c0 rcx 0 rax 0xffff80002130a548 r8 0x101010101010101 r9 0x8080808080808080 r10 0xc3db92d9bba600c6 r11 0xcd2cb3dc294309dd r12 0xffff800020de99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff813e2898 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002d266bd0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=285309 stat=onproc flags process=1810 proc=4080080 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff80002130a2a8,0xffffffff82adab00 process=0xffff80002960b620 user=0xffff80002d262000, vmspace=0xfffffd806979aa28 estcpu=30, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 25320 39975 59413 32767 7 0x10 syz-executor.3 27433 197055 63691 32767 2 0x10 syz-executor.2 27433 423407 63691 32767 3 0x4000090 fsleep syz-executor.2 41102 372447 89360 32767 2 0x10 syz-executor.4 7461 50933 80911 32767 2 0x10 syz-executor.1 7461 364059 80911 32767 3 0x4000090 fsleep syz-executor.1 7461 172794 80911 32767 3 0x4000090 fsleep syz-executor.1 7461 388701 80911 32767 3 0x4000090 fsleep syz-executor.1 71935 439824 81723 32767 3 0x90 nanoslp syz-executor.7 71935 324438 81723 32767 3 0x4000090 lockf syz-executor.7 71935 169026 81723 32767 3 0x4000090 fsleep syz-executor.7 73524 65367 80263 32767 3 0x3810 suspend syz-executor.0 73524 185598 80263 32767 2 0x4081890 syz-executor.0 *73524 285309 80263 32767 7 0x4081890 syz-executor.0 67599 129066 0 0 3 0x14200 bored sosplice 81723 235309 30013 32767 3 0x90 nanoslp syz-executor.7 59413 249756 7569 32767 3 0x90 nanoslp syz-executor.3 89536 303905 41762 32767 3 0x90 nanoslp syz-executor.6 30013 115756 74802 0 3 0x82 wait syz-executor.7 41762 219326 74802 0 3 0x82 wait syz-executor.6 5183 28623 88214 32767 3 0x90 nanoslp syz-executor.5 89360 173052 78764 32767 2 0x10 syz-executor.4 88214 458145 74802 0 3 0x82 wait syz-executor.5 78764 70954 74802 0 3 0x82 wait syz-executor.4 63691 454982 39843 32767 3 0x90 nanoslp syz-executor.2 80911 307062 42941 32767 3 0x90 nanoslp syz-executor.1 7569 43021 74802 0 3 0x82 wait syz-executor.3 39843 60274 74802 0 3 0x82 wait syz-executor.2 80263 264200 7315 32767 3 0x90 nanoslp syz-executor.0 42941 286592 74802 0 3 0x82 wait syz-executor.1 7315 116902 74802 0 3 0x82 wait syz-executor.0 74802 400780 24460 0 3 0x82 thrsleep syz-fuzzer 74802 345052 24460 0 3 0x4000082 thrsleep syz-fuzzer 74802 365354 24460 0 3 0x4000082 thrsleep syz-fuzzer 74802 281544 24460 0 3 0x4000082 thrsleep syz-fuzzer 74802 275497 24460 0 3 0x4000082 thrsleep syz-fuzzer 74802 297247 24460 0 3 0x4000082 thrsleep syz-fuzzer 74802 304360 24460 0 3 0x4000082 kqread syz-fuzzer 74802 145260 24460 0 3 0x4000082 thrsleep syz-fuzzer 74802 453536 24460 0 3 0x4000082 thrsleep syz-fuzzer 24460 65058 39263 0 3 0x10008a sigsusp ksh 39263 27699 63865 0 3 0x9a kqread sshd 79396 249684 1 0 3 0x100083 ttyin getty 63865 491364 1 0 3 0x88 kqread sshd 79866 423153 47746 73 3 0x1100090 kqread syslogd 47746 155600 1 0 3 0x100082 netio syslogd 54614 264580 1 0 3 0x100080 kqread resolvd 96448 421772 14850 77 3 0x100092 kqread dhcpleased 22719 372538 14850 77 3 0x100092 kqread dhcpleased 14850 57144 1 0 3 0x80 kqread dhcpleased 4479 271235 0 0 3 0x14200 bored smr 31152 33069 0 0 2 0x14200 zerothread 16021 371695 0 0 3 0x14200 aiodoned aiodoned 13918 437473 0 0 3 0x14200 syncer update 58273 384691 0 0 3 0x14200 cleaner cleaner 81873 203635 0 0 3 0x14200 reaper reaper 38796 455757 0 0 3 0x14200 pgdaemon pagedaemon 71133 60969 0 0 3 0x14200 bored viomb 90183 175690 0 0 3 0x40014200 acpi0 acpi0 20840 196615 0 0 3 0x40014200 idle1 11152 224509 0 0 3 0x14200 bored softnet 50565 498352 0 0 3 0x14200 bored softnet 96677 468014 0 0 3 0x14200 bored softnet 36089 228717 0 0 3 0x14200 bored softnet 36920 335479 0 0 3 0x14200 bored systqmp 94948 74700 0 0 3 0x14200 bored systq 45133 28714 0 0 3 0x40014200 bored softclock 66849 229050 0 0 3 0x40014200 idle0 1 330221 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd80694166e8) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pmap_extract+0xa2 sys/arch/amd64/amd64/pmap.c:1517 #4 uvm_fault_upper_lookup+0x129 sys/uvm/uvm_fault.c:861 #5 uvm_fault+0x129 sys/uvm/uvm_fault.c:606 #6 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #7 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #8 recall_trap+0x8 CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82a153e0) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d4 sys/kern/sched_bsd.c:419 #3 single_thread_check_locked+0x17f sys/kern/kern_sig.c:2045 #4 single_thread_check+0x4b sys/kern/kern_sig.c:2057 #5 sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] #5 sleep_finish+0x75 sys/kern/kern_synch.c:400 #6 rwsleep+0xd5 sys/kern/kern_synch.c:314 #7 futex_wait+0x13c sys/kern/sys_futex.c:260 #8 sys_futex+0xf8 sys/kern/sys_futex.c:111 #9 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #10 Xsyscall+0x128 Process 25320 (syz-executor.3) thread 0xffff80002130a2a8 (39975) exclusive rwlock amaplk r = 0 (0xfffffd8067e4b7b8) #0 witness_lock+0x44d #1 uvm_fault_check+0x422 sys/uvm/uvm_fault.c:783 #2 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #3 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #4 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #5 recall_trap+0x8 shared rwlock vmmaplk r = 0 (0xfffffd806979a310) #0 witness_lock+0x44d #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1771 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:673 #3 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #4 upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 #5 usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 #6 recall_trap+0x8 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10179 6408K 6420K 78643K 11269 0 pcb 13 8K 8K 78643K 13 0 rtable 234 6K 6K 78643K 361 0 ifaddr 81 16K 16K 78643K 82 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 2K 78643K 35 0 iov 0 0K 12K 78643K 144 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1270 79K 79K 78643K 1334 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 232 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 24 89K 121K 78643K 690 0 sigio 0 0K 0K 78643K 71 0 proc 56 78K 103K 78643K 501 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 14 0 in_multi 99 6K 6K 78643K 105 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 73 334K 334K 78643K 73 0 exec 0 0K 2K 78643K 630 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 235 81K 97K 78643K 5777 0 UVM aobj 12 2K 2K 78643K 18 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 12 0 NDP 11 0K 2K 78643K 27 0 temp 124 4722K 4786K 78643K 4929 0 kqueue 13 20K 22K 78643K 77 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 54 0 51 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 136 674 0 661 10 9 1 6 0 8 0 syncache 296 6 0 6 2 1 1 1 0 8 1 tcpqe 32 500 0 500 1 1 0 1 0 8 0 tcpcb 736 297 0 214 17 9 8 8 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 320 564 0 556 16 9 7 7 0 8 6 nd6 48 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 452 0 0 29 0 29 29 0 8 0 art_table 32 453 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 42 0 39 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 227 0 217 1 0 1 1 0 8 0 shmpl 112 15 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2280 0 844 91 0 91 91 0 8 0 ffsino 272 2280 0 844 97 0 97 97 0 8 0 nchpl 144 3428 0 1749 63 0 63 63 0 8 0 uvmvnodes 80 2393 0 0 49 0 49 49 0 8 0 vnodes 224 2393 0 0 141 0 141 141 0 8 0 namei 1024 12523 0 12523 2 1 1 2 0 8 1 percpumem 16 40 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 14177 0 14177 12 11 1 8 0 8 1 plimitpl 152 309 0 285 2 1 1 2 0 8 0 sigapl 424 966 0 911 7 0 7 7 0 8 0 futexpl 64 6398 0 6392 1 0 1 1 0 8 0 knotepl 120 173 0 0 6 1 5 6 0 8 0 kqueuepl 224 772 0 761 9 7 2 7 0 8 1 pipepl 336 288 0 260 9 6 3 6 0 8 0 fdescpl 496 948 0 913 7 2 5 6 0 8 0 filepl 152 7267 0 7025 22 10 12 15 0 8 2 lockfpl 104 126 0 122 1 0 1 1 0 8 0 lockfspl 48 38 0 35 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 7 1 0 1 1 0 8 0 ucredpl 104 586 0 568 1 0 1 1 0 8 0 zombiepl 144 913 0 911 1 0 1 1 0 8 0 processpl 1064 966 0 911 5 1 4 5 0 8 0 procpl 672 2197 0 2126 9 2 7 8 0 8 0 sosppl 168 9 0 8 3 2 1 1 0 8 0 sockpl 480 1295 0 1271 54 42 12 21 0 8 9 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 9 0 0 1 0 1 1 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 12 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 246 0 0 30 0 30 30 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 367 0 0 21 0 21 21 0 8 0 bufpl 288 4911 0 137 341 0 341 341 0 8 0 anonpl 24 190110 0 177875 116 14 102 110 0 186 20 amapchunkpl 152 17720 0 17082 49 10 39 39 0 158 9 amappl16 200 2735 0 2428 37 19 18 35 0 8 0 amappl15 192 86 0 83 1 0 1 1 0 8 0 amappl14 184 72 0 68 1 0 1 1 0 8 0 amappl13 176 168 0 165 1 0 1 1 0 8 0 amappl12 168 73 0 69 1 0 1 1 0 8 0 amappl11 160 150 0 133 1 0 1 1 0 8 0 amappl10 152 30 0 26 1 0 1 1 0 8 0 amappl9 144 577 0 571 1 0 1 1 0 8 0 amappl8 136 680 0 631 2 0 2 2 0 8 0 amappl7 128 250 0 232 1 0 1 1 0 8 0 amappl6 120 271 0 252 2 1 1 2 0 8 0 amappl5 112 572 0 552 1 0 1 1 0 8 0 amappl4 104 865 0 838 2 1 1 2 0 8 0 amappl3 96 2426 0 2367 2 0 2 2 0 8 0 amappl2 88 1318 0 1248 3 0 3 3 0 8 0 amappl1 80 24210 0 23506 19 3 16 19 0 8 0 amappl 88 5331 0 5161 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 17 0 6 1 0 1 1 0 8 0 uaddrrnd 24 948 0 913 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 948 0 913 1 0 1 1 0 8 0 vmmpekpl 168 12330 0 12279 3 0 3 3 0 8 0 vmmpepl 168 94285 0 91693 138 14 124 129 0 357 4 vmsppl 368 947 0 913 4 0 4 4 0 8 0 rwobjpl 56 27245 0 23554 54 0 54 54 0 8 0 pdppl 4096 1903 0 1826 119 38 81 93 0 8 4 pvpl 32 511559 0 494240 240 41 199 239 0 265 49 pmappl 248 947 0 913 3 0 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 774 0 56 21 0 21 21 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82988ff0) 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+0xb sys/dev/kcov.c:144 wakeup_n(ffffffff82ba36d4,ffffffff) at wakeup_n+0x37 uvm_pmr_getpages(1,0,0,1,0,1,220f856b8a06b808,fffffd8077461c30) at uvm_pmr_getpages+0xeef sys/uvm/uvm_pmemrange.c:1207 uvm_pagealloc(0,0,fffffd8077461c30,2) at uvm_pagealloc+0x1a4 sys/uvm/uvm_page.c:910 uvm_fault_lower(ffff80002e47f400,ffff80002e47f438,ffff80002e47f380,0) at uvm_fault_lower+0x1aa uvm_fault(fffffd806979a2f8,5e646d55000,0,2) at uvm_fault+0x238 upageflttrap(ffff80002e47f570,5e646d55000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002e47f570) at usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffc4ce0, count: 3 ddb{0}> trace x86_ipi_db(ffffffff82988ff0) 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+0xb sys/dev/kcov.c:144 wakeup_n(ffffffff82ba36d4,ffffffff) at wakeup_n+0x37 uvm_pmr_getpages(1,0,0,1,0,1,220f856b8a06b808,fffffd8077461c30) at uvm_pmr_getpages+0xeef sys/uvm/uvm_pmemrange.c:1207 uvm_pagealloc(0,0,fffffd8077461c30,2) at uvm_pagealloc+0x1a4 sys/uvm/uvm_page.c:910 uvm_fault_lower(ffff80002e47f400,ffff80002e47f438,ffff80002e47f380,0) at uvm_fault_lower+0x1aa uvm_fault(fffffd806979a2f8,5e646d55000,0,2) at uvm_fault+0x238 upageflttrap(ffff80002e47f570,5e646d55000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002e47f570) at usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffc4ce0, count: -12 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(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002130a548,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002130a548,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002d266e20,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002d266e20,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002130a548,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(ac02e179040,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002130a548,ffff80002d266fb0,ffff80002d267010) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002d267080) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002d267080) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xac073450ab0, count: 3 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a1086) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff82613da6,ffffffff82617104,3f,ffffffff8264968f) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002130a548,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002130a548,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff80002d266e20,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff80002d266e20,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002130a548,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(ac02e179040,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002130a548,ffff80002d266fb0,ffff80002d267010) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff80002d267080) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002d267080) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xac073450ab0, count: -12