panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 4016 [running]: panic({0xedc140, 0xc0025eca70}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc002a08e18 sp=0xc002a08d58 pc=0x4359f7 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc001ac47e0, 0xc000fbe000, 0x10bc933?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x559 fp=0xc002a08f00 sp=0xc002a08e18 pc=0xcd3779 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc002abc000, 0x0?, 0x100203000?, {0x10bc933, 0x4}, 0x0?, 0x8?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0xf9 fp=0xc002a08f88 sp=0xc002a08f00 pc=0xcc9959 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x449514?, 0xc000427aa0?, {0x10bc933, 0x4}, 0xc002a090b8?, 0x4499d2?) pkg/sentry/kernel/task_cgroup.go:234 +0xcd fp=0xc002a09048 sp=0xc002a08f88 pc=0x979fcd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc000b35500, 0x0?, {0x10bc933, 0x4}, 0xc001560900?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xc5 fp=0xc002a090d0 sp=0xc002a09048 pc=0x97a105 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x3a fp=0xc002a09120 sp=0xc002a090d0 pc=0x9937fa gvisor.dev/gvisor/pkg/cleanup.clean(...) pkg/cleanup/cleanup.go:59 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc002a093e8) pkg/cleanup/cleanup.go:44 +0x37 fp=0xc002a09140 sp=0xc002a09120 pc=0x6beff7 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc002a09158 sp=0xc002a09140 pc=0x993886 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc002a09198 sp=0xc002a09158 pc=0x434b13 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc0001ba1c0, {0x12d5590?, 0xc000b35500?}, 0xc002a09730) pkg/sentry/kernel/task_start.go:211 +0x8df fp=0xc002a09410 sp=0xc002a09198 pc=0x99307f gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc000b35500?, {0x12d5590, 0xc000b35500}, 0xc002a09730) pkg/sentry/kernel/task_start.go:127 +0x92 fp=0xc002a09488 sp=0xc002a09410 pc=0x992592 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc000b35500, 0xc002a09808) pkg/sentry/kernel/task_clone.go:224 +0xff9 fp=0xc002a097f8 sp=0xc002a09488 pc=0x97b1f9 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0xf21dd?, 0x40000002?, 0x0?, 0x7d3680?, 0x0?, 0xc002a098d4?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x73 fp=0xc002a09870 sp=0xc002a097f8 pc=0xa28e13 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc68cc9?, {{0x3d0f00}, {0x7f63d18023f0}, {0x7f63d18029d0}, {0x7f63d18029d0}, {0x7f63d1802700}, {0x7f63d1802700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x32 fp=0xc002a098b0 sp=0xc002a09870 pc=0x9fa752 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000b35500, 0x38, {{0x3d0f00}, {0x7f63d18023f0}, {0x7f63d18029d0}, {0x7f63d18029d0}, {0x7f63d1802700}, {0x7f63d1802700}}) pkg/sentry/kernel/task_syscall.go:142 +0x815 fp=0xc002a09ca0 sp=0xc002a098b0 pc=0x9956f5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000b35500, 0x0?, {{0x3d0f00}, {0x7f63d18023f0}, {0x7f63d18029d0}, {0x7f63d18029d0}, {0x7f63d1802700}, {0x7f63d1802700}}) pkg/sentry/kernel/task_syscall.go:322 +0x4d fp=0xc002a09d10 sp=0xc002a09ca0 pc=0x996a2d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00230ac30?, 0xc0008fb590?, {{0x3d0f00}, {0x7f63d18023f0}, {0x7f63d18029d0}, {0x7f63d18029d0}, {0x7f63d1802700}, {0x7f63d1802700}}) pkg/sentry/kernel/task_syscall.go:282 +0x65 fp=0xc002a09d70 sp=0xc002a09d10 pc=0x9966e5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000b35500) pkg/sentry/kernel/task_syscall.go:257 +0x32d fp=0xc002a09e38 sp=0xc002a09d70 pc=0x99642d gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00089ea00?, 0xc000b35500) pkg/sentry/kernel/task_run.go:253 +0xe65 fp=0xc002a09f60 sp=0xc002a09e38 pc=0x98a565 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000b35500, 0x241) pkg/sentry/kernel/task_run.go:94 +0x1ac fp=0xc002a09fc0 sp=0xc002a09f60 pc=0x9890ec gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc002a09fe0 sp=0xc002a09fc0 pc=0x993e8a runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc002a09fe8 sp=0xc002a09fe0 pc=0x4694e1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0xf9