panic: assertwaitok: non-zero mutex count: 2 Starting stack trace... panic(ffffffff82ff5a94) at panic+0x1ba sys/kern/subr_prf.c:229 assertwaitok() at assertwaitok+0x16f sys/kern/subr_xxx.c:163 mi_switch() at mi_switch+0x2b6 sys/kern/sched_bsd.c:412 yield() at yield+0x61 sys/kern/sched_bsd.c:320 pool_get(ffffffff835efd90,1) at pool_get+0x1e9 sys/kern/subr_pool.c:589 futex_get(58845b9a560,3) at futex_get+0x2f9 sys/kern/sys_futex.c:171 futex_wait(58845b9a560,c,0,2) at futex_wait+0x320 sys_futex(ffff80002a5167d0,ffff8000327a9110,ffff8000327a9060) at sys_futex+0x149 sys/kern/sys_futex.c:101 syscall(ffff8000327a9110) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x587a6ad0ff0, count: 247 End of stack trace.