x/tools/present: runtime error: index out of range #17561
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.7 linux/amd64
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/i4k/.gvm/pkgsets/go1.7/global"
GORACE=""
GOROOT="/home/i4k/.gvm/gos/go1.7"
GOTOOLDIR="/home/i4k/.gvm/gos/go1.7/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build934553730=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
What did you do?
I ran:
With an invalid .link/.iframe/.image/.background line like below:
What did you expect to see?
An error in the browser, like below:
nash.slide:290: syntax error for .link invocation
Others invocations like .play/.code works as expected.
I had to dig into the stack trace to figure out the problem was with an invalid link to then find the wrong syntax in the presentation.
What did you see instead?
The server closes the connection without sending any data (ERR_EMPTY_RESPONSE on chrome).
And the server panics with:
The text was updated successfully, but these errors were encountered: