cred-alert icon indicating copy to clipboard operation
cred-alert copied to clipboard

Segfault on Apple Silicon

Open crdant opened this issue 4 years ago • 2 comments

Hi there - I'm getting a segfault on Apple Silicon with the latest release of cred-alert-cli. I get it regardless of whether I run the command bare or by explicitly setting the architecture using arch --x86_64 cred-alert-cli.

Not sure what other information to provide, so here's the output of uname -v

Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:10 PDT 2020; root:xnu-7195.50.7~2/RELEASE_ARM64_T8101

crdant avatar Jan 17 '21 16:01 crdant

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

cf-gitbot avatar Jan 17 '21 16:01 cf-gitbot

Our team doesn't have any Apple Silicon machines yet, so we're not going to be able to reproduce or fix this ourselves. Theoretically it should just work, because macOS will run Intel binaries through a translator. The main debugging step would be to see if you can determine where in the code the segfault is happening.

As seen in compile-darwin-cli.yml, we simply set GOOS=darwin when compiling. According to the Go 1.16 release notes, Apple Silicon will be supported by combining GOOS=darwin with GOARCH=arm64 when 1.16 comes out next month. An official build will not be a high priority for us, but you are welcome to try compiling it yourself.

jsampson1 avatar Jan 20 '21 00:01 jsampson1