Sometimes at Syncthing startup this crash:
"[CXLQB] 18:34:06 INFO: Starting web GUI on http://127.0.0.1:8080/ [CXLQB] 18:34:06 INFO: Populating repository index panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x1 pc=0x81761c0]
goroutine 1 [running]: runtime.panic(0x830b3c0, 0x87757a8) /usr/local/go/src/pkg/runtime/panic.c:266 +0xac github.com/calmh/syncthing/upnp.Discover(0x0, 0x0, 0x0) /Users/jb/src/github.com/calmh/syncthing/upnp/upnp.go:91 +0x5a0 main.setupUPnP(0xf4988e2) /Users/jb/src/github.com/calmh/syncthing/cmd/syncthing/main.go:367 +0x10d main.main() /Users/jb/src/github.com/calmh/syncthing/cmd/syncthing/main.go:323 +0x132a
goroutine 4 [chan receive]: main.trackCPUUsage() /Users/jb/src/github.com/calmh/syncthing/cmd/syncthing/gui_unix.go:18 +0xe0 created by main.init·2 /Users/jb/src/github.com/calmh/syncthing/cmd/syncthing/gui_unix.go:11 +0x25
goroutine 6 [chan receive]: main.saveConfigLoop(0x18ad5ab0, 0x2d) /Users/jb/src/github.com/calmh/syncthing/cmd/syncthing/main.go:446 +0x4a created by main.main /Users/jb/src/github.com/calmh/syncthing/cmd/syncthing/main.go:162 +0xa9c
goroutine 7 [sleep]: time.Sleep(0x2a05f200, 0x1) /usr/local/go/src/pkg/runtime/time.goc:31 +0x3c github.com/calmh/syncthing/model.(*Model).broadcastIndexLoop(0x18ad1b40) /Users/jb/src/github.com/calmh/syncthing/model/model.go:505 +0x5e created by github.com/calmh/syncthing/model.NewModel /Users/jb/src/github.com/calmh/syncthing/model/model.go:88 +0x30c
goroutine 8 [IO wait]: net.runtime_pollWait(0xb77a0ca8, 0x72, 0x0) /usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x61 net.(*pollDesc).Wait(0x18acefb8, 0x72, 0xb779a890, 0xb) /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x35 net.(*pollDesc).WaitRead(0x18acefb8, 0xb, 0xb779a890) /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x33 net.(*netFD).accept(0x18acef80, 0x83dfd10, 0x0, 0xb779a890, 0xb) /usr/local/go/src/pkg/net/fd_unix.go:382 +0x22a net.(*TCPListener).AcceptTCP(0x18ad94f0, 0xc, 0x18c1c008, 0x80d418e) /usr/local/go/src/pkg/net/tcpsock_posix.go:233 +0x44 net.(*TCPListener).Accept(0x18ad94f0, 0x30, 0x0, 0x0, 0x0) /usr/local/go/src/pkg/net/tcpsock_posix.go:243 +0x2b net/http.(*Server).Serve(0x18a1b570, 0xb779fd10, 0x18ad94f0, 0x0, 0x0) /usr/local/go/src/pkg/net/http/server.go:1622 +0x78 net/http.Serve(0xb779fd10, 0x18ad94f0, 0xb77a0e20, 0x18a6df60, 0x18a70430, …) /usr/local/go/src/pkg/net/http/server.go:1561 +0x65 created by main.startGUI /Users/jb/src/github.com/calmh/syncthing/cmd/syncthing/gui.go:79 +0xbbb
[1]+ Uscita 2 ./syncthing"
Last time an upgrade of the binary solved, today not! What happened? And what can I do?