Skip to content

Instantly share code, notes, and snippets.

@lmars
Created September 8, 2015 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lmars/312d92fc1aabe33f97d2 to your computer and use it in GitHub Desktop.
Save lmars/312d92fc1aabe33f97d2 to your computer and use it in GitHub Desktop.
discoverd panic
t=2015-09-08T00:21:10+0000 lvl=info msg="registering RPC server" app=containerinit fn=containerInitApp
t=2015-09-08T00:21:10+0000 lvl=info msg="getting stdout pipe" app=containerinit fn=containerInitApp
t=2015-09-08T00:21:10+0000 lvl=info msg="getting stderr pipe" app=containerinit fn=containerInitApp
t=2015-09-08T00:21:10+0000 lvl=info msg="waiting to be resumed" app=containerinit fn=containerInitApp
t=2015-09-08T00:21:10+0000 lvl=info msg="starting RPC server" app=containerinit fn=runRPCServer
t=2015-09-08T00:21:10+0000 lvl=info msg="starting to stream state" app=containerinit fn=StreamState
t=2015-09-08T00:21:10+0000 lvl=info msg="sent initial state" app=containerinit fn=StreamState
t=2015-09-08T00:21:10+0000 lvl=info msg="waiting for state changes" app=containerinit fn=StreamState
t=2015-09-08T00:21:10+0000 lvl=info msg=resuming app=containerinit fn=containerInitApp
t=2015-09-08T00:21:10+0000 lvl=info msg="setting up the container" app=containerinit fn=containerInitApp
t=2015-09-08T00:21:10+0000 lvl=info msg="setting max fd limit to 10000 / 10000" app=containerinit fn=containerInitApp
t=2015-09-08T00:21:10+0000 lvl=info msg="starting the command" app=containerinit fn=containerInitApp
t=2015-09-08T00:21:10+0000 lvl=info msg="setting state to running" app=containerinit fn=containerInitApp
t=2015-09-08T00:21:10+0000 lvl=info msg="changing state" app=containerinit fn=changeState state=running err= exitStatus=-1
t=2015-09-08T00:21:10+0000 lvl=info msg="sending state change" app=containerinit fn=StreamState state=running err= exitStatus=-1
advertised address not in peer set, joining as proxy
2015/09/08 00:21:10 discoverd listening for HTTP on :1111
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x28 pc=0x52bbe1]
goroutine 1 [running]:
github.com/flynn/flynn/pkg/shutdown.(*handler).exit
(
0xc20803a150
,
0x0
,
0x0
,
0x0
,
0x9106c0
,
0xc208030050
)
/home/ubuntu/go/src/github.com/flynn/flynn/pkg/shutdown/handler.go
:
69
+
0x12e
github.com/flynn/flynn/pkg/shutdown.Exit
(
)
/home/ubuntu/go/src/github.com/flynn/flynn/pkg/shutdown/handler.go
:
40
+
0x73
github.com/flynn/flynn/discoverd/server.(*Store).Leader
(
0x0
,
0x0
,
0x0
)
/home/ubuntu/go/src/github.com/flynn/flynn/discoverd/server/store.go
:
184
+
0x31
main.(*Main).waitForLeader
(
0xc20800a300
,
0x6fc23ac00
,
0x0
,
0x0
)
/home/ubuntu/go/src/github.com/flynn/flynn/discoverd/main.go
:
298
+
0x1de
main.(*Main).Run
(
0xc20800a300
,
0xc20800a010
,
0x7
,
0x7
,
0x0
,
0x0
)
/home/ubuntu/go/src/github.com/flynn/flynn/discoverd/main.go
:
141
+
0xb22
main.main
(
)
/home/ubuntu/go/src/github.com/flynn/flynn/discoverd/main.go
:
35
+
0xaf
goroutine
5
[
syscall
]:
os/signal.loop
(
)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/os/signal/signal_unix.go
:
21
+
0x1f
created by
os/signal.init·1
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/os/signal/signal_unix.go
:
27
+
0x35
goroutine
6
[
chan receive
]:
github.com/flynn/flynn/pkg/shutdown.(*handler).wait
(
0xc20803a150
)
/home/ubuntu/go/src/github.com/flynn/flynn/pkg/shutdown/handler.go
:
58
+
0x158
created by
github.com/flynn/flynn/pkg/shutdown.newHandler
/home/ubuntu/go/src/github.com/flynn/flynn/pkg/shutdown/handler.go
:
25
+
0xa8
goroutine
8
[
sleep
]:
github.com/flynn/flynn/pkg/cluster.WaitForHostStatus
(
0xadd4f0
,
0x815d20
,
0x0
,
0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/pkg/cluster/host.go:81 +0x379
main.func·002()
/home/ubuntu/go/src/github.com/flynn/flynn/discoverd/main.go:107 +0x44
created by main.(*Main).Run
/home/ubuntu/go/src/github.com/flynn/flynn/discoverd/main.go:128 +0xea2
goroutine 9 [IO wait]:
net.(*pollDesc).Wait(0xc20800ed80, 0x72, 0x0, 0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc20800ed80, 0x0, 0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).accept(0xc20800ed20, 0x0, 0x7fc1b5b1dde0, 0xc208031958)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/fd_unix.go:419 +0x40b
net.(*TCPListener).AcceptTCP(0xc2080440c0, 0xc20801f500, 0x0, 0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/tcpsock_posix.go:234 +0x4e
net.(*TCPListener).Accept(0xc2080440c0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/tcpsock_posix.go:244 +0x4c
net/http.(*Server).Serve(0xc208042660, 0x7fc1b5b1e768, 0xc2080440c0, 0x0, 0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/http/server.go:1728 +0x92
net/http.Serve(0x7fc1b5b1e768, 0xc2080440c0, 0x7fc1b5b1f7d8, 0xc20801d180, 0x0, 0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/http/server.go:1606 +0xa1
created by main.(*Main).openHTTPServer
/home/ubuntu/go/src/github.com/flynn/flynn/discoverd/main.go:252 +0x1ae
goroutine 12 [IO wait]:
net.(*pollDesc).Wait(0xc20800eed0, 0x72, 0x0, 0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc20800eed0, 0x0, 0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc20800ee70, 0xc20800d000, 0x1000, 0x1000, 0x0, 0x7fc1b5b1dde0, 0xc208031b58)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc2080440f0, 0xc20800d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/net.go:121 +0xdc
net/http.noteEOFReader.Read(0x7fc1b5b1f860, 0xc2080440f0, 0xc208034b58, 0xc20800d000, 0x1000, 0x1000, 0x8ac000, 0x0, 0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/http/transport.go:1270 +0x6e
net/http.(*noteEOFReader).Read(0xc20801d300, 0xc20800d000, 0x1000, 0x1000, 0xc208010000, 0x0, 0x0)
<autogenerated>:125 +0xd4
bufio.(*Reader).fill(0xc208042960)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).Peek(0xc208042960, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/bufio/bufio.go:132 +0xf0
net/http.(*persistConn).readLoop(0xc208034b00)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/http/transport.go:842 +0xa4
created by net/http.(*Transport).dialConn
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/http/transport.go:660 +0xc9f
goroutine 13 [select]:
net/http.(*persistConn).writeLoop(0xc208034b00)
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/http/transport.go:945 +0x41d
created by net/http.(*Transport).dialConn
/home/ubuntu/go/src/github.com/flynn/flynn/util/_toolchain/go/src/net/http/transport.go:661 +0xcbc
t=2015-09-08T00:21:11+0000 lvl=info msg="command exited" app=containerinit fn=containerInitApp status=2
t=2015-09-08T00:21:11+0000 lvl=info msg="changing state" app=containerinit fn=changeState state=exited err= exitStatus=2
t=2015-09-08T00:21:11+0000 lvl=info msg=exiting app=containerinit fn=containerInitApp
t=2015-09-08T00:21:11+0000 lvl=info msg="sending state change" app=containerinit fn=StreamState state=exited err= exitStatus=2
t=2015-09-08T00:21:11+0000 lvl=info msg="received signal" app=containerinit fn=babySit type="child exited"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment