panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1e1f176] goroutine 262 gp=0xc000738c40 m=17 mp=0xc000780808 [running]: panic({0x312be0?, 0x2822520?}) GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc000a170c0 sp=0xc000a17010 pc=0x1355e98 runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:881 +0x378 fp=0xc000a17120 sp=0xc000a170c0 pc=0x13710f8 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).OnCorkOptionSet(0xc00022a708, 0x0) pkg/tcpip/transport/tcp/endpoint.go:1766 +0xb6 fp=0xc000a17190 sp=0xc000a17120 pc=0x1e1f176 gvisor.dev/gvisor/pkg/tcpip.(*SocketOptions).SetCorkOption(0xc00022ac18, 0x0) pkg/tcpip/socketops.go:474 +0x66 fp=0xc000a171b0 sp=0xc000a17190 pc=0x16d4526 gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptTCP(0x0?, {0x8335c8, 0xc0003400f0}, {0x7fc0afdca0a8, 0xc00022a708}, 0x3, {0xc0000353bc, 0x4, 0x1397711?}) pkg/sentry/socket/netstack/netstack.go:2015 +0x425 fp=0xc000a17250 sp=0xc000a171b0 pc=0x1eef5c5 gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0xc000034a88, {0x8335c8, 0xc0003400f0}, {0x7fc0afdca0a8, 0xc00022a708}, 0x6, 0x3, {0xc0000353bc, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:1765 +0x196 fp=0xc000a172b0 sp=0xc000a17250 pc=0x1eec996 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0xc0003400f0, 0xc000034a88, 0x6, 0x3, {0xc0000353bc, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:611 +0x608 fp=0xc000a173d8 sp=0xc000a172b0 pc=0x1ee4468 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0xc000034a88, 0x400a17598?, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7efb6d29fe78}}) pkg/sentry/syscalls/linux/sys_socket.go:551 +0x3b5 fp=0xc000a174f0 sp=0xc000a173d8 pc=0x1fb4e55 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000034a88, 0x36, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7efb6d29fe78}}) pkg/sentry/kernel/task_syscall.go:143 +0x995 fp=0xc000a17938 sp=0xc000a174f0 pc=0x1d30595 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000034a88, 0x36, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7efb6d29fe78}}) pkg/sentry/kernel/task_syscall.go:323 +0x72 fp=0xc000a179e0 sp=0xc000a17938 pc=0x1d323f2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000034a88, 0x36, {{0x3}, {0x6}, {0x3}, {0x200000c0}, {0x4}, {0x7efb6d29fe78}}) pkg/sentry/kernel/task_syscall.go:283 +0x94 fp=0xc000a17a50 sp=0xc000a179e0 pc=0x1d31df4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000034a88) pkg/sentry/kernel/task_syscall.go:258 +0x4b0 fp=0xc000a17b80 sp=0xc000a17a50 pc=0x1d31990 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000034a88?, 0xc000034a88) pkg/sentry/kernel/task_run.go:263 +0x1fee fp=0xc000a17e98 sp=0xc000a17b80 pc=0x1d1b20e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000034a88, 0x6) pkg/sentry/kernel/task_run.go:98 +0x46d fp=0xc000a17fb0 sp=0xc000a17e98 pc=0x1d1888d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:390 +0x45 fp=0xc000a17fe0 sp=0xc000a17fb0 pc=0x1d2e0c5 runtime.goexit({}) src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000a17fe8 sp=0xc000a17fe0 pc=0x1394441 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 231 pkg/sentry/kernel/task_start.go:390 +0x1ae