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

runtime/pprof: slice bounds out of range builder failure #24991

Open
mvdan opened this Issue Apr 22, 2018 · 3 comments

Comments

Projects
None yet
4 participants
@mvdan
Member

mvdan commented Apr 22, 2018

@mvdan mvdan added this to the Go1.11 milestone Apr 22, 2018

@odeke-em

This comment has been minimized.

Member

odeke-em commented May 12, 2018

Thank you for the report @mvdan!

/cc @aclements @MIPSbkirby @rsc

@ianlancetaylor ianlancetaylor modified the milestones: Go1.11, Go1.12 Jun 28, 2018

@gopherbot

This comment has been minimized.

gopherbot commented Jun 28, 2018

Change https://golang.org/cl/121515 mentions this issue: runtime: throw if the runtime panics

gopherbot pushed a commit that referenced this issue Jun 29, 2018

runtime: throw if the runtime panics with out of bounds index
If the runtime code panics due to a bad index or slice expression,
then throw instead of panicing. This will skip calls to recover and dump
the entire runtime stack trace. The runtime should never panic due to
an out of bounds index, and this will help with debugging if it does.

For #24991
Updates #25201

Change-Id: I85a9feded8f0de914ee1558425931853223c0514
Reviewed-on: https://go-review.googlesource.com/121515
Reviewed-by: Austin Clements <austin@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment