panic: assertwaitok: non-zero mutex count: 1 Starting stack trace... panic(ffffffff83000b76) 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(ffffffff83594c30,1) at pool_get+0x1e9 sys/kern/subr_pool.c:589 uvm_mapent_alloc(fffffd80792e56f8,0) at uvm_mapent_alloc+0x35a uvm_map_mkentry(fffffd80792e56f8,fffffd8079f2d3a8,fffffd8079f2d3a8,274d15ee000,1000,0,917b46e21f5d2455,1000) at uvm_map_mkentry+0x87 uvm_mapent_clone(fffffd80792e56f8,274d15ee000,1000,0,3,7,990038c54868dc83,fffffd80792eeba0,ffff80002bfdf628,fffffd80792e56f8) at uvm_mapent_clone+0xba sys/uvm/uvm_map.c:3549 uvm_mapent_forkcopy(1,fffffd80792e56f8,fffffd80792e5438,fffffd80792eeba0,ffff80002bfdf628) at uvm_mapent_forkcopy+0x6e sys/uvm/uvm_map.c:3641 uvmspace_fork(ffff8000ffff4cf0) at uvmspace_fork+0x2bb sys/uvm/uvm_map.c:3844 process_new(ffff80002a4ae2a0,ffff8000ffff4cf0,1) at process_new+0x553 sys/kern/kern_fork.c:279 fork1(ffff80003763d1e0,1,ffffffff81352270,0,ffff80002bfdf800,0) at fork1+0x3e6 sys/kern/kern_fork.c:405 syscall(ffff80002bfdf8b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77ff2f835300, count: 243 End of stack trace.