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

MacOS Monterrey fatal error #37

Closed
bdharris08 opened this issue Apr 18, 2022 · 0 comments · Fixed by #40
Closed

MacOS Monterrey fatal error #37

bdharris08 opened this issue Apr 18, 2022 · 0 comments · Fixed by #40
Assignees

Comments

@bdharris08
Copy link

Hi there. First off, awesome project!

There's some issue caused by MacOS Monterrey upgrade.
Documented here: golang/go#49425
The fix is just to rebuild/release binaries.

Easy workaround in the meantime is just to pull source locally and rebuild.
Or, if Go 1.18 is installed, switch to go modules and use go install instead of installing the binary with a script.

➜ go install github.com/bdharris08/fargate-create@latest
go: downloading github.com/bdharris08/fargate-create v0.9.0
...
~ took 40s
➜ fargate-create
Can't find terraform.tfvars. Use the --file flag to specify a .tfvars or .json file

Here's what happens when I try to run fargate-create from docs.

➜ curl -s get-fargate-create.turnerlabs.io | sh
Getting package http://get-fargate-create.turnerlabs.io/v0.9.0/ncd_darwin_amd64
Password:
fargate-create installed to /usr/local/bin

... via 🐹 v1.18 
➜ fargate-create
fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x1636a6a, 0x21)
        /usr/local/go/src/runtime/panic.go:616 +0x81 fp=0x7ff7bfeff6e8 sp=0x7ff7bfeff6c8 pc=0x1029011
runtime.goenvs()
        /usr/local/go/src/runtime/os_darwin.go:129 +0x83 fp=0x7ff7bfeff718 sp=0x7ff7bfeff6e8 pc=0x1026b93
runtime.schedinit()
        /usr/local/go/src/runtime/proc.go:501 +0xd6 fp=0x7ff7bfeff780 sp=0x7ff7bfeff718 pc=0x102b906
runtime.rt0_go(0x7ff7bfeff7b0, 0x1, 0x7ff7bfeff7b0, 0x1000000, 0x1, 0x7ff7bfeff960, 0x0, 0x7ff7bfeff96f, 0x7ff7bfeff977, 0x7ff7bfeff98f, ...)
        /usr/local/go/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ff7bfeff788 sp=0x7ff7bfeff780 pc=0x1050ff4
This was referenced Apr 18, 2022
@awlawl awlawl self-assigned this Apr 20, 2022
@awlawl awlawl mentioned this issue Apr 29, 2022
@awlawl awlawl closed this as completed in #40 May 6, 2022
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

Successfully merging a pull request may close this issue.

2 participants