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

Upgrade snappy to fix panic with identity/packer on Go 1.16+arm64. #12371

Merged
merged 5 commits into from Aug 19, 2021

Conversation

ncabatoff
Copy link
Contributor

Fixes #12368.

@ncabatoff ncabatoff added this to the 1.8.2 milestone Aug 19, 2021
@vercel vercel bot temporarily deployed to Preview – vault-storybook August 19, 2021 17:57 Inactive
@vercel vercel bot temporarily deployed to Preview – vault August 19, 2021 17:57 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook August 19, 2021 18:20 Inactive
@vercel vercel bot temporarily deployed to Preview – vault August 19, 2021 18:20 Inactive
@ncabatoff ncabatoff requested a review from a team August 19, 2021 18:20
@vercel vercel bot temporarily deployed to Preview – vault-storybook August 19, 2021 18:21 Inactive
@vercel vercel bot temporarily deployed to Preview – vault August 19, 2021 18:21 Inactive
@vercel vercel bot temporarily deployed to Preview – vault August 19, 2021 18:26 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook August 19, 2021 18:26 Inactive
@ncabatoff ncabatoff merged commit db2a9b7 into main Aug 19, 2021
@ncabatoff ncabatoff deleted the upgrade-sdk-snappy branch August 19, 2021 19:51
notnoop pushed a commit to hashicorp/nomad that referenced this pull request Oct 27, 2021
…11396)

Pick up golang/snappy#56 to handle arm64 architectures to fix panics. tldr; Golang 1.16 changed `memmove` implementation for arm64 requiring additional cpu registers that snappy wasn't preserving in its assembly implementation.

Other projects have experienced this issue as well, searching for `encode_arm64.s:666` on your favorite search engine will reveal some.  Vault updated the dependency earlier this August: hashicorp/vault#12371 .

I believe this issue affects Nomad 1.2.x and 1.1.x. Nomad 1.0.x use Golang 1.15 and isn't affected. However, backporting the change to 1.0.x should be harmless.

Fixed #11385 .
lgfa29 pushed a commit to hashicorp/nomad that referenced this pull request Nov 15, 2021
…11396)

Pick up golang/snappy#56 to handle arm64 architectures to fix panics. tldr; Golang 1.16 changed `memmove` implementation for arm64 requiring additional cpu registers that snappy wasn't preserving in its assembly implementation.

Other projects have experienced this issue as well, searching for `encode_arm64.s:666` on your favorite search engine will reveal some.  Vault updated the dependency earlier this August: hashicorp/vault#12371 .

I believe this issue affects Nomad 1.2.x and 1.1.x. Nomad 1.0.x use Golang 1.15 and isn't affected. However, backporting the change to 1.0.x should be harmless.

Fixed #11385 .
ncabatoff added a commit that referenced this pull request Dec 14, 2021
* Move to Go 1.16.12 and newer cimg docker images for CI. (#13422)
* Update MongoDB tests to not fail in Go 1.16 (#11533)
* Upgrade snappy to fix panic with identity/packer on Go 1.16+arm64. (#12371) (#12375)
* creds/aws: Add support for DSA signature verification for EC2 (#12340)
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 this pull request may close these issues.

Vault 1.8.0 panic on ARM platform
3 participants