SIGSEGV on gateway selection
If -select-gateway
param is passed it gives a SIGSEGV:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x98088e]
goroutine 9 [running]:
0xacab.org/leap/bitmask-vpn/pkg/systray.(*bmTray).addGateways(0xc000082700)
/home/user/dev/go/src/0xacab.org/leap/bitmask-vpn/pkg/systray/systray.go:161 +0x3e
0xacab.org/leap/bitmask-vpn/pkg/systray.(*bmTray).onReady(0xc000082700)
/home/user/dev/go/src/0xacab.org/leap/bitmask-vpn/pkg/systray/systray.go:77 +0x427
0xacab.org/leap/bitmask-vpn/pkg/systray.(*bmTray).onReady-fm()
/home/user/dev/go/src/0xacab.org/leap/bitmask-vpn/pkg/systray/systray.go:57 +0x2a
0xacab.org/leap/bitmask-vpn/vendor/github.com/getlantern/systray.Run.func2(0xc000020240, 0xc000049350)
/home/user/dev/go/src/0xacab.org/leap/bitmask-vpn/vendor/github.com/getlantern/systray/systray.go:67 +0x3e
created by 0xacab.org/leap/bitmask-vpn/vendor/github.com/getlantern/systray.Run
/home/user/dev/go/src/0xacab.org/leap/bitmask-vpn/vendor/github.com/getlantern/systray/systray.go:65 +0xf0