Skip to content

Instantly share code, notes, and snippets.

@gnawux
Created September 28, 2016 03:13
Show Gist options
  • Save gnawux/9ed4dce8b9b68ddaf8c74580eceeb377 to your computer and use it in GitHub Desktop.
Save gnawux/9ed4dce8b9b68ddaf8c74580eceeb377 to your computer and use it in GitHub Desktop.
cli panic
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x67a45444b0b6 pc=0x1407b]
runtime stack:
runtime.throw(0x92b680, 0x2a)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/panic.go:547 +0x90
runtime.sigpanic()
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/sigpanic_unix.go:12 +0x5a
runtime.unlock(0xc24d60)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/lock_sema.go:107 +0x14b
runtime.(*mheap).alloc_m(0xc24d60, 0x1, 0xd, 0x180f0b0)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/mheap.go:492 +0x314
runtime.(*mheap).alloc.func1()
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/mheap.go:502 +0x41
runtime.systemstack(0x70000f0c9d40)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/asm_amd64.s:307 +0xab
runtime.(*mheap).alloc(0xc24d60, 0x1, 0x1000000000d, 0x13d1f)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/mheap.go:503 +0x63
runtime.(*mcentral).grow(0xc265e0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/mcentral.go:209 +0x93
runtime.(*mcentral).cacheSpan(0xc265e0, 0x180f0b0)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/mcentral.go:89 +0x47d
runtime.(*mcache).refill(0xd624b0, 0xd, 0x180f0b0)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/mcache.go:119 +0xcc
runtime.mallocgc.func2()
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/malloc.go:642 +0x2b
runtime.systemstack(0xc82001a000)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/asm_amd64.s:291 +0x79
runtime.mstart()
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/proc.go:1051
goroutine 25 [running]:
runtime.systemstack_switch()
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/asm_amd64.s:245 fp=0xc8200fac60 sp=0xc8200fac58
runtime.mallocgc(0xc0, 0x622520, 0xa5dfb57a00000001, 0x490000)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/malloc.go:643 +0x869 fp=0xc8200fad38 sp=0xc8200fac60
runtime.newobject(0x622520, 0xe28d99e5d3a485e7)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/malloc.go:781 +0x42 fp=0xc8200fad60 sp=0xc8200fad38
crypto/elliptic.p256Inverse(0xc8203725c0, 0x4, 0x4, 0xc820374280, 0x4, 0x4)
/usr/local/Cellar/go/1.6.3/libexec/src/crypto/elliptic/p256_amd64.go:282 +0x2f fp=0xc8200fae60 sp=0xc8200fad60
crypto/elliptic.initTable()
/usr/local/Cellar/go/1.6.3/libexec/src/crypto/elliptic/p256_amd64.go:402 +0x3d0 fp=0xc8200fafa0 sp=0xc8200fae60
sync.(*Once).Do(0xc3da18, 0x9a29c8)
/usr/local/Cellar/go/1.6.3/libexec/src/sync/once.go:44 +0xe4 fp=0xc8200fafc8 sp=0xc8200fafa0
crypto/elliptic.(*p256Point).p256BaseMult(0xc820374180, 0xc8200fb0d8, 0x4, 0x4)
/usr/local/Cellar/go/1.6.3/libexec/src/crypto/elliptic/p256_amd64.go:422 +0x3b fp=0xc8200fb0a8 sp=0xc8200fafc8
crypto/elliptic.p256Curve.ScalarBaseMult(0xc8202ef280, 0xc8203725a0, 0x20, 0x20, 0xc8200fb170, 0x20)
/usr/local/Cellar/go/1.6.3/libexec/src/crypto/elliptic/p256_amd64.go:236 +0xd4 fp=0xc8200fb120 sp=0xc8200fb0a8
crypto/elliptic.GenerateKey(0x18129f8, 0xc8202ef280, 0x18041f8, 0xc820074210, 0xc8203725a0, 0x20, 0x20, 0x0, 0x0, 0x0, ...)
/usr/local/Cellar/go/1.6.3/libexec/src/crypto/elliptic/elliptic.go:299 +0x2b4 fp=0xc8200fb198 sp=0xc8200fb120
crypto/tls.(*ecdheKeyAgreement).generateClientKeyExchange(0xc8202ef200, 0xc8202f2c80, 0xc8202f2dc0, 0xc820364000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/crypto/tls/key_agreement.go:388 +0x1ef fp=0xc8200fb328 sp=0xc8200fb198
crypto/tls.(*clientHandshakeState).doFullHandshake(0xc8200fbe48, 0x0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/crypto/tls/handshake_client.go:431 +0x121b fp=0xc8200fb9e0 sp=0xc8200fb328
crypto/tls.(*Conn).clientHandshake(0xc82035a000, 0x0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/crypto/tls/handshake_client.go:213 +0x1737 fp=0xc8200fbef8 sp=0xc8200fb9e0
crypto/tls.(*Conn).Handshake(0xc82035a000, 0x0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/crypto/tls/conn.go:1033 +0xec fp=0xc8200fbf38 sp=0xc8200fbef8
net/http.(*Transport).dialConn.func3(0xc82035a000, 0x0, 0xc8201d9e00)
/usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:831 +0x21 fp=0xc8200fbf78 sp=0xc8200fbf38
runtime.goexit()
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc8200fbf80 sp=0xc8200fbf78
created by net/http.(*Transport).dialConn
/usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:836 +0x986
goroutine 1 [select]:
github.com/docker/engine-api/client/transport/cancellable.Do(0x180cc38, 0xc820073078, 0x18116c8, 0xc8202bfd60, 0xc8200b49a0, 0xc8200b49a0, 0x0, 0x0)
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/vendor/src/github.com/docker/engine-api/client/transport/cancellable/cancellable.go:56 +0x49d
github.com/docker/engine-api/client.(*Client).sendClientRequest(0xc82024f500, 0x180cc38, 0xc820073078, 0x83dc10, 0x3, 0x8af0d0, 0x10, 0xc8202fd290, 0x0, 0x0, ...)
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/vendor/src/github.com/docker/engine-api/client/request.go:105 +0x571
github.com/docker/engine-api/client.(*Client).sendRequest(0xc82024f500, 0x180cc38, 0xc820073078, 0x83dc10, 0x3, 0x8af0d0, 0x10, 0xc8202fd290, 0x0, 0x0, ...)
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/vendor/src/github.com/docker/engine-api/client/request.go:73 +0x2dc
github.com/docker/engine-api/client.(*Client).get(0xc82024f500, 0x180cc38, 0xc820073078, 0x8af0d0, 0x10, 0xc8202fd290, 0x0, 0x20, 0x0, 0x0)
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/vendor/src/github.com/docker/engine-api/client/request.go:31 +0xa6
github.com/docker/engine-api/client.(*Client).ContainerList(0xc82024f500, 0x180cc38, 0xc820073078, 0x10000, 0x0, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xc8202fd200, ...)
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/vendor/src/github.com/docker/engine-api/client/container_list.go:47 +0x7ef
github.com/hyperhq/hypercli/api/client.(*DockerCli).CmdPs(0xc8200a4240, 0xc8200740b0, 0x1, 0x1, 0x0, 0x0)
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/api/client/ps.go:60 +0xc2b
reflect.callMethod(0xc8202fd1a0, 0xc820199af0)
/usr/local/Cellar/go/1.6.3/libexec/src/reflect/value.go:631 +0x1fc
reflect.methodValueCall(0xc8200740b0, 0x1, 0x1, 0x1, 0xc8202fd1a0, 0x0, 0x0, 0xc8202fd1a0, 0x0, 0x684e4, ...)
/usr/local/Cellar/go/1.6.3/libexec/src/reflect/asm_amd64.s:29 +0x36
github.com/hyperhq/hypercli/cli.(*Cli).Run(0xc8202fccf0, 0xc8200740a0, 0x2, 0x2, 0x0, 0x0)
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/cli/cli.go:89 +0x384
main.main()
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/hyper/hyper.go:85 +0x675
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/asm_amd64.s:1998 +0x1
goroutine 19 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/sigqueue.go:116 +0x132
os/signal.loop()
/usr/local/Cellar/go/1.6.3/libexec/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/Cellar/go/1.6.3/libexec/src/os/signal/signal_unix.go:28 +0x37
goroutine 20 [chan send]:
github.com/hyperhq/libcompose/logger.generateColors()
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/vendor/src/github.com/hyperhq/libcompose/logger/color.go:27 +0x182
created by github.com/hyperhq/libcompose/logger.init.1
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/vendor/src/github.com/hyperhq/libcompose/logger/color.go:33 +0x2b
goroutine 21 [select]:
net/http.(*Transport).getConn(0xc8200ec6c0, 0xc8200b49a0, 0x0, 0x8410f8, 0x5, 0xc8202bfd46, 0x16, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:714 +0x4ef
net/http.(*Transport).RoundTrip(0xc8200ec6c0, 0xc8200b49a0, 0xc8200ec6c0, 0x0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:314 +0x7e9
net/http.send(0xc8200b49a0, 0x1804598, 0xc8200ec6c0, 0x0, 0x0, 0x0, 0xc8202eeac0, 0x0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/net/http/client.go:260 +0x6b7
net/http.(*Client).send(0xc8202fd140, 0xc8200b49a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/net/http/client.go:155 +0x185
net/http.(*Client).doFollowingRedirects(0xc8202fd140, 0xc8200b49a0, 0x9a3550, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/net/http/client.go:475 +0x8a4
net/http.(*Client).Do(0xc8202fd140, 0xc8200b49a0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/net/http/client.go:188 +0xff
github.com/docker/engine-api/client/transport/cancellable.Do.func1(0x18116c8, 0xc8202bfd60, 0xc8200b49a0, 0xc8201d99e0)
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/vendor/src/github.com/docker/engine-api/client/transport/cancellable/cancellable.go:49 +0x35
created by github.com/docker/engine-api/client/transport/cancellable.Do
/Users/lei/Documents/ws/go-test/src/github.com/hyperhq/hypercli/vendor/src/github.com/docker/engine-api/client/transport/cancellable/cancellable.go:52 +0xff
goroutine 22 [chan receive]:
net/http.(*Transport).dialConn(0xc8200ec6c0, 0x0, 0x8410f8, 0x5, 0xc8202bfd46, 0x16, 0xc8202fd140, 0x0, 0x0)
/usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:837 +0x9c2
net/http.(*Transport).getConn.func4(0xc8200ec6c0, 0x0, 0x8410f8, 0x5, 0xc8202bfd46, 0x16, 0xc8201d9a40)
/usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:709 +0x66
created by net/http.(*Transport).getConn
/usr/local/Cellar/go/1.6.3/libexec/src/net/http/transport.go:711 +0x262
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment