panic: assertwaitok: non-zero mutex count: 1 Starting stack trace... panic(ffffffff82ff2a77) 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(ffffffff83584020,1) at pool_get+0x1e9 sys/kern/subr_pool.c:589 uvm_mapent_alloc(fffffd806c223418,0) at uvm_mapent_alloc+0x35a uvm_map_mkentry(fffffd806c223418,fffffd806e96de88,fffffd806e96de88,3d67190000,17000,0,27511089f8818e26,17000) at uvm_map_mkentry+0x87 uvm_mapent_clone(fffffd806c223418,3d67190000,17000,0,1,7,47fda90cdafbb3bd,fffffd806c47a408,ffff800037631748,fffffd806c223418) at uvm_mapent_clone+0xba sys/uvm/uvm_map.c:3551 uvm_mapent_forkcopy(1,fffffd806c223418,fffffd806e984818,fffffd806c47a408,ffff800037631748) at uvm_mapent_forkcopy+0x6e sys/uvm/uvm_map.c:3643 uvmspace_fork(ffff8000327f6ae8) at uvmspace_fork+0x2bb sys/uvm/uvm_map.c:3846 process_new(ffff80003761d1d8,ffff8000327f6ae8,1) at process_new+0x553 sys/kern/kern_fork.c:279 fork1(ffff80003761ccc8,1,ffffffff82656c10,0,ffff800037631920,0) at fork1+0x3e6 sys/kern/kern_fork.c:405 syscall(ffff8000376319d0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x712058005d20, count: 243 End of stack trace.