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

x/sys/windows/registry: TestReadSubKeyNames failures with "Access is denied" #49466

Closed
bcmills opened this issue Nov 8, 2021 · 4 comments
Closed
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. OS-Windows release-blocker
Milestone

Comments

@bcmills bcmills added OS-Windows NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker labels Nov 8, 2021
@bcmills bcmills added this to the Go1.18 milestone Nov 8, 2021
@mknyszek
Copy link
Contributor

mknyszek commented Nov 8, 2021

Yeah, this looks the same. The fix is, basically, runtime.LockOSThread in the relevant method.

@bcmills bcmills added the NeedsFix The path to resolution is known, but the work has not been done. label Nov 9, 2021
@gopherbot gopherbot removed the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 9, 2021
@gopherbot
Copy link

Change https://golang.org/cl/362576 mentions this issue: windows/registry: lock OS thread while enumerating keys

@gopherbot
Copy link

Change https://golang.org/cl/362577 mentions this issue: all: add missing //go:build comments

gopherbot pushed a commit to golang/sys that referenced this issue Nov 10, 2021
These were apparently overlooked in CL 357329, CL 294490, CL 296889,
and other various updates to this module. (I noticed them via gopls
while investigating golang/go#49466.)

Updates golang/go#41184

Change-Id: Id042bb6fe5282e6d528e9315acf2ad29d0df58ba
Reviewed-on: https://go-review.googlesource.com/c/sys/+/362577
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
@bcmills
Copy link
Contributor Author

bcmills commented Dec 8, 2021

Confirmed that the above CLs seem to have resolved this failure mode:

greplogs --dashboard -md -l -e 'FAIL: TestReadSubKeyNames' --since=2021-11-10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. OS-Windows release-blocker
Projects
None yet
Development

No branches or pull requests

3 participants