panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 3330517 [running]: panic({0x168fba0, 0xc005cbc400}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc00136a520 sp=0xc00136a460 pc=0x438317 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc00434ba40, 0xc005c0f500, 0x187a00d?, 0x0, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x9bb fp=0xc00136a6b0 sp=0xc00136a520 pc=0x129ee9b gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc0059cbc00, 0xc004bf28a0?, 0xc00136a7f0?, {0x187a00d, 0x4}, 0x95374a?, 0x44a3b5?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0x19d fp=0xc00136a788 sp=0xc00136a6b0 pc=0x12903bd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0xc0065a8000, 0x32d1d5?, {0x187a00d, 0x4}, 0x0?, 0x95648f?) pkg/sentry/kernel/task_cgroup.go:234 +0x10f fp=0xc00136a860 sp=0xc00136a788 pc=0xd25c2f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc0065a8000, 0x1507ee0?, {0x187a00d, 0x4}, 0x0?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xf8 fp=0xc00136a928 sp=0xc00136a860 pc=0xd25db8 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x58 fp=0xc00136a9a0 sp=0xc00136a928 pc=0xd53c58 gvisor.dev/gvisor/pkg/cleanup.clean(...) pkg/cleanup/cleanup.go:59 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc00136adf8) pkg/cleanup/cleanup.go:44 +0x6d fp=0xc00136a9c8 sp=0xc00136a9a0 pc=0x88484d gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x3a fp=0xc00136a9e8 sp=0xc00136a9c8 pc=0xd53d3a runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc00136aa28 sp=0xc00136a9e8 pc=0x437433 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc000532070, {0x1bd2c70, 0xc0065a8000}, 0xc00136b328) pkg/sentry/kernel/task_start.go:211 +0x1194 fp=0xc00136ae20 sp=0xc00136aa28 pc=0xd52f94 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc0065a8000?, {0x1bd2c70, 0xc0065a8000}, 0xc00136b328) pkg/sentry/kernel/task_start.go:127 +0xeb fp=0xc00136aea8 sp=0xc00136ae20 pc=0xd51bab gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc0065a8000, 0xc00136b408) pkg/sentry/kernel/task_clone.go:224 +0x1e25 fp=0xc00136b3f0 sp=0xc00136aea8 pc=0xd27d25 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x471077?, 0x3d0f00, 0x7f733c93d2f0, 0x7f733c93d9d0, 0x7f733c93d9d0, 0x7f733c93d700) pkg/sentry/syscalls/linux/sys_thread.go:208 +0xfc fp=0xc00136b490 sp=0xc00136b3f0 pc=0xe560bc gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0x25736?, {{0x3d0f00}, {0x7f733c93d2f0}, {0x7f733c93d9d0}, {0x7f733c93d9d0}, {0x7f733c93d700}, {0x7f733c93d700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x4e fp=0xc00136b4f8 sp=0xc00136b490 pc=0xe1120e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0065a8000, 0x38, {{0x3d0f00}, {0x7f733c93d2f0}, {0x7f733c93d9d0}, {0x7f733c93d9d0}, {0x7f733c93d700}, {0x7f733c93d700}}) pkg/sentry/kernel/task_syscall.go:142 +0xa78 fp=0xc00136ba18 sp=0xc00136b4f8 pc=0xd56cb8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0065a8000, 0x0?, {{0x3d0f00}, {0x7f733c93d2f0}, {0x7f733c93d9d0}, {0x7f733c93d9d0}, {0x7f733c93d700}, {0x7f733c93d700}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d fp=0xc00136bab0 sp=0xc00136ba18 pc=0xd58b3d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000bd34d0?, 0xc007f88dd0?, {{0x3d0f00}, {0x7f733c93d2f0}, {0x7f733c93d9d0}, {0x7f733c93d9d0}, {0x7f733c93d700}, {0x7f733c93d700}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f fp=0xc00136bb28 sp=0xc00136bab0 pc=0xd5852f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0065a8000) pkg/sentry/kernel/task_syscall.go:257 +0x496 fp=0xc00136bc50 sp=0xc00136bb28 pc=0xd580d6 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0065a8000?, 0xc0065a8000) pkg/sentry/kernel/task_run.go:253 +0x18f9 fp=0xc00136bec0 sp=0xc00136bc50 pc=0xd43219 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0065a8000, 0x1f94) pkg/sentry/kernel/task_run.go:94 +0x354 fp=0xc00136bfb0 sp=0xc00136bec0 pc=0xd40fb4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x48 fp=0xc00136bfe0 sp=0xc00136bfb0 pc=0xd547e8 runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc00136bfe8 sp=0xc00136bfe0 pc=0x46df01 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x1a8