...and it's driving me insane. What am I doing wrong?
To whom it may concern: it's a custom go1.4.2-linux-amd64 install on Lubuntu 15.04, go get github.com/anything/anything works like a charm. But I can't get to work golang.org/x/anything/anything. Both Git and Mercurial were installed with apt-get.
Thanks in advance!
评论:
Ainar-G:
Dont_Reddit_Me:Exact command and stack trace would be nice.
Ainar-G:Ok, this is getting more weird. I was trying to find out how to get a stack trace and this happened:
user@yomama:~$ go get -v golang.org/x/crypto/bcrypt Fetching https://golang.org/x/crypto/bcrypt?go-get=1 Segmentation fault (core dumped) user@yomama:~$ go help <help print here> user@yomama:~$ go help get <help about 'get' command here> user@yomama:~$ go get -v golang.org/x/crypto/bcrypt Fetching https://golang.org/x/crypto/bcrypt?go-get=1 Parsing meta tags from https://golang.org/x/crypto/bcrypt?go-get=1 (status code 200) get "golang.org/x/crypto/bcrypt": found meta tag main.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/bcrypt?go-get=1 get "golang.org/x/crypto/bcrypt": verifying non-authoritative meta tag Fetching https://golang.org/x/crypto?go-get=1 Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200) golang.org/x/crypto (download) golang.org/x/crypto/blowfish golang.org/x/crypto/bcrypt
...so it then decided to work. How can I get some logging or stack trace to report this?
bmurphy1976:You can try to get the core dump which could be useful. If this keeps happening, and the reason is nowhere to be found, it may be worth it to open an issue.
Try running strace on it. Sometimes it's worthless but sometimes it leads you right to the source of the problem.
