-
Notifications
You must be signed in to change notification settings - Fork 18k
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
x/tools/go/loader: data race between markErrorFreePackages and (*importer).addFiles #39133
Comments
Hello! This is one of the few remaining issues blocking the Beta release of Go 1.15. We'll need to make a decision on this in the next week in order to keep our release on schedule. |
I'm really not very familiar with go/loader, but given that it's been relatively unchanged for a while, my inclination is to think the race might be in go/types. From a quick glance at the code, |
Given that the failure is detected in
|
(And that code isn't at all new, so this probably doesn't need to be a 1.15 release-blocker. But if it is an old bug, that does raise the question of how it managed to go undetected since ~2015.) |
This also seems to be a duplicate of #36415, so it's been around for a while. |
Aha, so it is! |
Duplicate of #36415 |
https://build.golang.org/log/0a21f00ce4288dd398547ef13f5a6abdcd8ed0de
The race involves
go/types
on both sides, so it's not obvious to me whether this is a bug in the implementation ofgo/types
or in its use withingo/loader
.Marking as release-blocker for Go 1.15 in case it is the former.
CC @matloob @stamblerre @griesemer
The text was updated successfully, but these errors were encountered: