panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 474246 [running]: panic({0xfe4320, 0xc00513cae0}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc008beaea0 sp=0xc008beade0 pc=0x435837 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc0023992c0, 0xc007aaf500, 0x11c51d9?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x5f4 fp=0xc008beaf88 sp=0xc008beaea0 pc=0xdc1e54 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc00338a400, 0xc003fcd390?, 0xc003fcd000?, {0x11c51d9, 0x4}, 0x0?, 0x0?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0x10d fp=0xc008beb010 sp=0xc008beaf88 pc=0xdb6e6d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x0?, 0x8?, {0x11c51d9, 0x4}, 0xc0007a8800?, 0x438776?) pkg/sentry/kernel/task_cgroup.go:234 +0xd7 fp=0xc008beb0d0 sp=0xc008beb010 pc=0xa0a717 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc006d2b500, 0x1e9f380?, {0x11c51d9, 0x4}, 0xc008beb1a8?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xdf fp=0xc008beb158 sp=0xc008beb0d0 pc=0xa0a87f gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x45 fp=0xc008beb1a8 sp=0xc008beb158 pc=0xa29445 gvisor.dev/gvisor/pkg/cleanup.clean({0xc001708af0, 0xa30cef?, 0xc00023a9a0?}) pkg/cleanup/cleanup.go:59 +0x42 fp=0xc008beb1c0 sp=0xc008beb1a8 pc=0x6e9402 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc008beb490) pkg/cleanup/cleanup.go:44 +0x36 fp=0xc008beb1e8 sp=0xc008beb1c0 pc=0x6e9236 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc008beb200 sp=0xc008beb1e8 pc=0xa294e6 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc008beb240 sp=0xc008beb200 pc=0x434953 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc00023a9a0, {0x140f6b0?, 0xc006d2b500?}, 0xc008beb7d8) pkg/sentry/kernel/task_start.go:211 +0x929 fp=0xc008beb4b8 sp=0xc008beb240 pc=0xa28c69 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc006d2b500?, {0x140f6b0, 0xc006d2b500}, 0xc008beb7d8) pkg/sentry/kernel/task_start.go:127 +0xb5 fp=0xc008beb530 sp=0xc008beb4b8 pc=0xa28155 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc006d2b500, 0xc008beb8b0) pkg/sentry/kernel/task_clone.go:224 +0x124f fp=0xc008beb8a0 sp=0xc008beb530 pc=0xa0bc4f gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0x101000101010101?, 0x10001?, 0x0?, 0x0?, 0x0?, 0x0?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x8d fp=0xc008beb918 sp=0xc008beb8a0 pc=0xad400d gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc006d2b500?, {{0x3d0f00}, {0x7fe84e59c2f0}, {0x7fe84e59c9d0}, {0x7fe84e59c9d0}, {0x7fe84e59c700}, {0x7fe84e59c700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x6e fp=0xc008beb958 sp=0xc008beb918 pc=0xa9ac4e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc006d2b500, 0x38, {{0x3d0f00}, {0x7fe84e59c2f0}, {0x7fe84e59c9d0}, {0x7fe84e59c9d0}, {0x7fe84e59c700}, {0x7fe84e59c700}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc008bebc98 sp=0xc008beb958 pc=0xa2b86b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc006d2b500, 0xc001e79d40?, {{0x3d0f00}, {0x7fe84e59c2f0}, {0x7fe84e59c9d0}, {0x7fe84e59c9d0}, {0x7fe84e59c700}, {0x7fe84e59c700}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc008bebcf8 sp=0xc008bebc98 pc=0xa2ce54 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000346400?, 0xc008bebe40?, {{0x3d0f00}, {0x7fe84e59c2f0}, {0x7fe84e59c9d0}, {0x7fe84e59c9d0}, {0x7fe84e59c700}, {0x7fe84e59c700}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc008bebd58 sp=0xc008bebcf8 pc=0xa2ca45 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000c76f20?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc008bebe50 sp=0xc008bebd58 pc=0xa2c70c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000a23680?, 0xc006d2b500) pkg/sentry/kernel/task_run.go:253 +0x1125 fp=0xc008bebf60 sp=0xc008bebe50 pc=0xa1e4c5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc006d2b500, 0x4567) pkg/sentry/kernel/task_run.go:94 +0x1ec fp=0xc008bebfc0 sp=0xc008bebf60 pc=0xa1cd0c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc008bebfe0 sp=0xc008bebfc0 pc=0xa29d0a runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc008bebfe8 sp=0xc008bebfe0 pc=0x469321 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0x105