-
Notifications
You must be signed in to change notification settings - Fork 18k
bufio: 1.5.1 panic slice bounds out of range #12925
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
Labels
Milestone
Comments
Have you run your program under the race detector? |
Yes, I did'nt see any problem for read. |
We're going to need a short program that reproduces this. Can you isolate the issue? |
Ok, i will create a small project, and inform you again. |
I found data race in tcp reconnect function. I try to change first this. I will inform you. |
In that case, I'm going to close this issue until you report back. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Today, i received panic from bufio reader. I used bufio for tcp connections. The function running for 30 days without problem.
Here is the sample code:
Panic Log:
panic: runtime error: slice bounds out of range
goroutine 490939 [running]:
bufio.(*Reader).Read(0xc828791f80, 0xc82858b670, 0x9, 0x9, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:214 +0x3c8
The text was updated successfully, but these errors were encountered: