Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serf panics on MacOS when waking up from sleep during a network switch #688

Open
arianvp opened this issue Apr 26, 2023 · 0 comments
Open

Comments

@arianvp
Copy link

arianvp commented Apr 26, 2023

To reproduce:

  1. close macbook
  2. walk to a different WiFi access point
  3. open MacBook lid
  4. serf panics

I think it might specifically be because I switched to a network out without Ipv6.

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

goroutine 701 [running]:
net.(*UDPConn).SyscallConn(0x140000a47c0?)
	net/udpsock.go:129 +0x18
golang.org/x/net/internal/socket.NewConn({0x1032dad18?, 0x0})
	golang.org/x/net@v0.0.0-20210410081132-afb366fc7cd1/internal/socket/rawconn.go:57 +0x170
golang.org/x/net/ipv6.NewPacketConn({0x1032d8c60?, 0x0})
	golang.org/x/net@v0.0.0-20210410081132-afb366fc7cd1/ipv6/endpoint.go:121 +0x40
github.com/hashicorp/mdns.(*client).setInterface(0x14000390c60, 0x1400008dda0?)
	github.com/hashicorp/mdns@v1.0.4/client.go:191 +0xac
github.com/hashicorp/mdns.Query(0x1400016df68)
	github.com/hashicorp/mdns@v1.0.4/client.go:72 +0x6c
github.com/hashicorp/serf/cmd/serf/command/agent.(*AgentMDNS).poll(0x14000186480, 0x14000300000)
	github.com/hashicorp/serf/cmd/serf/command/agent/mdns.go:127 +0x9c
created by github.com/hashicorp/serf/cmd/serf/command/agent.(*AgentMDNS).run
	github.com/hashicorp/serf/cmd/serf/command/agent/mdns.go:115 +0x320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant