Skip to content

Instantly share code, notes, and snippets.

@jayd3e
Created July 1, 2014 01:09
Show Gist options
  • Save jayd3e/7fab3d304639439d2acd to your computer and use it in GitHub Desktop.
Save jayd3e/7fab3d304639439d2acd to your computer and use it in GitHub Desktop.
2014/07/01 01:01:25 rpc: client protocol error: unexpected EOF
2014/07/01 01:01:25 rpc: client protocol error: unexpected EOF
now=2014-07-01T01:01:25+0000 app=controller-scheduler fn=remove app.id=bb38d24085394c30b10b031ca465df56 release.id=23de27c4fd404f878745a796f66580a9 host.id=e43f447edc9d job.id=e01b047d18f24e24acf5ed78920be56e
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x40 pc=0x4070a1]
goroutine 101 [running]:
runtime.panic(0x6c2440, 0xa63b28)
/usr/local/go/src/pkg/runtime/panic.c:266 +0xb6
main.(*Formation).remove(0xc2100f4000, 0x5, 0xc2100f5290, 0x3)
/home/ubuntu/pkgs/src/github.com/flynn/flynn-controller/scheduler/main.go:619 +0x3e1
main.(*Formation).rectify(0xc2100f4000)
/home/ubuntu/pkgs/src/github.com/flynn/flynn-controller/scheduler/main.go:521 +0x72b
main.(*Formation).Rectify(0xc2100f4000)
/home/ubuntu/pkgs/src/github.com/flynn/flynn-controller/scheduler/main.go:463 +0x5f
main.func·001()
/home/ubuntu/pkgs/src/github.com/flynn/flynn-controller/scheduler/main.go:190 +0x37
created by main.(*context).watchFormations
/home/ubuntu/pkgs/src/github.com/flynn/flynn-controller/scheduler/main.go:194 +0x43d
goroutine 1 [chan receive]:
main.(*context).watchFormations(0xc210022e10, 0x0)
/home/ubuntu/pkgs/src/github.com/flynn/flynn-controller/scheduler/main.go:175 +0x1a0
main.main()
/home/ubuntu/pkgs/src/github.com/flynn/flynn-controller/scheduler/main.go:47 +0x5d9
goroutine 4 [IO wait]:
net.runtime_pollWait(0x7f2ff49155e8, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc21004dca0, 0x72, 0x7f2ff4914170, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc21004dca0, 0xb, 0x7f2ff4914170)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc21004dc40, 0xc21006c000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210000370, 0xc21006c000, 0x1000, 0x1000, 0x7f2ff490b000, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
bufio.(*Reader).fill(0xc210041480)
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Read(0xc210041480, 0xc21000acb0, 0x1, 0x9, 0x1, ...)
/usr/local/go/src/pkg/bufio/bufio.go:159 +0x1a4
io.ReadAtLeast(0x7f2ff49157c8, 0xc210041480, 0xc21000acb0, 0x1, 0x9, ...)
/usr/local/go/src/pkg/io/io.go:288 +0xf6
io.ReadFull(0x7f2ff49157c8, 0xc210041480, 0xc21000acb0, 0x1, 0x9, ...)
/usr/local/go/src/pkg/io/io.go:306 +0x71
encoding/gob.decodeUintReader(0x7f2ff49157c8, 0xc210041480, 0xc21000acb0, 0x9, 0x9, ...)
/usr/local/go/src/pkg/encoding/gob/decode.go:66 +0x98
encoding/gob.(*Decoder).recvMessage(0xc21000b0f0, 0xc210070680)
/usr/local/go/src/pkg/encoding/gob/decoder.go:73 +0x57
encoding/gob.(*Decoder).decodeTypeSequence(0xc21000b0f0, 0xc21006e200, 0x160)
/usr/local/go/src/pkg/encoding/gob/decoder.go:159 +0x49
encoding/gob.(*Decoder).DecodeValue(0xc21000b0f0, 0x6238a0, 0xc21006e270, 0x160, 0x0, ...)
/usr/local/go/src/pkg/encoding/gob/decoder.go:223 +0x12e
encoding/gob.(*Decoder).Decode(0xc21000b0f0, 0x6238a0, 0xc21006e270, 0xc21004f218, 0xc21017b1c0)
/usr/local/go/src/pkg/encoding/gob/decoder.go:202 +0x1c5
github.com/flynn/rpcplus.(*gobClientCodec).ReadResponseHeader(0xc210065db0, 0xc21006e270, 0xc210073510, 0x0)
/tmp/godep/rev/05/df3d30b6e55f5b440c1a78e2f83cb822bc0d76/src/github.com/flynn/rpcplus/client.go:278 +0x3f
github.com/flynn/rpcplus.(*Client).input(0xc2100414e0)
/tmp/godep/rev/05/df3d30b6e55f5b440c1a78e2f83cb822bc0d76/src/github.com/flynn/rpcplus/client.go:138 +0xb8
created by github.com/flynn/rpcplus.NewClientWithCodec
/tmp/godep/rev/05/df3d30b6e55f5b440c1a78e2f83cb822bc0d76/src/github.com/flynn/rpcplus/client.go:256 +0x91
goroutine 5 [chan receive]:
github.com/flynn/go-discoverd.func·001()
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:123 +0x5b
created by github.com/flynn/go-discoverd.(*serviceSet).bind
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:165 +0xcf
goroutine 6 [chan receive]:
github.com/flynn/go-flynn/cluster.(*Client).followLeader(0xc21004f3f0, 0x0)
/tmp/godep/rev/77/5d010f4f7ff91b144418ad74c6f6e285d50f49/src/github.com/flynn/go-flynn/cluster/client.go:90 +0x50
created by github.com/flynn/go-flynn/cluster.(*Client).start
/tmp/godep/rev/77/5d010f4f7ff91b144418ad74c6f6e285d50f49/src/github.com/flynn/go-flynn/cluster/client.go:85 +0x53
goroutine 7 [chan receive]:
github.com/flynn/go-discoverd.func·002()
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:224 +0x8d
created by github.com/flynn/go-discoverd.(*serviceSet).Leaders
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:230 +0xea
goroutine 9 [select]:
github.com/flynn/go-discoverd.func·005()
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:491 +0x2e8
created by github.com/flynn/go-discoverd.(*Client).RegisterWithAttributes
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:502 +0x454
goroutine 10 [chan receive]:
github.com/flynn/go-discoverd.func·001()
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:123 +0x5b
created by github.com/flynn/go-discoverd.(*serviceSet).bind
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:165 +0xcf
goroutine 14 [chan receive]:
github.com/flynn/go-discoverd.func·002()
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:224 +0x8d
created by github.com/flynn/go-discoverd.(*serviceSet).Leaders
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:230 +0xea
goroutine 15 [chan receive]:
github.com/flynn/go-discoverd.func·001()
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:123 +0x5b
created by github.com/flynn/go-discoverd.(*serviceSet).bind
/tmp/godep/rev/ef/8e9c70ed6335e8db5a66addfa96226f35e2bd3/src/github.com/flynn/go-discoverd/client.go:165 +0xcf
goroutine 16 [IO wait]:
net.runtime_pollWait(0x7f2ff4915498, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210072840, 0x72, 0x7f2ff4914170, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210072840, 0xb, 0x7f2ff4914170)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc2100727e0, 0xc210081000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210000c90, 0xc210081000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
bufio.(*Reader).fill(0xc21007d120)
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Read(0xc21007d120, 0xc2100736e0, 0x1, 0x9, 0x1, ...)
/usr/local/go/src/pkg/bufio/bufio.go:159 +0x1a4
io.ReadAtLeast(0x7f2ff49157c8, 0xc21007d120, 0xc2100736e0, 0x1, 0x9, ...)
/usr/local/go/src/pkg/io/io.go:288 +0xf6
io.ReadFull(0x7f2ff49157c8, 0xc21007d120, 0xc2100736e0, 0x1, 0x9, ...)
/usr/local/go/src/pkg/io/io.go:306 +0x71
encoding/gob.decodeUintReader(0x7f2ff49157c8, 0xc21007d120, 0xc2100736e0, 0x9, 0x9, ...)
/usr/local/go/src/pkg/encoding/gob/decode.go:66 +0x98
encoding/gob.(*Decoder).recvMessage(0xc21000b3c0, 0xc210115000)
/usr/local/go/src/pkg/encoding/gob/decoder.go:73 +0x57
encoding/gob.(*Decoder).decodeTypeSequence(0xc21000b3c0, 0xc21006e000, 0x160)
/usr/local/go/src/pkg/encoding/gob/decoder.go:159 +0x49
encoding/gob.(*Decoder).DecodeValue(0xc21000b3c0, 0x6238a0, 0xc21006e000, 0x160, 0x0, ...)
/usr/local/go/src/pkg/encoding/gob/decoder.go:223 +0x12e
encoding/gob.(*Decoder).Decode(0xc21000b3c0, 0x6238a0, 0xc21006e000, 0x0, 0x1)
/usr/local/go/src/pkg/encoding/gob/decoder.go:202 +0x1c5
github.com/flynn/rpcplus.(*gobClientCodec).ReadResponseHeader(0xc210077e40, 0xc21006e000, 0x120, 0x622e60)
/tmp/godep/rev/05/df3d30b6e55f5b440c1a78e2f83cb822bc0d76/src/github.com/flynn/rpcplus/client.go:278 +0x3f
github.com/flynn/rpcplus.(*Client).input(0xc21007d180)
/tmp/godep/rev/05/df3d30b6e55f5b440c1a78e2f83cb822bc0d76/src/github.com/flynn/rpcplus/client.go:138 +0xb8
created by github.com/flynn/rpcplus.NewClientWithCodec
/tmp/godep/rev/05/df3d30b6e55f5b440c1a78e2f83cb822bc0d76/src/github.com/flynn/rpcplus/client.go:256 +0x91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment