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
panic: runtime error: index out of range #33
Comments
I can't get to the termbin site. The stack trace for goroutine 1 is the one that's causing the panic. Everything after that will change depending on what other goroutines are active at the time of the panic. Ignore the other stuff. I downloaded Caddy+hugo+search from the Caddy download page and was unable to make it panic with the Caddyfile you posted on the original Hugo issue. I added a |
Hi @moorereason, Are you using inetd for caddy? I am. Without search and/or hugo, I get a panic on plain caddy: Here's the report for plain caddy: caddyserver/caddy#374 |
I can't reproduce the error as well and as you said, you still receive the panic without hugo and search, so the problem can't be generated in caddy-hugo, right? O.o |
Yeah, this looks like something in Caddy or Go itself. I actually suspect a bug in the standard library. |
Thanks @mholt! |
Right, the error occurs without hugo or search. hugo & search: http://jungleboogie.me:2021/ Thanks! Hi @mholt, Will you file the report upstream to go? |
Let's continue this over in caddyserver/caddy#374 - I just updated my comments there. |
) License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This crash mean much to you?
goroutine 1 [running]:
flag.init()
/usr/local/go/src/flag/flag.go:840 +0x11a
github.com/spf13/pflag.init()
/home/caddy/go/src/github.com/spf13/pflag/uint8.go:91 +0x59
github.com/spf13/viper.init()
/home/caddy/go/src/github.com/spf13/viper/viper.go:1026 +0x42
github.com/spf13/hugo/create.init()
/home/caddy/go/src/github.com/spf13/hugo/create/content.go:165 +0x42
github.com/spf13/hugo/commands.init()
/home/caddy/go/src/github.com/spf13/hugo/commands/version.go:76 +0x5e
github.com/hacdias/caddy-hugo/utils.init()
/home/caddy/go/src/github.com/hacdias/caddy-hugo/utils/utils.go:208 +0x42
github.com/hacdias/caddy-hugo.init()
/home/caddy/go/src/github.com/hacdias/caddy-hugo/hugo.go:135 +0x4c
github.com/mholt/caddy/config.init()
/tmp/custombuild_5197_315274122/src/github.com/mholt/caddy/config/directives.go:52 +0x4f
main.init()
/tmp/custombuild_5197_315274122/src/github.com/mholt/caddy/main.go:174 +0x47
full log:
http://termbin.com/gpms
Go to http://jungleboogie.me:2021/ and see the error. If you refresh, you'll notice that everything below main.init() changes between refreshes.
also see gohugoio/hugo#1649
The text was updated successfully, but these errors were encountered: