panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x2d8 pc=0xa4f7c7] goroutine 274 gp=0xc0005016c0 m=12 mp=0xc000680808 [running]: panic({0x10decc0?, 0x1f35130?}) GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc000487680 sp=0xc0004875d0 pc=0x43cb78 runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:881 +0x378 fp=0xc0004876e0 sp=0xc000487680 pc=0x456578 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).OnCorkOptionSet(0xc000203508, 0x40?) pkg/tcpip/transport/tcp/endpoint.go:1766 +0x67 fp=0xc000487720 sp=0xc0004876e0 pc=0xa4f7c7 gvisor.dev/gvisor/pkg/tcpip.(*SocketOptions).SetCorkOption(0x1509b28?, 0xf0?) pkg/tcpip/socketops.go:474 +0x24 fp=0xc000487740 sp=0xc000487720 pc=0x65abe4 gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptTCP(0x7f90fd7cf8e0?, {0x1509b28?, 0xc0005600f0?}, {0x7f90fd7cf8e0, 0xc000203508}, 0x3, {0xc0008a5e3c, 0x4, 0xc000429008?}) pkg/sentry/socket/netstack/netstack.go:2015 +0x135 fp=0xc000487780 sp=0xc000487740 pc=0xac9635 gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0x835400?, {0x1509b28?, 0xc0005600f0?}, {0x7f90fd7cf8e0?, 0xc000203508?}, 0xc0008a5508?, 0xc000487870?, {0xc0008a5e3c, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:1765 +0xbc fp=0xc0004877d8 sp=0xc000487780 pc=0xac8a3c gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0xc0005600f0, 0xc0008a5508?, 0x6?, 0x3?, {0xc0008a5e3c, 0x4?, 0x90?}) pkg/sentry/socket/netstack/netstack.go:611 +0x235 fp=0xc000487880 sp=0xc0004877d8 pc=0xac33d5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0xc0008a5508, 0x0?, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7f368929ce78}}) pkg/sentry/syscalls/linux/sys_socket.go:551 +0x266 fp=0xc000487960 sp=0xc000487880 pc=0xb4daa6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0008a5508, 0x36, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7f368929ce78}}) pkg/sentry/kernel/task_syscall.go:143 +0x673 fp=0xc000487ca0 sp=0xc000487960 pc=0x9c4b73 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0008a5508, 0x36, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7f368929ce78}}) pkg/sentry/kernel/task_syscall.go:323 +0x45 fp=0xc000487cf8 sp=0xc000487ca0 pc=0x9c5ce5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0008a5508, 0x36, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7f368929ce78}}) pkg/sentry/kernel/task_syscall.go:283 +0x65 fp=0xc000487d48 sp=0xc000487cf8 pc=0x9c59e5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00054b380?) pkg/sentry/kernel/task_syscall.go:258 +0x2a5 fp=0xc000487e30 sp=0xc000487d48 pc=0x9c5765 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000668f30?, 0xc0008a5508) pkg/sentry/kernel/task_run.go:263 +0xef7 fp=0xc000487f48 sp=0xc000487e30 pc=0x9b9c57 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0008a5508, 0x7) pkg/sentry/kernel/task_run.go:98 +0x1e2 fp=0xc000487fc0 sp=0xc000487f48 pc=0x9b86e2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:390 +0x25 fp=0xc000487fe0 sp=0xc000487fc0 pc=0x9c3465 runtime.goexit({}) src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000487fe8 sp=0xc000487fe0 pc=0x478c41 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 240 pkg/sentry/kernel/task_start.go:390 +0xe5