panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 104831 [running]: panic({0xfe3320, 0xc001e82930}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc000e10ea0 sp=0xc000e10de0 pc=0x435837 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc002bfac60, 0xc0052caa80, 0x11c41b9?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x5f4 fp=0xc000e10f88 sp=0xc000e10ea0 pc=0xdc07d4 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc003bb8800, 0xc0045569f0?, 0xc004556800?, {0x11c41b9, 0x4}, 0x0?, 0x0?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0x10d fp=0xc000e11010 sp=0xc000e10f88 pc=0xdb57ed gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x449812?, 0x1e9d3e0?, {0x11c41b9, 0x4}, 0x2bc0?, 0xc0009fe180?) pkg/sentry/kernel/task_cgroup.go:234 +0xd7 fp=0xc000e110d0 sp=0xc000e11010 pc=0xa0a057 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc0049b0000, 0xc000e11188?, {0x11c41b9, 0x4}, 0x0?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xdf fp=0xc000e11158 sp=0xc000e110d0 pc=0xa0a1bf gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x45 fp=0xc000e111a8 sp=0xc000e11158 pc=0xa28d85 gvisor.dev/gvisor/pkg/cleanup.clean({0xc000ff05e0, 0xa3062f?, 0xc00023a9a0?}) pkg/cleanup/cleanup.go:59 +0x42 fp=0xc000e111c0 sp=0xc000e111a8 pc=0x6e9402 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc000e11490) pkg/cleanup/cleanup.go:44 +0x36 fp=0xc000e111e8 sp=0xc000e111c0 pc=0x6e9236 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc000e11200 sp=0xc000e111e8 pc=0xa28e26 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc000e11240 sp=0xc000e11200 pc=0x434953 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc00023a9a0, {0x140ddb0?, 0xc0049b0000?}, 0xc000e117d8) pkg/sentry/kernel/task_start.go:211 +0x929 fp=0xc000e114b8 sp=0xc000e11240 pc=0xa285a9 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc0049b0000?, {0x140ddb0, 0xc0049b0000}, 0xc000e117d8) pkg/sentry/kernel/task_start.go:127 +0xb5 fp=0xc000e11530 sp=0xc000e114b8 pc=0xa27a95 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc0049b0000, 0xc000e118b0) pkg/sentry/kernel/task_clone.go:224 +0x124f fp=0xc000e118a0 sp=0xc000e11530 pc=0xa0b58f gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x101000101010101?, 0x10001?, 0x0?, 0x0?, 0x0?, 0x0?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x8d fp=0xc000e11918 sp=0xc000e118a0 pc=0xad394d gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc0049b0000?, {{0x3d0f00}, {0x7fb3320ca2f0}, {0x7fb3320ca9d0}, {0x7fb3320ca9d0}, {0x7fb3320ca700}, {0x7fb3320ca700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x6e fp=0xc000e11958 sp=0xc000e11918 pc=0xa9a58e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0049b0000, 0x38, {{0x3d0f00}, {0x7fb3320ca2f0}, {0x7fb3320ca9d0}, {0x7fb3320ca9d0}, {0x7fb3320ca700}, {0x7fb3320ca700}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc000e11c98 sp=0xc000e11958 pc=0xa2b1ab gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0049b0000, 0xc0019961a0?, {{0x3d0f00}, {0x7fb3320ca2f0}, {0x7fb3320ca9d0}, {0x7fb3320ca9d0}, {0x7fb3320ca700}, {0x7fb3320ca700}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc000e11cf8 sp=0xc000e11c98 pc=0xa2c794 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000532040?, 0xc000e11e40?, {{0x3d0f00}, {0x7fb3320ca2f0}, {0x7fb3320ca9d0}, {0x7fb3320ca9d0}, {0x7fb3320ca700}, {0x7fb3320ca700}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc000e11d58 sp=0xc000e11cf8 pc=0xa2c385 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0005c9ef0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc000e11e50 sp=0xc000e11d58 pc=0xa2c04c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00161f500?, 0xc0049b0000) pkg/sentry/kernel/task_run.go:253 +0x1125 fp=0xc000e11f60 sp=0xc000e11e50 pc=0xa1de05 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0049b0000, 0xaae) pkg/sentry/kernel/task_run.go:94 +0x1ec fp=0xc000e11fc0 sp=0xc000e11f60 pc=0xa1c64c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc000e11fe0 sp=0xc000e11fc0 pc=0xa2964a runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc000e11fe8 sp=0xc000e11fe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x105