-
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
os: File.Write panic: runtime error: slice bounds out of range #9007
Labels
Milestone
Comments
This issue was closed by revision a62da20. Status changed to Fixed. |
> Can you use strace to verify that write is returning EINTR? Because, on further reflection, all the signal handlers are installed with SA_RESTART set, so the write should restart, not fail. I'm afraid I can't provide you with strace since I'm not exactly experience this myself, but an user does. But I believe EINTR is only possible error that would trigger this panic (i.e. nil or other error wouldn't skip sanity check). |
I agree that I can't see any way this could fail other than EINTR, but I would still like to confirm that that is happening. Because it should be impossible. If it is possible there are likely other things that will need to be fixed. If you can get more information from the user, that would be very helpful. Thanks. |
I see. Anyway, here is the issue related to this syndtr/goleveldb#80. |
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jun 25, 2018
Fixes golang#9007. LGTM=iant, r R=r, iant CC=golang-codereviews https://golang.org/cl/160670043
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jun 26, 2018
Fixes golang#9007. LGTM=iant, r R=r, iant CC=golang-codereviews https://golang.org/cl/160670043
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jul 9, 2018
Fixes golang#9007. LGTM=iant, r R=r, iant CC=golang-codereviews https://golang.org/cl/160670043
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jul 20, 2018
Fixes golang#9007. LGTM=iant, r R=r, iant CC=golang-codereviews https://golang.org/cl/160670043
wheatman
pushed a commit
to wheatman/go-akaros
that referenced
this issue
Jul 30, 2018
Fixes golang#9007. LGTM=iant, r R=r, iant CC=golang-codereviews https://golang.org/cl/160670043
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: