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

32-bit random data corruption [1.15 backport] #43575

Open
gopherbot opened this issue Jan 7, 2021 · 2 comments
Open

32-bit random data corruption [1.15 backport] #43575

gopherbot opened this issue Jan 7, 2021 · 2 comments

Comments

@gopherbot
Copy link

@gopherbot gopherbot commented Jan 7, 2021

@randall77 requested issue #43570 to be considered for backport to the next 1.15 minor release.

I have a small repro that also works on 64 bit.
It's been broken since 1.12.
@gopherbot please open backport issues.

@gopherbot
Copy link
Author

@gopherbot gopherbot commented Jan 8, 2021

Change https://golang.org/cl/282558 mentions this issue: cmd/compile: don't short-circuit copies whose source is volatile

@randall77
Copy link
Contributor

@randall77 randall77 commented Jan 8, 2021

This bug causes random corruption in rare cases involving large structs being copied from function result to heap to function argument. Workaround are possible but difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.