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: apparent deadlock in TestCgoNumGoroutine #39024
Comments
/cc @mknyszek |
/cc @prattmic |
I'll take a look at this one after the runtime/trace test failures, if no one else gets to it first. |
Similar failure in another openbsd cgo test: 2020-05-12T19:15:34-cb11c98/openbsd-386-62
|
I've been running this test continuously (directly by compiling the testprog, and via By the failures above, the template thread is sleeping (not unexpected) and goroutine 1 is in C code. Both failures above look like a timeout while the goroutine sits in C code, but there isn't much to go on here. I might try and see if reproducing on 386 is easier? |
Both I pored over the |
Similar recent failures:
2020-05-12T19:15:34-cb11c98/openbsd-386-62 Then there's nothing until 2018. The second two seem to have a lot more going on, so they might not be the same. |
I think that it is ok to work on this after beta1. |
Friendly ping @mknyszek , did you happen to make any more progress on this? |
No update, sorry about that. I tried again but haven't been able to reproduce this at all. |
There haven't been any failures since 2020-05-12. I've started a stress test at 8c1db77 on openbsd-amd64-64. gopool2 create -setup 'gomote push $VM && gomote run $VM go/src/make.bash' openbsd-amd64-64
stress2 -p 8 -max-passes 100000 -pass '^ok' gopool2 run 'gomote run -e GO_TEST_TIMEOUT_SCALE=2 $VM go/bin/go test -short runtime' |
100,000 runs with no failures. |
Still no failures since 2020-05-12. I'm inclined to close this. I don't think we have enough information to debug this, and it seems rare to the point of possibly not happening any more. |
2020-05-11T22:38:32-8c1db77/openbsd-amd64-64
Marking as release-blocker until we understand whether this is a regression.
The text was updated successfully, but these errors were encountered: