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

Regenerate amd64 assembly with avo v0.6.0 #21

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

dnr
Copy link
Contributor

@dnr dnr commented Sep 10, 2024

This regenerates the amd64 assembly to avoid issues with clobbering BP.

This includes avo's fix mmcloughlin/avo#174 for issue mmcloughlin/avo#156: it turns out BP actually is callee-save, and this can cause crashes when the new (Go 1.21) frame pointer stack unwinder tries to unwind a stack frame that has called one of these functions.

This passes this repo's tests. I also wrote a crash reproducer that would reliably crash, which fails to crash with this change.

@dnr
Copy link
Contributor Author

dnr commented Sep 11, 2024

Benchstat results: https://gist.github.com/dnr/5e35fb9331043d29a457aae81f3a8649
This is from my laptop without controlling for anything, so almost meaningless, but seems like there's no regression.

@dgryski
Copy link
Owner

dgryski commented Sep 24, 2024

Thanks!

@dgryski dgryski merged commit 3414d57 into dgryski:master Sep 24, 2024
dnr added a commit to temporalio/temporal that referenced this pull request Sep 24, 2024
## What changed?
Pick up PR dgryski/go-farm#21

## Why?
Fixes bug that could cause crashes (potential crash sites are actually
in ringpop but this version will be used).
See linked PR for more details.

## How did you test it?
Existing tests
alexshtin pushed a commit to temporalio/temporal that referenced this pull request Nov 5, 2024
## What changed?
Pick up PR dgryski/go-farm#21

## Why?
Fixes bug that could cause crashes (potential crash sites are actually
in ringpop but this version will be used).
See linked PR for more details.

## How did you test it?
Existing tests
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.

2 participants