panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1e09091] goroutine 61022 gp=0xc004efbc00 m=12 mp=0xc000301808 [running]: panic({0x3130a0?, 0x285f770?}) GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc0004570b0 sp=0xc000457000 pc=0x129ec98 runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:881 +0x378 fp=0xc000457110 sp=0xc0004570b0 pc=0x12b9ef8 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).OnCorkOptionSet(0xc0041d7508, 0x0) pkg/tcpip/transport/tcp/endpoint.go:1766 +0xd1 fp=0xc000457170 sp=0xc000457110 pc=0x1e09091 gvisor.dev/gvisor/pkg/tcpip.(*SocketOptions).SetCorkOption(0xc0041d7a18, 0x0) pkg/tcpip/socketops.go:474 +0x6f fp=0xc000457190 sp=0xc000457170 pc=0x162fd2f gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptTCP(0x0?, {0x764508, 0xc00573de00}, {0x7f31bc5a7008, 0xc0041d7508}, 0x3, {0xc00713be3c, 0x4, 0x1?}) pkg/sentry/socket/netstack/netstack.go:2015 +0x4de fp=0xc000457248 sp=0xc000457190 pc=0x1ee0a7e gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0xc00713b508, {0x764508, 0xc00573de00}, {0x7f31bc5a7008, 0xc0041d7508}, 0x6, 0x3, {0xc00713be3c, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:1765 +0x1cf fp=0xc0004572a8 sp=0xc000457248 pc=0x1ede84f gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0xc00573de00, 0xc00713b508, 0x6, 0x3, {0xc00713be3c, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:611 +0x6aa fp=0xc0004573d0 sp=0xc0004572a8 pc=0x1ed47aa gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0xc00713b508, 0x126c414?, {{0x3}, {0x6}, {0x3}, {0x20002dc0}, {0x4}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:551 +0x46c fp=0xc000457508 sp=0xc0004573d0 pc=0x1f9d1cc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00713b508, 0x36, {{0x3}, {0x6}, {0x3}, {0x20002dc0}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:143 +0xb9f fp=0xc000457968 sp=0xc000457508 pc=0x1d09ebf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00713b508, 0x36, {{0x3}, {0x6}, {0x3}, {0x20002dc0}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:323 +0x85 fp=0xc000457a10 sp=0xc000457968 pc=0x1d0bfe5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00713b508, 0x36, {{0x3}, {0x6}, {0x3}, {0x20002dc0}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:283 +0xc7 fp=0xc000457a80 sp=0xc000457a10 pc=0x1d0b907 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00713b508) pkg/sentry/kernel/task_syscall.go:258 +0x54a fp=0xc000457bb0 sp=0xc000457a80 pc=0x1d0b46a gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc00713b508?, 0xc00713b508) pkg/sentry/kernel/task_run.go:263 +0x22f5 fp=0xc000457e98 sp=0xc000457bb0 pc=0x1cf3435 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00713b508, 0x5947) pkg/sentry/kernel/task_run.go:98 +0x39b fp=0xc000457fb0 sp=0xc000457e98 pc=0x1cf075b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:390 +0x45 fp=0xc000457fe0 sp=0xc000457fb0 pc=0x1d07545 runtime.goexit({}) src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000457fe8 sp=0xc000457fe0 pc=0x12dd241 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 61156 pkg/sentry/kernel/task_start.go:390 +0x1ce