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 47725 6818 32767 0x10 0 0 syz-executor.1 *101161 65665 32767 0x1810 0x4080080 1 syz-executor.5 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(ffff80002e491ce0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e491ce0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff8000261aa9d0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff8000261aa9d0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e491ce0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(332e0f71cb0,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e491ce0,ffff8000261aab60,ffff8000261aabc0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff8000261aac30) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000261aac30) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x33231a89880, 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(ffff80002e491ce0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e491ce0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff8000261aa9d0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff8000261aa9d0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e491ce0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(332e0f71cb0,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e491ce0,ffff8000261aab60,ffff8000261aabc0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff8000261aac30) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000261aac30) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x33231a89880, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000261aa790 rbx 0xffff800020de9bb7 rdx 0 rcx 0 rax 0xffff80002e491ce0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xab402f6ff2c2f6ff r11 0xe0121db9b20dd4de r12 0xffff800020de99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff813e2898 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000261aa780 ss 0 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.5) pid=101161 stat=onproc flags process=1810 proc=4080080 pri=77, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff80002e491260,0xffffffff82adab00 process=0xffff8000ffff8858 user=0xffff8000261a5000, vmspace=0xfffffd8072946cf8 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 99878 351250 9874 32767 2 0x10 syz-executor.6 6818 47725 48090 32767 7 0x10 syz-executor.1 65665 482471 62327 32767 2 0x3810 syz-executor.5 *65665 101161 62327 32767 7 0x4081890 syz-executor.5 30089 215796 71065 32767 2 0x10 syz-executor.7 30089 28739 71065 32767 3 0x4000090 ttyout syz-executor.7 58417 145511 76416 32767 2 0x10 syz-executor.2 58417 60590 76416 32767 3 0x4000090 fsleep syz-executor.2 42546 306361 95779 32767 2 0x10 syz-executor.0 42546 52989 95779 32767 3 0x4000090 fsleep syz-executor.0 2610 513137 24860 32767 3 0x90 nanoslp syz-executor.4 2610 482647 24860 32767 3 0x4000090 netio syz-executor.4 2610 397495 24860 32767 3 0x4000090 fsleep syz-executor.4 9874 276094 77113 32767 3 0x90 nanoslp syz-executor.6 71065 514603 82086 32767 3 0x90 nanoslp syz-executor.7 24860 308684 80192 32767 3 0x90 nanoslp syz-executor.4 77113 158190 77585 0 3 0x82 wait syz-executor.6 82086 457527 77585 0 3 0x82 wait syz-executor.7 62327 470811 25552 32767 3 0x90 nanoslp syz-executor.5 25552 388794 77585 0 3 0x82 wait syz-executor.5 80192 429475 77585 0 3 0x82 wait syz-executor.4 6358 69978 76563 32767 3 0x90 piperd syz-executor.3 76563 46350 77585 0 3 0x82 wait syz-executor.3 76416 202826 97433 32767 3 0x90 nanoslp syz-executor.2 48090 184088 56447 32767 3 0x90 nanoslp syz-executor.1 97433 278771 77585 0 3 0x82 wait syz-executor.2 95779 451702 31467 32767 3 0x90 nanoslp syz-executor.0 56447 96577 77585 0 3 0x82 wait syz-executor.1 31467 231904 77585 0 3 0x82 wait syz-executor.0 77585 232629 52480 0 3 0x82 kqread syz-fuzzer 77585 337071 52480 0 3 0x4000082 nanoslp syz-fuzzer 77585 6646 52480 0 3 0x4000082 thrsleep syz-fuzzer 77585 325509 52480 0 3 0x4000082 thrsleep syz-fuzzer 77585 515649 52480 0 3 0x4000082 thrsleep syz-fuzzer 77585 451824 52480 0 3 0x4000082 thrsleep syz-fuzzer 77585 366458 52480 0 3 0x4000082 thrsleep syz-fuzzer 77585 400160 52480 0 3 0x4000082 thrsleep syz-fuzzer 77585 44824 52480 0 3 0x4000082 thrsleep syz-fuzzer 52480 164526 745 0 3 0x10008a sigsusp ksh 745 136194 47607 0 3 0x9a kqread sshd 20756 360626 1 0 3 0x100083 ttyin getty 47607 4383 1 0 3 0x88 kqread sshd 80234 186139 76298 73 3 0x1100090 kqread syslogd 76298 62909 1 0 3 0x100082 netio syslogd 96993 454673 1 0 3 0x100080 kqread resolvd 47815 491328 55377 77 3 0x100092 kqread dhcpleased 16852 6711 55377 77 3 0x100092 kqread dhcpleased 55377 262897 1 0 3 0x80 kqread dhcpleased 10756 136401 0 0 3 0x14200 bored smr 62882 361626 0 0 2 0x14200 zerothread 32667 120704 0 0 3 0x14200 aiodoned aiodoned 94470 473770 0 0 3 0x14200 syncer update 89709 250893 0 0 3 0x14200 cleaner cleaner 17715 133399 0 0 3 0x14200 reaper reaper 99057 487807 0 0 3 0x14200 pgdaemon pagedaemon 25818 243604 0 0 3 0x14200 bored viomb 82539 478806 0 0 3 0x40014200 acpi0 acpi0 52467 248325 0 0 3 0x40014200 idle1 55317 149323 0 0 3 0x14200 bored softnet 836 452621 0 0 3 0x14200 bored softnet 95371 430925 0 0 3 0x14200 bored softnet 45530 163027 0 0 3 0x14200 bored softnet 20566 72814 0 0 3 0x14200 bored systqmp 7544 351712 0 0 3 0x14200 bored systq 21483 459843 0 0 3 0x40014200 bored softclock 22508 466619 0 0 3 0x40014200 idle0 1 120806 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 (0xfffffd80692b8ab8) #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 6818 (syz-executor.1) thread 0xffff80002e490a80 (47725) exclusive rwlock amaplk r = 0 (0xfffffd807b046830) #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 (0xfffffd8072946300) #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 10176 6408K 6420K 78643K 11266 0 pcb 13 8K 8K 78643K 13 0 rtable 234 6K 6K 78643K 358 0 ifaddr 81 16K 16K 78643K 82 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 2K 78643K 33 0 iov 0 0K 12K 78643K 157 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1270 79K 79K 78643K 1287 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 29 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 25 93K 117K 78643K 312 0 proc 56 78K 103K 78643K 463 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 6 0 in_multi 99 6K 6K 78643K 99 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 61 281K 281K 78643K 61 0 exec 0 0K 2K 78643K 615 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 232 80K 84K 78643K 3338 0 UVM aobj 6 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 11 0 NDP 11 0K 1K 78643K 27 0 temp 123 4718K 4782K 78643K 3983 0 kqueue 12 18K 24K 78643K 51 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 48 0 45 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 136 310 0 295 5 0 5 5 0 8 4 syncache 296 6 0 6 2 1 1 1 0 8 1 tcpqe 32 254 0 254 1 1 0 1 0 8 0 tcpcb 736 142 0 72 7 0 7 7 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 320 410 0 338 7 0 7 7 0 8 1 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 semapl 112 27 0 17 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1685 0 256 90 0 90 90 0 8 0 ffsino 272 1685 0 256 96 0 96 96 0 8 0 nchpl 144 2205 0 531 63 0 63 63 0 8 0 uvmvnodes 80 1798 0 0 37 0 37 37 0 8 0 vnodes 224 1798 0 0 106 0 106 106 0 8 0 namei 1024 7624 0 7624 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 7654 0 7654 9 2 7 8 0 8 7 plimitpl 152 122 0 98 2 0 2 2 0 8 0 sigapl 424 595 0 542 7 0 7 7 0 8 0 futexpl 64 2088 0 2084 1 0 1 1 0 8 0 knotepl 120 106 0 0 4 0 4 4 0 8 0 kqueuepl 224 58 0 50 1 0 1 1 0 8 0 pipepl 336 138 0 109 3 0 3 3 0 8 0 fdescpl 496 578 0 542 7 1 6 6 0 8 1 filepl 152 3239 0 2934 15 0 15 15 0 8 3 lockfpl 104 46 0 44 1 0 1 1 0 8 0 lockfspl 48 21 0 19 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 244 0 226 1 0 1 1 0 8 0 zombiepl 144 543 0 542 1 0 1 1 0 8 0 processpl 1064 595 0 542 4 0 4 4 0 8 0 procpl 672 997 0 930 7 0 7 7 0 8 0 sockpl 480 775 0 685 22 10 12 20 0 8 0 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 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 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 221 0 0 27 0 27 27 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 313 0 0 20 0 20 20 0 8 0 bufpl 288 3779 0 140 260 0 260 260 0 8 0 anonpl 24 94189 0 81691 85 3 82 82 0 186 3 amapchunkpl 152 8057 0 7457 27 1 26 26 0 158 2 amappl16 200 1101 0 726 21 0 21 21 0 8 1 amappl15 192 79 0 75 1 0 1 1 0 8 0 amappl14 184 82 0 73 1 0 1 1 0 8 0 amappl13 176 123 0 119 1 0 1 1 0 8 0 amappl12 168 4 0 3 1 0 1 1 0 8 0 amappl11 160 113 0 93 1 0 1 1 0 8 0 amappl10 152 59 0 52 1 0 1 1 0 8 0 amappl9 144 495 0 491 1 0 1 1 0 8 0 amappl8 136 562 0 521 2 0 2 2 0 8 0 amappl7 128 123 0 112 1 0 1 1 0 8 0 amappl6 120 212 0 196 2 1 1 2 0 8 0 amappl5 112 220 0 198 1 0 1 1 0 8 0 amappl4 104 876 0 846 1 0 1 1 0 8 0 amappl3 96 1083 0 1027 2 0 2 2 0 8 0 amappl2 88 883 0 812 3 1 2 3 0 8 0 amappl1 80 15523 0 14806 19 3 16 19 0 8 0 amappl 88 2904 0 2738 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 0 1 0 1 1 0 8 0 uaddrrnd 24 578 0 542 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 578 0 542 1 0 1 1 0 8 0 vmmpekpl 168 9170 0 9119 3 0 3 3 0 8 0 vmmpepl 168 57902 0 55183 133 1 132 133 0 357 11 vmsppl 368 577 0 542 4 0 4 4 0 8 0 rwobjpl 56 17164 0 14023 46 0 46 46 0 8 0 pdppl 4096 1163 0 1084 119 38 81 91 0 8 2 pvpl 32 338269 0 320733 240 6 234 239 0 265 86 pmappl 248 577 0 542 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 669 0 41 18 0 18 18 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 __mp_lock(ffffffff82a151d8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82ba36d4,ffffffff) at wakeup_n+0x37 uvm_pmr_getpages(1,0,0,1,0,1,534900e244e20bb8,fffffd8063319408) at uvm_pmr_getpages+0xeef sys/uvm/uvm_pmemrange.c:1207 uvm_pagealloc(0,0,fffffd8063319408,2) at uvm_pagealloc+0x1a4 sys/uvm/uvm_page.c:910 uvm_fault_lower(ffff80002a034840,ffff80002a034878,ffff80002a0347c0,0) at uvm_fault_lower+0x1aa uvm_fault(fffffd80729462e8,3fc47dcb000,0,2) at uvm_fault+0x238 upageflttrap(ffff80002a0349b0,3fc47dcb000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002a0349b0) at usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7fffff0c20, 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 __mp_lock(ffffffff82a151d8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a151d8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 wakeup_n(ffffffff82ba36d4,ffffffff) at wakeup_n+0x37 uvm_pmr_getpages(1,0,0,1,0,1,534900e244e20bb8,fffffd8063319408) at uvm_pmr_getpages+0xeef sys/uvm/uvm_pmemrange.c:1207 uvm_pagealloc(0,0,fffffd8063319408,2) at uvm_pagealloc+0x1a4 sys/uvm/uvm_page.c:910 uvm_fault_lower(ffff80002a034840,ffff80002a034878,ffff80002a0347c0,0) at uvm_fault_lower+0x1aa uvm_fault(fffffd80729462e8,3fc47dcb000,0,2) at uvm_fault+0x238 upageflttrap(ffff80002a0349b0,3fc47dcb000) at upageflttrap+0x82 sys/arch/amd64/amd64/trap.c:181 usertrap(ffff80002a0349b0) at usertrap+0x1aa sys/arch/amd64/amd64/trap.c:403 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7fffff0c20, 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(ffff80002e491ce0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e491ce0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff8000261aa9d0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff8000261aa9d0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e491ce0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(332e0f71cb0,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e491ce0,ffff8000261aab60,ffff8000261aabc0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff8000261aac30) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000261aac30) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x33231a89880, 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(ffff80002e491ce0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e491ce0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff8000261aa9d0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff8000261aa9d0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e491ce0,ffffffff8296a1a0,120,ffffffff82595f34,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(332e0f71cb0,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e491ce0,ffff8000261aab60,ffff8000261aabc0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff8000261aac30) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000261aac30) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x33231a89880, count: -12