-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: segfault in timeSleepUntil #35462
Comments
Any failure before https://golang.org/cl/205558, committed on Wed Nov 6 15:46:26 2019 +0000, is likely fixed by that commit. I think that leaves us with only one failure: https://build.golang.org/log/9298618f82f5cb0e6d17e745644af793111adc4c |
The stack trace implies that there is a I'm not having any luck reproducing this. |
Two more cases of this: 2019-11-11T22:40:45-c32aab3/darwin-amd64-10_11 |
Change https://golang.org/cl/206938 mentions this issue: |
One way this could happen would be if the number of P's changes, and that causes some calls to |
In the discussion of CL 171828 we decided that it was not necessary to acquire timersLock around the call to moveTimers, because the world is stopped. However, that is not correct, as sysmon runs even when the world is stopped, and it calls timeSleepUntil which looks through the timers. timeSleepUntil acquires timersLock, but that doesn't help if moveTimers is running at the same time. Updates #6239 Updates #27707 Updates #35462 Change-Id: I346c5bde594c4aff9955ae430b37c2b6fc71567f Reviewed-on: https://go-review.googlesource.com/c/go/+/206938 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Hasn't recurred for a week, calling this fixed. |
Lots of failures involving variations on the following stack:
2019-11-08T17:01:18-a762221/linux-amd64-clang
2019-11-06T02:49:10-de70de6/openbsd-386-62
2019-11-05T14:34:56-79a00a3/openbsd-386-62
2019-11-05T00:17:34-04e80fb/linux-arm
2019-11-04T21:38:36-d9ee4b2/openbsd-amd64-62
2019-11-03T05:01:00-4497d7e/darwin-amd64-10_14
2019-11-03T04:57:50-c6621d9/netbsd-amd64-8_0
2019-11-02T22:02:43-3873e54/darwin-amd64-10_14
2019-11-02T21:51:18-62e53b7/dragonfly-amd64
2019-11-02T21:51:09-61fa798/netbsd-amd64-8_0
2019-11-02T19:25:54-afe50c1/openbsd-amd64-62
2019-11-02T19:21:24-5597e3d/linux-386-clang
2019-11-02T03:00:20-1e4a358/openbsd-amd64-62
2019-11-01T21:41:41-9bde9b4/solaris-amd64-oraclerel
2019-11-01T18:49:50-5aea597/darwin-amd64-10_12
2019-11-01T07:59:09-5b31021/linux-386
2019-10-31T17:21:56-48c0cef/freebsd-amd64-race
2019-10-31T17:09:48-a9b37ae/freebsd-amd64-race
CC @ianlancetaylor @cherrymui @aclements @mknyszek
The text was updated successfully, but these errors were encountered: