-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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/playground: corrupted output on long slice printing #67438
Comments
CC @golang/tools-team. |
Fiddling with it, I've seen non-deterministic behaviour (only sometimes, the first character is the error box when depressing "Run"): https://go.dev/play/p/W-ED_UTL3FD package main
import (
"fmt"
"strings"
)
func main() {
fmt.Print(strings.Repeat(".", 199681))
} For a repeat count of 199680, no erroneous character was observed. |
Analysing network traffic (
|
Buggy behaviour is only seen erratically:
|
I'm just wondering: what is this "garbage" data ? |
Go version
1.22
Output of
go env
in your module/workspace:What did you do?
https://go.dev/play/p/1ZOjQOU_9Wz
What did you see happen?
The output contains corrupted data.
Some strange characters are printed, and the list of numbers is not displayed correctly.
The list doesn't start at the first number.
What did you expect to see?
A list of increasing numbers.
The text was updated successfully, but these errors were encountered: