go: runtime: Mac OS High Sierra / XCode 9 native go executable gets "Segmentation fault: 11"

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.9 on command line but don’t know what xcode command line tools uses

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

Mac OS High Sierra

What did you do?

Trying to execute a native go binary from Terminal

If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on play.golang.org is best.

What did you expect to see?

Random string output as it did before I upgraded to High Sierra

What did you see instead?

Segmentation fault: 11

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 3
  • Comments: 19 (8 by maintainers)

Most upvoted comments

Yup, Go 1.6.2 is neither supported on High Sierra, or a supported release, https://github.com/golang/go/wiki/Go-Release-Cycle#release-maintenance

The developer should upgrade to at least Go 1.8, bit given the pace apple likes to break backwards compat with their own syscall ABI, i’d recommend the latest 1.9 relaese.

On Wed, Dec 6, 2017 at 4:17 PM, Bjorn Harvold notifications@github.com wrote:

Thank you for that. The app that is not working for me was compiled with Go v1.6.2. I’m assuming I have to contact the developer of this program to recompile the binary with a newer version of Go? Can we safely say that Go v1.6.2 is not supported on High Sierra?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/golang/go/issues/22059#issuecomment-349536784, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcA79wLeeMwZ4cmC0anesZWOQAd2Eqks5s9iNtgaJpZM4PlJGh .