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: loops forever on sched_yield sometimes(timer related) [1.14 backport] #38051

Closed
gopherbot opened this issue Mar 24, 2020 · 3 comments
Closed

Comments

@gopherbot
Copy link

@gopherbot gopherbot commented Mar 24, 2020

@ianlancetaylor requested issue #38023 to be considered for backport to the next 1.14 minor release.

@gopherbot Please open backport issue for 1.14.

This problem can cause Go programs to hang in some circumstances, with no workaround.

@gopherbot
Copy link
Author

@gopherbot gopherbot commented Mar 24, 2020

Change https://golang.org/cl/225277 mentions this issue: [release-branch.go1.14] runtime: don't call wakeNetPoller during timerModifying

@ianlancetaylor
Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Mar 25, 2020

This problem can cause Go programs to hang in some circumstances, with no workaround, as discussed #38023 and #38072. Cherry pick approved.

@gopherbot
Copy link
Author

@gopherbot gopherbot commented Mar 25, 2020

Closed by merging ca153f4 to release-branch.go1.14.

@gopherbot gopherbot closed this Mar 25, 2020
gopherbot pushed a commit that referenced this issue Mar 25, 2020
…rModifying

Reduce the length of time that other timer functions can see timerModifying.
In particular avoid system calls.

For #38023
Fixes #38051

Change-Id: I1b61229c668e6085d9ee6dca9488a90055386c36
Reviewed-on: https://go-review.googlesource.com/c/go/+/224902
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
(cherry picked from commit 355f53f)
Reviewed-on: https://go-review.googlesource.com/c/go/+/225277
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.