panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 2938 [running]: panic({0x168cba0, 0xc000597e40}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc00196e5e8 sp=0xc00196e528 pc=0x438317 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc001257080, 0xc001edea80, 0x1876da7?, 0x0, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x9bb fp=0xc00196e778 sp=0xc00196e5e8 pc=0x129c1db gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc001e5ce00, 0xc001593ec0?, 0xc00196e8b8?, {0x1876da7, 0x4}, 0x95390a?, 0x44a3b5?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0x19d fp=0xc00196e850 sp=0xc00196e778 pc=0x128d6fd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0xc000ed4a80, 0xb7a?, {0x1876da7, 0x4}, 0x0?, 0x46bd2e?) pkg/sentry/kernel/task_cgroup.go:234 +0x10f fp=0xc00196e928 sp=0xc00196e850 pc=0xd25a0f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc000ed4a80, 0x15051a0?, {0x1876da7, 0x4}, 0x0?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xf8 fp=0xc00196e9f0 sp=0xc00196e928 pc=0xd25b98 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x58 fp=0xc00196ea68 sp=0xc00196e9f0 pc=0xd53738 gvisor.dev/gvisor/pkg/cleanup.clean(...) pkg/cleanup/cleanup.go:59 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc00196eec0) pkg/cleanup/cleanup.go:44 +0x6d fp=0xc00196ea90 sp=0xc00196ea68 pc=0x884a0d gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x3a fp=0xc00196eab0 sp=0xc00196ea90 pc=0xd5381a runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc00196eaf0 sp=0xc00196eab0 pc=0x437433 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc000418cb0, {0x1bcfad0, 0xc000ed4a80}, 0xc00196f398) pkg/sentry/kernel/task_start.go:211 +0x1194 fp=0xc00196eee8 sp=0xc00196eaf0 pc=0xd52a74 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc000ed4a80?, {0x1bcfad0, 0xc000ed4a80}, 0xc00196f398) pkg/sentry/kernel/task_start.go:127 +0xeb fp=0xc00196ef70 sp=0xc00196eee8 pc=0xd515cb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc000ed4a80, 0xc00196f478) pkg/sentry/kernel/task_clone.go:224 +0x1da5 fp=0xc00196f460 sp=0xc00196ef70 pc=0xd27a85 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x471077?, 0x3d0f00, 0x7f869e4633f0, 0x7f869e4639d0, 0x7f869e4639d0, 0x7f869e463700) pkg/sentry/syscalls/linux/sys_thread.go:208 +0xfc fp=0xc00196f500 sp=0xc00196f460 pc=0xe5563c gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0x1?, {{0x3d0f00}, {0x7f869e4633f0}, {0x7f869e4639d0}, {0x7f869e4639d0}, {0x7f869e463700}, {0x7f869e463700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x4e fp=0xc00196f568 sp=0xc00196f500 pc=0xe1032e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000ed4a80, 0x38, {{0x3d0f00}, {0x7f869e4633f0}, {0x7f869e4639d0}, {0x7f869e4639d0}, {0x7f869e463700}, {0x7f869e463700}}) pkg/sentry/kernel/task_syscall.go:142 +0xa78 fp=0xc00196fa88 sp=0xc00196f568 pc=0xd567b8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000ed4a80, 0x46f679?, {{0x3d0f00}, {0x7f869e4633f0}, {0x7f869e4639d0}, {0x7f869e4639d0}, {0x7f869e463700}, {0x7f869e463700}}) pkg/sentry/kernel/task_syscall.go:322 +0x6a fp=0xc00196fb10 sp=0xc00196fa88 pc=0xd5848a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000a98960?, 0x46fb2c?, {{0x3d0f00}, {0x7f869e4633f0}, {0x7f869e4639d0}, {0x7f869e4639d0}, {0x7f869e463700}, {0x7f869e463700}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f fp=0xc00196fb88 sp=0xc00196fb10 pc=0xd57f0f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000ed4a80) pkg/sentry/kernel/task_syscall.go:257 +0x3e7 fp=0xc00196fc90 sp=0xc00196fb88 pc=0xd57b27 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000ed4a80?, 0xc000ed4a80) pkg/sentry/kernel/task_run.go:253 +0x16a5 fp=0xc00196fec0 sp=0xc00196fc90 pc=0xd42f25 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000ed4a80, 0xe9) pkg/sentry/kernel/task_run.go:94 +0x354 fp=0xc00196ffb0 sp=0xc00196fec0 pc=0xd40f14 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x48 fp=0xc00196ffe0 sp=0xc00196ffb0 pc=0xd542c8 runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc00196ffe8 sp=0xc00196ffe0 pc=0x46df01 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x1a8