Skip to content

panic: runtime error: makeslice: len out of range #174

@rstackhouse

Description

@rstackhouse

Mon Mar 30 22:03:47:Downloads rstackhouse$ exercism fetch cpp

panic: runtime error: makeslice: len out of range

goroutine 1 [running]:
strings.Repeat(0x38c6b0, 0x1, 0xfffffffffffffffb, 0x0, 0x0)
/usr/local/go/src/strings/strings.go:458 +0x68
github.com/exercism/cli/user.(_Homework).heading(0xc20800ade0, 0x3, 0x1, 0x9)
/Users/kytrinyx/code/go/src/github.com/exercism/cli/user/homework.go:115 +0x25e
github.com/exercism/cli/user.(_Homework).Report(0xc20800ade0, 0x3)
/Users/kytrinyx/code/go/src/github.com/exercism/cli/user/homework.go:84 +0xbe
github.com/exercism/cli/user.(_Homework).Summarize(0xc20800ade0, 0x0)
/Users/kytrinyx/code/go/src/github.com/exercism/cli/user/homework.go:137 +0x64
github.com/exercism/cli/cmd.Fetch(0xc20805a160)
/Users/kytrinyx/code/go/src/github.com/exercism/cli/cmd/fetch.go:39 +0x709
github.com/codegangsta/cli.Command.Run(0x397270, 0x5, 0x3970f0, 0x1, 0x43cb30, 0x65, 0x0, 0x0, 0x0, 0x0, ...)
/Users/kytrinyx/code/go/src/github.com/codegangsta/cli/command.go:101 +0xe42
github.com/codegangsta/cli.(_App).Run(0xc208070000, 0xc20800a000, 0x3, 0x3, 0x0, 0x0)
/Users/kytrinyx/code/go/src/github.com/codegangsta/cli/app.go:130 +0xb81
main.main()
/Users/kytrinyx/code/go/src/github.com/exercism/cli/exercism/main.go:149 +0xb3f

goroutine 8 [IO wait]:
net.(_pollDesc).Wait(0xc208010290, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208010290, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).Read(0xc208010230, 0xc2080a0000, 0x1000, 0x1000, 0x0, 0x711b88, 0xc20802b100)
/usr/local/go/src/net/fd_unix.go:242 +0x40f
net.(_conn).Read(0xc20802e060, 0xc2080a0000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:121 +0xdc
net/http.noteEOFReader.Read(0x7131f0, 0xc20802e060, 0xc20805a318, 0xc2080a0000, 0x1000, 0x1000, 0x2e8460, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1270 +0x6e
net/http.(_noteEOFReader).Read(0xc20801e760, 0xc2080a0000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0)
:125 +0xd4
bufio.(_Reader).fill(0xc20805c660)
/usr/local/go/src/bufio/bufio.go:97 +0x1ce
bufio.(_Reader).Peek(0xc20805c660, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/bufio/bufio.go:132 +0xf0
net/http.(_persistConn).readLoop(0xc20805a2c0)
/usr/local/go/src/net/http/transport.go:842 +0xa4
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:660 +0xc9f

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 9 [select]:
net/http.(_persistConn).writeLoop(0xc20805a2c0)
/usr/local/go/src/net/http/transport.go:945 +0x41d
created by net/http.(_Transport).dialConn
/usr/local/go/src/net/http/transport.go:661 +0xcbc

goroutine 12 [runnable]:
net/http.(_persistConn).readLoop(0xc20805a580)
/usr/local/go/src/net/http/transport.go:928 +0x9ce
created by net/http.(_Transport).dialConn
/usr/local/go/src/net/http/transport.go:660 +0xc9f

goroutine 13 [select]:
net/http.(_persistConn).writeLoop(0xc20805a580)
/usr/local/go/src/net/http/transport.go:945 +0x41d
created by net/http.(_Transport).dialConn
/usr/local/go/src/net/http/transport.go:661 +0xcbc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions