panic: cgroupfs: pids controller pending pool would be negative if charge was allowed: current pool: 0, proposed charge: -1 goroutine 15390 [running]: panic({0xedc140, 0xc007167270}) GOROOT/src/runtime/panic.go:941 +0x397 fp=0xc0005a8e18 sp=0xc0005a8d58 pc=0x4359f7 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*pidsController).Charge(0xc000adaea0, 0xc002bb2000, 0x10bc933?, 0x4?, 0xffffffffffffffff) pkg/sentry/fsimpl/cgroupfs/pids.go:207 +0x559 fp=0xc0005a8f00 sp=0xc0005a8e18 pc=0xcd3779 gvisor.dev/gvisor/pkg/sentry/fsimpl/cgroupfs.(*cgroupInode).Charge(0xc007ffe380, 0x203000?, 0x203000?, {0x10bc933, 0x4}, 0xc0004ee000?, 0x0?) pkg/sentry/fsimpl/cgroupfs/base.go:321 +0xf9 fp=0xc0005a8f88 sp=0xc0005a8f00 pc=0xcc9959 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).chargeLocked(0x4499d2?, 0x1bce400?, {0x10bc933, 0x4}, 0x180?, 0xc007c29b00?) pkg/sentry/kernel/task_cgroup.go:234 +0xcd fp=0xc0005a9048 sp=0xc0005a8f88 pc=0x979fcd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).ChargeFor(0xc0028b6a80, 0x0?, {0x10bc933, 0x4}, 0xc00287a540?, 0x0?) pkg/sentry/kernel/task_cgroup.go:245 +0xc5 fp=0xc0005a90d0 sp=0xc0005a9048 pc=0x97a105 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func1() pkg/sentry/kernel/task_start.go:194 +0x3a fp=0xc0005a9120 sp=0xc0005a90d0 pc=0x9937fa gvisor.dev/gvisor/pkg/cleanup.clean(...) pkg/cleanup/cleanup.go:59 gvisor.dev/gvisor/pkg/cleanup.(*Cleanup).Clean(0xc0005a93e8) pkg/cleanup/cleanup.go:44 +0x37 fp=0xc0005a9140 sp=0xc0005a9120 pc=0x6beff7 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask.func2() pkg/sentry/kernel/task_start.go:180 +0x26 fp=0xc0005a9158 sp=0xc0005a9140 pc=0x993886 runtime.deferreturn() GOROOT/src/runtime/panic.go:436 +0x33 fp=0xc0005a9198 sp=0xc0005a9158 pc=0x434b13 gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).newTask(0xc0004e81c0, {0x12d5590?, 0xc0028b6a80?}, 0xc0005a9730) pkg/sentry/kernel/task_start.go:211 +0x8df fp=0xc0005a9410 sp=0xc0005a9198 pc=0x99307f gvisor.dev/gvisor/pkg/sentry/kernel.(*TaskSet).NewTask(0xc0028b6a80?, {0x12d5590, 0xc0028b6a80}, 0xc0005a9730) pkg/sentry/kernel/task_start.go:127 +0x92 fp=0xc0005a9488 sp=0xc0005a9410 pc=0x992592 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Clone(0xc0028b6a80, 0xc0005a9808) pkg/sentry/kernel/task_clone.go:224 +0xff9 fp=0xc0005a97f8 sp=0xc0005a9488 pc=0x97b1f9 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.clone(0xf293d?, 0x40000002?, 0x0?, 0x7d3680?, 0x0?, 0xc0005a98d4?) pkg/sentry/syscalls/linux/sys_thread.go:208 +0x73 fp=0xc0005a9870 sp=0xc0005a97f8 pc=0xa28e13 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Clone(0xc68cc9?, {{0x3d0f00}, {0x7f7c8a28a3f0}, {0x7f7c8a28a9d0}, {0x7f7c8a28a9d0}, {0x7f7c8a28a700}, {0x7f7c8a28a700}}) pkg/sentry/syscalls/linux/sys_clone_amd64.go:36 +0x32 fp=0xc0005a98b0 sp=0xc0005a9870 pc=0x9fa752 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0028b6a80, 0x38, {{0x3d0f00}, {0x7f7c8a28a3f0}, {0x7f7c8a28a9d0}, {0x7f7c8a28a9d0}, {0x7f7c8a28a700}, {0x7f7c8a28a700}}) pkg/sentry/kernel/task_syscall.go:142 +0x815 fp=0xc0005a9ca0 sp=0xc0005a98b0 pc=0x9956f5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0028b6a80, 0x0?, {{0x3d0f00}, {0x7f7c8a28a3f0}, {0x7f7c8a28a9d0}, {0x7f7c8a28a9d0}, {0x7f7c8a28a700}, {0x7f7c8a28a700}}) pkg/sentry/kernel/task_syscall.go:322 +0x4d fp=0xc0005a9d10 sp=0xc0005a9ca0 pc=0x996a2d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0039f7110?, 0xc0001cab40?, {{0x3d0f00}, {0x7f7c8a28a3f0}, {0x7f7c8a28a9d0}, {0x7f7c8a28a9d0}, {0x7f7c8a28a700}, {0x7f7c8a28a700}}) pkg/sentry/kernel/task_syscall.go:282 +0x65 fp=0xc0005a9d70 sp=0xc0005a9d10 pc=0x9966e5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0028b6a80) pkg/sentry/kernel/task_syscall.go:257 +0x32d fp=0xc0005a9e38 sp=0xc0005a9d70 pc=0x99642d gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc005f41580?, 0xc0028b6a80) pkg/sentry/kernel/task_run.go:253 +0xe65 fp=0xc0005a9f60 sp=0xc0005a9e38 pc=0x98a565 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0028b6a80, 0x9ac) pkg/sentry/kernel/task_run.go:94 +0x1ac fp=0xc0005a9fc0 sp=0xc0005a9f60 pc=0x9890ec gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:370 +0x2a fp=0xc0005a9fe0 sp=0xc0005a9fc0 pc=0x993e8a runtime.goexit() src/runtime/asm_amd64.s:1571 +0x1 fp=0xc0005a9fe8 sp=0xc0005a9fe0 pc=0x4694e1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:370 +0xf9