Server code crashes with a segfault
- Dominant language
- Go
- Stars
- 1.4k
- Forks
- 225
- Avg merge
- 15h 34m
- Merged PRs (30d)
- 3
Description
Hey, I am trying to use this library, but it crashes under Linux. It works fine on OS X Yosemite, but when I tried to run it under Ubuntu 14.04 in vbox, I get a crash. I will try to look at the code and see if I can resolve it, but I just wanted to document the crash here.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x4c90a3]
goroutine 12 [running]:
github.com/hashicorp/mdns.(_MDNSService).Records(0x0, 0xc20801eb60, 0x15, 0x1000c, 0x0, 0x0, 0x0)
/home/loc/projects/go/src/github.com/hashicorp/mdns/zone.go:139 +0x343
github.com/hashicorp/mdns.(_Server).handleQuestion(0xc20803b680, 0xc20801eb60, 0x15, 0x1000c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
Contributor guide
Assessment
This issue has not been assessed yet.