panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1e09091] goroutine 561 gp=0xc00039f500 m=26 mp=0xc000b0e008 [running]: panic({0x3130a0?, 0x285f770?}) GOROOT/src/runtime/panic.go:779 +0x158 fp=0xc00039d0b0 sp=0xc00039d000 pc=0x129ec98 runtime.panicmem(...) GOROOT/src/runtime/panic.go:261 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:881 +0x378 fp=0xc00039d110 sp=0xc00039d0b0 pc=0x12b9ef8 gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*endpoint).OnCorkOptionSet(0xc000da3808, 0x0) pkg/tcpip/transport/tcp/endpoint.go:1766 +0xd1 fp=0xc00039d170 sp=0xc00039d110 pc=0x1e09091 gvisor.dev/gvisor/pkg/tcpip.(*SocketOptions).SetCorkOption(0xc000da3d18, 0x0) pkg/tcpip/socketops.go:474 +0x6f fp=0xc00039d190 sp=0xc00039d170 pc=0x162fd2f gvisor.dev/gvisor/pkg/sentry/socket/netstack.setSockOptTCP(0x0?, {0x764508, 0xc00082cb40}, {0x7f9ad91cc118, 0xc000da3808}, 0x3, {0xc000d0e93c, 0x4, 0x1?}) pkg/sentry/socket/netstack/netstack.go:2015 +0x4de fp=0xc00039d248 sp=0xc00039d190 pc=0x1ee0a7e gvisor.dev/gvisor/pkg/sentry/socket/netstack.SetSockOpt(0xc000d0e008, {0x764508, 0xc00082cb40}, {0x7f9ad91cc118, 0xc000da3808}, 0x6, 0x3, {0xc000d0e93c, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:1765 +0x1cf fp=0xc00039d2a8 sp=0xc00039d248 pc=0x1ede84f gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*sock).SetSockOpt(0xc00082cb40, 0xc000d0e008, 0x6, 0x3, {0xc000d0e93c, 0x4, 0x90}) pkg/sentry/socket/netstack/netstack.go:611 +0x6aa fp=0xc00039d3d0 sp=0xc00039d2a8 pc=0x1ed47aa gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SetSockOpt(0xc000d0e008, 0x126c414?, {{0x3}, {0x6}, {0x3}, {0x200002c0}, {0x4}, {0x0}}) pkg/sentry/syscalls/linux/sys_socket.go:551 +0x46c fp=0xc00039d508 sp=0xc00039d3d0 pc=0x1f9d1cc gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000d0e008, 0x36, {{0x3}, {0x6}, {0x3}, {0x200002c0}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:143 +0xb9f fp=0xc00039d968 sp=0xc00039d508 pc=0x1d09ebf gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000d0e008, 0x36, {{0x3}, {0x6}, {0x3}, {0x200002c0}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:323 +0x85 fp=0xc00039da10 sp=0xc00039d968 pc=0x1d0bfe5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000d0e008, 0x36, {{0x3}, {0x6}, {0x3}, {0x200002c0}, {0x4}, {0x0}}) pkg/sentry/kernel/task_syscall.go:283 +0xc7 fp=0xc00039da80 sp=0xc00039da10 pc=0x1d0b907 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000d0e008) pkg/sentry/kernel/task_syscall.go:258 +0x54a fp=0xc00039dbb0 sp=0xc00039da80 pc=0x1d0b46a gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000d0e008?, 0xc000d0e008) pkg/sentry/kernel/task_run.go:263 +0x22f5 fp=0xc00039de98 sp=0xc00039dbb0 pc=0x1cf3435 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000d0e008, 0x4c) pkg/sentry/kernel/task_run.go:98 +0x39b fp=0xc00039dfb0 sp=0xc00039de98 pc=0x1cf075b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.gowrap1() pkg/sentry/kernel/task_start.go:390 +0x45 fp=0xc00039dfe0 sp=0xc00039dfb0 pc=0x1d07545 runtime.goexit({}) src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00039dfe8 sp=0xc00039dfe0 pc=0x12dd241 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start in goroutine 584 pkg/sentry/kernel/task_start.go:390 +0x1ce