Skip to content

Instantly share code, notes, and snippets.

@pedrosland
Created July 6, 2014 16:56
Show Gist options
  • Save pedrosland/6095acc51fa6e7a59b20 to your computer and use it in GitHub Desktop.
Save pedrosland/6095acc51fa6e7a59b20 to your computer and use it in GitHub Desktop.
fatal error: runtime: out of memory
goroutine 658952 [running]:
runtime.throw(0xb81d97)
/usr/lib/go/src/pkg/runtime/panic.c:464 +0x69 fp=0x7f9480db5760
runtime.SysMap(0xc2322c0000, 0x100000, 0xb92358)
/usr/lib/go/src/pkg/runtime/mem_linux.c:131 +0xfe fp=0x7f9480db5790
runtime.MHeap_SysAlloc(0xb9c2a0, 0x100000)
/usr/lib/go/src/pkg/runtime/malloc.goc:473 +0x10a fp=0x7f9480db57d0
MHeap_Grow(0xb9c2a0, 0x10)
/usr/lib/go/src/pkg/runtime/mheap.c:241 +0x5d fp=0x7f9480db5810
MHeap_AllocLocked(0xb9c2a0, 0x1, 0x14)
/usr/lib/go/src/pkg/runtime/mheap.c:126 +0x305 fp=0x7f9480db5850
runtime.MHeap_Alloc(0xb9c2a0, 0x1, 0x14, 0x7f9400000001)
/usr/lib/go/src/pkg/runtime/mheap.c:95 +0x7b fp=0x7f9480db5878
MCentral_Grow(0xba4278)
/usr/lib/go/src/pkg/runtime/mcentral.c:180 +0x8c fp=0x7f9480db58d8
runtime.MCentral_AllocList(0xba4278, 0x7f9480f32150)
/usr/lib/go/src/pkg/runtime/mcentral.c:46 +0x4f fp=0x7f9480db5900
runtime.MCache_Refill(0x7f9480f32000, 0x7f9400000014)
/usr/lib/go/src/pkg/runtime/mcache.c:22 +0x7c fp=0x7f9480db5920
runtime.mallocgc(0x160, 0x71ef81, 0x0)
/usr/lib/go/src/pkg/runtime/malloc.goc:71 +0xff fp=0x7f9480db5990
cnew(0x71ef80, 0x1, 0x1)
/usr/lib/go/src/pkg/runtime/malloc.goc:718 +0xc1 fp=0x7f9480db59b0
runtime.cnewarray(0x71ef80, 0x1)
/usr/lib/go/src/pkg/runtime/malloc.goc:731 +0x3a fp=0x7f9480db59d0
hash_insert(0x73a9a0, 0xc2322bd060, 0x7f9480db5ad8, 0x7f9480db5ae8)
/usr/lib/go/src/pkg/runtime/hashmap.c:607 +0xa3 fp=0x7f9480db5a68
runtime.mapassign(0x73a9a0, 0xc2322bd060, 0x7f9480db5ad8, 0x7f9480db5ae8)
/usr/lib/go/src/pkg/runtime/hashmap.c:1114 +0x88 fp=0x7f9480db5a90
runtime.mapassign1(0x73a9a0, 0xc2322bd060, 0x788a50, 0xf, 0xc232285e10, ...)
/usr/lib/go/src/pkg/runtime/hashmap.c:1146 +0x80 fp=0x7f9480db5ac8
net/textproto.MIMEHeader.Set(0xc2322bd060, 0x788a50, 0xf, 0x77f5e0, 0x4)
/usr/lib/go/src/pkg/net/textproto/header.go:22 +0xda fp=0x7f9480db5b38
net/http.Header.Set(0xc2322bd060, 0x788a50, 0xf, 0x77f5e0, 0x4)
/usr/lib/go/src/pkg/net/http/header.go:28 +0x4f fp=0x7f9480db5b68
net/http.(*persistConn).roundTrip(0xc232298980, 0xc232285de0, 0xc232298980, 0x0, 0x0)
/usr/lib/go/src/pkg/net/http/transport.go:861 +0x755 fp=0x7f9480db5c38
net/http.(*Transport).RoundTrip(0xc210061900, 0xc232276ea0, 0x1, 0x0, 0x0)
/usr/lib/go/src/pkg/net/http/transport.go:187 +0x391 fp=0x7f9480db5cc0
net/http.send(0xc232276ea0, 0x7f9480f3b848, 0xc210061900, 0x0, 0x0, ...)
/usr/lib/go/src/pkg/net/http/client.go:168 +0x37f fp=0x7f9480db5d38
net/http.(*Client).send(0xc21007d630, 0xc232276ea0, 0x64, 0x8, 0x0)
/usr/lib/go/src/pkg/net/http/client.go:100 +0xd9 fp=0x7f9480db5da0
net/http.(*Client).doFollowingRedirects(0xc21007d630, 0xc2322769c0, 0x829300, 0xc2322bb000, 0x0, ...)
/usr/lib/go/src/pkg/net/http/client.go:294 +0x671 fp=0x7f9480db5ef0
net/http.(*Client).Do(0xc21007d630, 0xc2322769c0, 0xc2322732a0, 0x0, 0x0)
/usr/lib/go/src/pkg/net/http/client.go:129 +0x8f fp=0x7f9480db5f28
github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd.func·004()
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd/requests.go:232 +0x54 fp=0x7f9480db5fa0
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1394 fp=0x7f9480db5fa8
created by github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd.(*Client).SendRequest
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd/requests.go:241 +0xdd9
goroutine 1 [select]:
github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd.(*Client).SendRequest(0xc21006d090, 0xc21007d7b0, 0x0, 0x0, 0x0)
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd/requests.go:258 +0x1d29
github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd.(*Client).getCancelable(0xc21006d090, 0xc210080240, 0x1b, 0xc21007d660, 0x0, ...)
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd/requests.go:57 +0x336
github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd.(*Client).get(0xc21006d090, 0xc210080240, 0x1b, 0xc21007d660, 0x682800, ...)
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd/requests.go:68 +0x53
github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd.(*Client).RawGet(0xc21006d090, 0xc210080240, 0x1b, 0x100, 0x7f9480d9bb98, ...)
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd/get.go:26 +0x116
github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd.(*Client).Get(0xc21006d090, 0xc210080240, 0x1b, 0xc210080100, 0x1b, ...)
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd/get.go:11 +0x54
github.com/coreos/fleet/registry.(*EtcdRegistry).GetActiveMachines(0xc2100801c0, 0x0, 0x0, 0x0, 0x0, ...)
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/registry/machine.go:21 +0x138
github.com/coreos/fleet/registry.(*EtcdRegistry).GetLatestVersion(0xc2100801c0, 0xc21007f0c0, 0xc210000460, 0x7a3eb0)
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/registry/version.go:9 +0x35
main.checkVersion(0x7f9480f3bc80, 0xc2100801c0, 0x0)
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/fleetctl/fleetctl.go:139 +0x6a
main.main()
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/fleetctl/fleetctl.go:199 +0x7fb
goroutine 3 [chan receive]:
github.com/coreos/fleet/third_party/github.com/golang/glog.(*loggingT).flushDaemon(0xb88660)
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/third_party/github.com/golang/glog/glog.go:839 +0x50
created by github.com/coreos/fleet/third_party/github.com/golang/glog.init·1
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/third_party/github.com/golang/glog/glog.go:406 +0x276
goroutine 4 [syscall]:
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1394
goroutine 658953 [select]:
github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd.func·005()
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd/requests.go:245 +0x1fc
created by github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd.(*Client).SendRequest
/build/amd64-usr/var/tmp/portage/app-admin/fleet-0.5.0-r1/work/fleet-0.5.0/gopath/src/github.com/coreos/fleet/third_party/github.com/coreos/go-etcd/etcd/requests.go:254 +0xe48
goroutine 658973 [IO wait]:
net.runtime_pollWait(0x7f9480f3ceb0, 0x72, 0x0)
/usr/lib/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2322aefb0, 0x72, 0x7f9480f3b520, 0xb)
/usr/lib/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc2322aefb0, 0xb, 0x7f9480f3b520)
/usr/lib/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc2322aef50, 0xc2322be000, 0x1000, 0x1000, 0x0, ...)
/usr/lib/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc23224dd00, 0xc2322be000, 0x1000, 0x1000, 0x0, ...)
/usr/lib/go/src/pkg/net/net.go:122 +0xc5
bufio.(*Reader).fill(0xc2322b4480)
/usr/lib/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Peek(0xc2322b4480, 0x1, 0xb82c67, 0xc2322aebb8, 0x280daff28, ...)
/usr/lib/go/src/pkg/bufio/bufio.go:119 +0xcb
net/http.(*persistConn).readLoop(0xc232298980)
/usr/lib/go/src/pkg/net/http/transport.go:687 +0xb7
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:528 +0x607
goroutine 658974 [select]:
net/http.(*persistConn).writeLoop(0xc232298980)
/usr/lib/go/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:529 +0x61e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment