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

runtime: race between stack shrinking and channel send/recv leads to bad sudog values [1.14 backport] #40642

gopherbot opened this issue Aug 7, 2020 · 2 comments


Copy link

@gopherbot gopherbot commented Aug 7, 2020

@mknyszek requested issue #40641 to be considered for backport to the next 1.14 minor release.

This should be fixed for Go 1.14 and Go 1.15. It's a bug that was introduced in Go 1.14, and may cause random and unavoidable crashes at any point in time. There may not be enough time to fix this for 1.15 (the failure is very rare, but we've seen it internally), and if not, it should definitely go in a point release.

@gopherbot please open a backport issue for 1.14.

Copy link

@gopherbot gopherbot commented Aug 10, 2020

Change mentions this issue: [release-branch.go1.14] Revert "runtime: make copystack/sudog synchronization more explicit"

@dmitshur dmitshur modified the milestones: Go1.14.8, Go1.14.9 Sep 1, 2020
@dmitshur dmitshur modified the milestones: Go1.14.9, Go1.14.10 Sep 9, 2020
Copy link

@gopherbot gopherbot commented Sep 21, 2020

Change mentions this issue: [release-branch.go1.14] runtime: disable stack shrinking in activeStackChans race window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.