hashicorp / hashicorp/mdns

Server code crashes with a segfault

Open
#39 3 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.