panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 1437149 [running]: panic({0xfe3340, 0xc009928310}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc001de4ea0 sp=0xc001de4de0 pc=0x435837 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc008e149c0, 0xc008b9ea80, 0x11c42d9?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x5f4 fp=0xc001de4f88 sp=0xc001de4ea0 pc=0xdc02f4 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc00317c000, 0xc0084beb90?, 0xc0084be800?, {0x11c42d9, 0x4}, 0x0?, 0x0?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0x10d fp=0xc001de5010 sp=0xc001de4f88 pc=0xdb530d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x449812?, 0x1e9e2a0?, {0x11c42d9, 0x4}, 0x3a80?, 0xc000e03260?) pkg/sentry/kernel/task_cgroup.go:234 +0xd7 fp=0xc001de50d0 sp=0xc001de5010 pc=0xa09b77 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc005e5e000, 0xc001de5188?, {0x11c42d9, 0x4}, 0xc001de5100?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xdf fp=0xc001de5158 sp=0xc001de50d0 pc=0xa09cdf gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x45 fp=0xc001de51a8 sp=0xc001de5158 pc=0xa288a5 gvisor.dev/gvisor/pkg/cleanup.clean({0xc00ae9aa18, 0xa3014f?, 0xc0005e2930?}) pkg/cleanup/cleanup.go:59 +0x42 fp=0xc001de51c0 sp=0xc001de51a8 pc=0x6e8de2 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc001de5490) pkg/cleanup/cleanup.go:44 +0x36 fp=0xc001de51e8 sp=0xc001de51c0 pc=0x6e8c16 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc001de5200 sp=0xc001de51e8 pc=0xa28946 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc001de5240 sp=0xc001de5200 pc=0x434953 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc0005e2930, {0x140dd90?, 0xc005e5e000?}, 0xc001de57d8) pkg/sentry/kernel/task_start.go:211 +0x929 fp=0xc001de54b8 sp=0xc001de5240 pc=0xa280c9 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc005e5e000?, {0x140dd90, 0xc005e5e000}, 0xc001de57d8) pkg/sentry/kernel/task_start.go:127 +0xb5 fp=0xc001de5530 sp=0xc001de54b8 pc=0xa275b5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc005e5e000, 0xc001de58b0) pkg/sentry/kernel/task_clone.go:224 +0x124f fp=0xc001de58a0 sp=0xc001de5530 pc=0xa0b0af gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x101000101010101?, 0x10001?, 0x0?, 0x0?, 0x0?, 0x0?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x8d fp=0xc001de5918 sp=0xc001de58a0 pc=0xad346d gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc005e5e000?, {{0x3d0f00}, {0x7fa690dde2f0}, {0x7fa690dde9d0}, {0x7fa690dde9d0}, {0x7fa690dde700}, {0x7fa690dde700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x6e fp=0xc001de5958 sp=0xc001de5918 pc=0xa9a0ae gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc005e5e000, 0x38, {{0x3d0f00}, {0x7fa690dde2f0}, {0x7fa690dde9d0}, {0x7fa690dde9d0}, {0x7fa690dde700}, {0x7fa690dde700}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc001de5c98 sp=0xc001de5958 pc=0xa2accb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc005e5e000, 0xc000d2d380?, {{0x3d0f00}, {0x7fa690dde2f0}, {0x7fa690dde9d0}, {0x7fa690dde9d0}, {0x7fa690dde700}, {0x7fa690dde700}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc001de5cf8 sp=0xc001de5c98 pc=0xa2c2b4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0003d6400?, 0xc001de5e40?, {{0x3d0f00}, {0x7fa690dde2f0}, {0x7fa690dde9d0}, {0x7fa690dde9d0}, {0x7fa690dde700}, {0x7fa690dde700}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc001de5d58 sp=0xc001de5cf8 pc=0xa2bea5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc009bedad0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc001de5e50 sp=0xc001de5d58 pc=0xa2bb6c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0066e4880?, 0xc005e5e000) pkg/sentry/kernel/task_run.go:253 +0x1125 fp=0xc001de5f60 sp=0xc001de5e50 pc=0xa1d925 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc005e5e000, 0x4e71) pkg/sentry/kernel/task_run.go:94 +0x1ec fp=0xc001de5fc0 sp=0xc001de5f60 pc=0xa1c16c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc001de5fe0 sp=0xc001de5fc0 pc=0xa2916a runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc001de5fe8 sp=0xc001de5fe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x105