panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 288759 [running]: panic({0xfe3400, 0xc0082c7a50}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc001a2cea0 sp=0xc001a2cde0 pc=0x435837 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc009c5fc20, 0xc008a1c000, 0x11c3e79?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x5f4 fp=0xc001a2cf88 sp=0xc001a2cea0 pc=0xdc3454 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc00783ae00, 0x7f62f6174e00?, 0xc00734a800?, {0x11c3e79, 0x4}, 0x203002?, 0x400?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0x10d fp=0xc001a2d010 sp=0xc001a2cf88 pc=0xdb846d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x449812?, 0x1e9d8a0?, {0x11c3e79, 0x4}, 0x3c80?, 0xc008e51b00?) pkg/sentry/kernel/task_cgroup.go:234 +0xd7 fp=0xc001a2d0d0 sp=0xc001a2d010 pc=0xa07737 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc0086c6a80, 0xc001a2d188?, {0x11c3e79, 0x4}, 0xc001a2d100?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xdf fp=0xc001a2d158 sp=0xc001a2d0d0 pc=0xa0789f gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x45 fp=0xc001a2d1a8 sp=0xc001a2d158 pc=0xa26485 gvisor.dev/gvisor/pkg/cleanup.clean({0xc001908248, 0xa2d6cf?, 0xc0001781c0?}) pkg/cleanup/cleanup.go:59 +0x42 fp=0xc001a2d1c0 sp=0xc001a2d1a8 pc=0x6e1362 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc001a2d490) pkg/cleanup/cleanup.go:44 +0x36 fp=0xc001a2d1e8 sp=0xc001a2d1c0 pc=0x6e1196 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc001a2d200 sp=0xc001a2d1e8 pc=0xa26526 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc001a2d240 sp=0xc001a2d200 pc=0x434953 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc0001781c0, {0x140fa10?, 0xc0086c6a80?}, 0xc001a2d7d8) pkg/sentry/kernel/task_start.go:211 +0x929 fp=0xc001a2d4b8 sp=0xc001a2d240 pc=0xa25ca9 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc0086c6a80?, {0x140fa10, 0xc0086c6a80}, 0xc001a2d7d8) pkg/sentry/kernel/task_start.go:127 +0xb5 fp=0xc001a2d530 sp=0xc001a2d4b8 pc=0xa25195 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc0086c6a80, 0xc001a2d8b0) pkg/sentry/kernel/task_clone.go:224 +0x124f fp=0xc001a2d8a0 sp=0xc001a2d530 pc=0xa08c6f gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x7eaa8?, 0x1?, 0xc001a2d960?, 0x0?, 0x0?, 0x0?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x8d fp=0xc001a2d918 sp=0xc001a2d8a0 pc=0xad09cd gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0x0?, {{0x3d0f00}, {0x7fd1eb9082f0}, {0x7fd1eb9089d0}, {0x7fd1eb9089d0}, {0x7fd1eb908700}, {0x7fd1eb908700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x6e fp=0xc001a2d958 sp=0xc001a2d918 pc=0xa9760e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0086c6a80, 0x38, {{0x3d0f00}, {0x7fd1eb9082f0}, {0x7fd1eb9089d0}, {0x7fd1eb9089d0}, {0x7fd1eb908700}, {0x7fd1eb908700}}) pkg/sentry/kernel/task_syscall.go:142 +0x7d0 fp=0xc001a2dc98 sp=0xc001a2d958 pc=0xa28870 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0086c6a80, 0x0?, {{0x3d0f00}, {0x7fd1eb9082f0}, {0x7fd1eb9089d0}, {0x7fd1eb9089d0}, {0x7fd1eb908700}, {0x7fd1eb908700}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc001a2dcf8 sp=0xc001a2dc98 pc=0xa29e34 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0x8b77cf?, 0x0?, {{0x3d0f00}, {0x7fd1eb9082f0}, {0x7fd1eb9089d0}, {0x7fd1eb9089d0}, {0x7fd1eb908700}, {0x7fd1eb908700}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc001a2dd58 sp=0xc001a2dcf8 pc=0xa29a25 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0086c6a80) pkg/sentry/kernel/task_syscall.go:257 +0x3b5 fp=0xc001a2de50 sp=0xc001a2dd58 pc=0xa296f5 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc008794680?, 0xc0086c6a80) pkg/sentry/kernel/task_run.go:253 +0x1145 fp=0xc001a2df60 sp=0xc001a2de50 pc=0xa1b505 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0086c6a80, 0x2c5d) pkg/sentry/kernel/task_run.go:94 +0x1ec fp=0xc001a2dfc0 sp=0xc001a2df60 pc=0xa19d2c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc001a2dfe0 sp=0xc001a2dfc0 pc=0xa26d4a runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc001a2dfe8 sp=0xc001a2dfe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x105