You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Elias Naur eab6e9ea4e ipn: don't temporarilySetMachineKeyInPersist for Android clients
Without this change, newly installed Android clients crash on startup
with

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x9881b9f8]

goroutine 29 [running]:
tailscale.com/ipn.(*LocalBackend).initMachineKeyLocked.func1(0x50cb1b9c, 0x503c9a00)
	/home/elias/proj/tailscale/ipn/local.go:711 +0x2c
tailscale.com/ipn.(*LocalBackend).initMachineKeyLocked(0x503c9a00, 0x0, 0x0)
	/home/elias/proj/tailscale/ipn/local.go:736 +0x728
tailscale.com/ipn.(*LocalBackend).loadStateLocked(0x503c9a00, 0x988be40e, 0xb, 0x0, 0x0, 0x0, 0x0, 0x0)
	/home/elias/proj/tailscale/ipn/local.go:817 +0x1e8
tailscale.com/ipn.(*LocalBackend).Start(0x503c9a00, 0x0, 0x0, 0x988be40e, 0xb, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/elias/proj/tailscale/ipn/local.go:412 +0x200
main.(*backend).Start(...)
	/home/elias/proj/tailscale-android/cmd/tailscale/backend.go:116
main.(*App).runBackend.func3(0x50106340, 0x5000c060, 0x50d9a280)
	/home/elias/proj/tailscale-android/cmd/tailscale/main.go:169 +0x90
created by main.(*App).runBackend
	/home/elias/proj/tailscale-android/cmd/tailscale/main.go:168 +0x27c

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
..
ipnserver ipn/ipnserver: move Windows local disk logging up to the parent process 4 years ago
ipnstate Revert "all: keep UserProfiles a slice instead of a map for longer" 4 years ago
policy ipn, ipn/policy: filter portlist to a short list of "interesting" ports 4 years ago
backend.go ipn, ipnserver, cmd/tailscale: add "server mode" support on Windows 4 years ago
doc.go Move Linux client & common packages into a public repo. 4 years ago
fake_test.go cmd/tailscale/cli: add basic 'down' subcommand 4 years ago
handle.go ipn: add Login backend command for sign-in with token 4 years ago
local.go ipn: don't temporarilySetMachineKeyInPersist for Android clients 4 years ago
loglines_test.go ipn: don't log redundant peer stats so often 4 years ago
message.go version: use OSS repo's version when building. 4 years ago
message_test.go ipn: add Login backend command for sign-in with token 4 years ago
prefs.go ipn: use cmd/cloner for Prefs.Clone 4 years ago
prefs_clone.go ipn: use cmd/cloner for Prefs.Clone 4 years ago
prefs_test.go ipn, ipnserver, cmd/tailscale: add "server mode" support on Windows 4 years ago
store.go ipn, ipnserver, cmd/tailscale: add "server mode" support on Windows 4 years ago
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 4 years ago