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/pkgsite: data race when handling errors rendering the status page #39611

Closed
uhthomas opened this issue Jun 16, 2020 · 5 comments
Closed

x/pkgsite: data race when handling errors rendering the status page #39611

uhthomas opened this issue Jun 16, 2020 · 5 comments
Labels
FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done. pkgsite
Milestone

Comments

@uhthomas
Copy link

uhthomas commented Jun 16, 2020

What is the URL of the page with the issue?

N/A

What is your user agent?

N/A

Screenshot

N/A

What did you do?

N/A

What did you expect to see?

Out of curiosity, I was reading the source for pkgsite, and came across this func which has a racy assignment to errString.

What did you see instead?

A non-racy assignment to errString.


Is this tracked elsewhere? If not, I don't mind picking it up 😄

@gopherbot gopherbot added this to the Unreleased milestone Jun 16, 2020
@julieqiu
Copy link
Member

It's not - feel free to send a fix!

/cc @jba

@julieqiu julieqiu added help wanted NeedsFix The path to resolution is known, but the work has not been done. labels Jun 16, 2020
@julieqiu julieqiu changed the title go.dev: Data race when handling errors rendering the status page go.dev: data race when handling errors rendering the status page Jun 16, 2020
@julieqiu julieqiu changed the title go.dev: data race when handling errors rendering the status page x/pkgsite: data race when handling errors rendering the status page Jun 16, 2020
@uhthomas
Copy link
Author

Will get on it 😄

@jba
Copy link
Contributor

jba commented Jun 16, 2020

Good catch!

@uhthomas
Copy link
Author

Not sure why the GopherBot didn't pick it up, but the changes can be found here.

@julieqiu
Copy link
Member

@golang golang locked and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done. pkgsite
Projects
None yet
Development

No branches or pull requests

4 participants