Skip to content

Instantly share code, notes, and snippets.

@calmh
Created August 18, 2016 21:02
Show Gist options
  • Save calmh/f4ab5af99859ab24594005f4030727f2 to your computer and use it in GitHub Desktop.
Save calmh/f4ab5af99859ab24594005f4030727f2 to your computer and use it in GitHub Desktop.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4cc1d7]
goroutine 116 [running]:
panic(0x624860, 0xc4200120a0)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/syncthing/syncthing/vendor/github.com/ccding/go-stun/stun.(*Client).Keepalive(0xc420825cc8, 0xc420462000, 0x0, 0x1)
/Users/jb/src/github.com/syncthing/syncthing/vendor/github.com/ccding/go-stun/stun/client.go:122 +0xe7
github.com/syncthing/syncthing/lib/connections.(*kcpListener).stunRenewal(0xc4211a4100, 0xb631c0, 0xc4219d2380)
/Users/jb/src/github.com/syncthing/syncthing/lib/connections/kcp_listen.go:237 +0x85a
created by github.com/syncthing/syncthing/lib/connections.(*kcpListener).Serve
/Users/jb/src/github.com/syncthing/syncthing/lib/connections/kcp_listen.go:90 +0x6a8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment