x/website: "seeker can't seek" error when serving particular files #46809
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?It looks like golang.org is running go1.16.5 (per https://golang.org/VERSION).
Does this issue reproduce with the latest release?
The problem is present on golang.org, and does not seem to be present on tip.golang.org.
What operating system and processor architecture are you using (
go env
)?N/A
What did you do?
I followed a link from https://blog.golang.org/cgo to https://golang.org/misc/cgo/ and tried to browse some of the files in that set of directories.
What did you expect to see?
I expected to see the same set of banners and styling that are on most other golang.org pages, and a grey box showing the contents of the file I selected.
What did you see instead?
I see an unstyled "seeker can't seek" response.
In https://golang.org/misc/cgo/stdio/testdata/, the following files do not work:
https://golang.org/misc/cgo/stdio/testdata/chain.go (listed as 938 bytes)
https://golang.org/misc/cgo/stdio/testdata/chain.out (listed as 115 bytes)
https://golang.org/misc/cgo/stdio/testdata/fib.go (listed as 989 bytes)
https://golang.org/misc/cgo/stdio/testdata/fib.out (listed as (962 bytes)
https://golang.org/misc/cgo/stdio/testdata/hello.go (listed as 309 bytes)
The following files work:
https://golang.org/misc/cgo/stdio/testdata/hello.out (listed as 13 bytes)
https://golang.org/misc/cgo/stdio/testdata/run.out (listed as 1112 bytes)
All of those links work after changing "golang.org" to "tip.golang.org".
Anecdotally, the files that work seem to be either "large" (more than 1kiB), tiny (a few bytes), or have particular extensions (https://golang.org/misc/cgo/test/issue20910.c is 459 bytes and displays, but displays as unstyled text).
Broken on golang.org:
Working (for this file at least) on tip.golang.org:
The text was updated successfully, but these errors were encountered: