gordon icon indicating copy to clipboard operation
gordon copied to clipboard

diff fails

Open dhrp opened this issue 11 years ago • 4 comments

thatcher:dockeriopulls thatcher$ pulls diff 454
<!DOCTYPE html>
<!--
panic: runtime error: index out of range

goroutine 1 [running]:
runtime.panic(0x2d9480, 0x68df57)
    /usr/local/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/dotcloud/gordon.DisplayPatch(0xa1d7c0, 0xc2101f7940, 0xc2101f7940, 0xa1d7c0)
    /Users/thatcher/go/src/github.com/dotcloud/gordon/display.go:248 +0x56f
main.showCmd(0xc2100840b0)
    /Users/thatcher/go/src/github.com/dotcloud/gordon/pulls/main.go:144 +0x2e3
github.com/codegangsta/cli.Command.Run(0x340460, 0x4, 0x0, 0x0, 0x39f910, ...)
    /Users/thatcher/go/src/github.com/codegangsta/cli/command.go:97 +0xbfe
github.com/codegangsta/cli.(*App).Run(0xc210063000, 0xc21000a000, 0x3, 0x3, 0x9, ...)
    /Users/thatcher/go/src/github.com/codegangsta/cli/app.go:125 +0x941
main.main()
    /Users/thatcher/go/src/github.com/dotcloud/gordon/pulls/main.go:414 +0x2fc

goroutine 3 [syscall]:
os/signal.loop()
    /usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
    /usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x31

goroutine 7 [syscall]:
runtime.goexit()
    /usr/local/go/src/pkg/runtime/proc.c:1394

goroutine 8 [finalizer wait]:
runtime.park(0x131b0, 0x691828, 0x68fdc8)
    /usr/local/go/src/pkg/runtime/proc.c:1342 +0x66
runfinq()
    /usr/local/go/src/pkg/runtime/mgc0.c:2279 +0x84
runtime.goexit()
    /usr/local/go/src/pkg/runtime/proc.c:1394

goroutine 9 [IO wait]:
net.runtime_pollWait(0xa12848, 0x72, 0x0)
    /private/var/folders/00/0sdwh000h01000cxqpysvccm0035qk/T/makerelease260794574/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2100488b0, 0x72, 0xa110e8, 0x23)
    /usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc2100488b0, 0x23, 0xa110e8)
    /usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc210048850, 0xc210090000, 0x1000, 0x1000, 0x0, ...)
    /usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc2100004b8, 0xc210090000, 0x1000, 0x1000, 0x0, ...)
    /usr/local/go/src/pkg/net/net.go:122 +0xc5
crypto/tls.(*block).readFromUntil(0xc210081810, 0xa129a0, 0xc2100004b8, 0x5, 0xc2100004b8, ...)
    /usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6
crypto/tls.(*Conn).readRecord(0xc210050280, 0x17, 0x0, 0x8)
    /usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107
crypto/tls.(*Conn).Read(0xc210050280, 0xc2101bf000, 0x1000, 0x1000, 0x0, ...)
    /usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135
bufio.(*Reader).fill(0xc21026b4e0)
    /usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Peek(0xc21026b4e0, 0x1, 0x0, 0x0, 0x0, ...)
    /usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb
net/http.(*persistConn).readLoop(0xc210057400)
    /usr/local/go/src/pkg/net/http/transport.go:687 +0xb7
created by net/http.(*Transport).dialConn
    /usr/local/go/src/pkg/net/http/transport.go:528 +0x607

goroutine 10 [select]:
net/http.(*persistConn).writeLoop(0xc210057400)
    /usr/local/go/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
    /usr/local/go/src/pkg/net/http/transport.go:529 +0x61e

goroutine 12 [runnable]:
net/http.(*persistConn).readLoop(0xc2101c9380)
    /usr/local/go/src/pkg/net/http/transport.go:778 +0x68f
created by net/http.(*Transport).dialConn
    /usr/local/go/src/pkg/net/http/transport.go:528 +0x607

goroutine 13 [select]:
net/http.(*persistConn).writeLoop(0xc2101c9380)
    /usr/local/go/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
    /usr/local/go/src/pkg/net/http/transport.go:529 +0x61e

dhrp avatar May 03 '14 02:05 dhrp

fyi: this was to the docker-io private repo

dhrp avatar May 03 '14 02:05 dhrp

is that expected error on private repo?

Maxim-Filimonov avatar Jun 11 '14 10:06 Maxim-Filimonov

Not expected but we have not had time to fix this bug, if you would like to jump into Go and try to fix the issue then that would be awesome ;)

crosbymichael avatar Jun 11 '14 16:06 crosbymichael

@dhrp have you seen this pop up recently?

fkautz avatar May 01 '15 04:05 fkautz