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

Sift breaks on macOS Monterey #120

Open
reafian opened this issue Nov 8, 2021 · 2 comments
Open

Sift breaks on macOS Monterey #120

reafian opened this issue Nov 8, 2021 · 2 comments

Comments

@reafian
Copy link

reafian commented Nov 8, 2021

Sift and macOS 12 do not get along:

user@hel Desktop % sift
fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x1ed7c0, 0x21)
	/opt/go-1.7.1/src/runtime/panic.go:566 +0x95 fp=0x7ff7bfeff8f0 sp=0x7ff7bfeff8d0
runtime.goenvs()
	/opt/go-1.7.1/src/runtime/os_darwin.go:88 +0xa0 fp=0x7ff7bfeff920 sp=0x7ff7bfeff8f0
runtime.schedinit()
	/opt/go-1.7.1/src/runtime/proc.go:450 +0x9c fp=0x7ff7bfeff960 sp=0x7ff7bfeff920
runtime.rt0_go(0x7ff7bfeff990, 0x1, 0x7ff7bfeff990, 0x1000, 0x1, 0x7ff7bfeffad8, 0x0, 0x7ff7bfeffadd, 0x7ff7bfeffb05, 0x7ff7bfeffb3e, ...)
	/opt/go-1.7.1/src/runtime/asm_amd64.s:145 +0x14f fp=0x7ff7bfeff968 sp=0x7ff7bfeff960
user@hel Desktop %

More than happy to provide whatever is necessary to help debug and test.

Sift 0.9.0 standalone download. Brew version seems to work fine.

@CypressLo
Copy link

I got this issue as well. the sift ran into segmentation fault.

Last login: Fri Jul 15 09:45:52 on ttys001
cypress@MacStudio ~ % sift --version
zsh: segmentation fault sift --version
cypress@MacStudio ~ % sift -version
zsh: segmentation fault sift -version
cypress@MacStudio ~ % sift -v
zsh: segmentation fault sift -v
cypress@MacStudio ~ %

@reafian
Copy link
Author

reafian commented Jul 19, 2022

So, I've got this working and I'm commenting in case anybody wants to get sift working again too. First off, I know nothing about Go or how to properly build Go applications so there may well be a better way of doing this but it worked for me.

  • Download Go from go.dev and install it (if it's not already installed)
  • Download the sift-tools source code. (I just did it as a .zip because it was easier for me)
  • In the sift-master folder that's just been downloaded run:

$ go mod init github.com/svent/sift-tools
$ go mod tidy
$ go build -o sift

  • Copy the newly created sift binary to /usr/local/bin or wherever you want it.

It works for me and sift it now back up and running again. It would be good to have the official binaries updated but, in the meantime, this appears to work.

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

2 participants