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

main.readNameserversFromFile(0xc000090b40, 0x0, 0x0, 0x0, 0x12d1d28, 0x1e) /home/travis/gopath/src/github.com/mwiora/NAMEinator/loader.go:52 +0x45 #39

Open
Drjacky opened this issue Dec 11, 2020 · 0 comments

Comments

@Drjacky
Copy link

Drjacky commented Dec 11, 2020

The result of this binary: https://github.com/mwiora/NAMEinator/releases/download/v0.0.5/NAMEinator_0.0.5_linux_amd64.tar.gz

➜  NAMEinator_0.0.5_darwin_amd64 ./NAMEinator
starting NAMEinator - version 0.0.5
understood the following configuration: {numberOfDomains:100 debug:false contest:true nameserver:}
-------------
NOTE: as this is an alpha - we rely on feedback - please report bugs and featurerequests to https://github.com/mwiora/NAMEinator/issues and provide this output
OS: darwin ARCH: amd64
-------------
trying to load nameservers from datasrc/nameserver-globals.csv
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
main.readNameserversFromFile(0xc000090b40, 0x0, 0x0, 0x0, 0x12d1d28, 0x1e)
	/home/travis/gopath/src/github.com/mwiora/NAMEinator/loader.go:52 +0x459
main.prepareBenchmarkNameservers(0xc000090b40, 0x0, 0x0, 0x0)
	/home/travis/gopath/src/github.com/mwiora/NAMEinator/loader.go:17 +0xc5
main.prepareBenchmark(0xc000090b40, 0x0, 0x0, 0x0, 0xc000090b70, 0x0, 0x0, 0x0)
	/home/travis/gopath/src/github.com/mwiora/NAMEinator/main.go:126 +0x45
main.main()
	/home/travis/gopath/src/github.com/mwiora/NAMEinator/main.go:164 +0xa5

But, when I built by my own, it worked.

➜  NAMEinator-master go version
go version go1.15.6 darwin/amd64
➜  NAMEinator-master go build
go: downloading github.com/miekg/dns v1.1.31
go: downloading golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe
go: downloading golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550
go: downloading golang.org/x/net v0.0.0-20190923162816-aa69164e4478
➜  NAMEinator-master ./NAMEinator
starting NAMEinator - version custom
..........
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