-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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: Server.queue nil panic using @master #54478
Comments
Thanks for the report. Unfortunately the unit.go source file at ec5474e doesn't line up exactly with the line numbers in the goroutine dump. Indeed, I went back through the history and in fact no commit has a go statement at line 156 or a plausible nil deref at line 160. Did you add any debugging code or otherwise perturb the source? (I couldn't reproduce the SIGSEGV locally: the request failed, but for a different reason; someone who knows this code base might have better luck.) |
@adonovan yes, I guess I had debugging when I posted the stack trace. The panic is from line 158 (
|
Thanks.
Yes, and it's unclear how it ever worked, since the queue field is never populated, not even conditionally, in this code path. See: |
Change https://go.dev/cl/425034 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
This is the latest release.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
pkgsite -list=false
inside a local module.localhost:6060/path/to/module@master
What did you expect to see?
It work.
What did you see instead?
The text was updated successfully, but these errors were encountered: