Skip to content

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

@Drjacky

Description

@Drjacky

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
..........

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions