Skip to content

Instantly share code, notes, and snippets.

@antonbabenko
Created November 29, 2016 11:21
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 antonbabenko/ec2e1873ed4b7d50a27586e278018013 to your computer and use it in GitHub Desktop.
Save antonbabenko/ec2e1873ed4b7d50a27586e278018013 to your computer and use it in GitHub Desktop.
terragrunt 0.3.0 crash
[terragrunt] 2016/11/29 12:20:08 Reading Terragrunt config file at .terragrunt
[terragrunt] 2016/11/29 12:20:08 Initializing remote state for the s3 backend
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0xb01dfacedebac1e pc=0xef1b]
runtime stack:
runtime.throw(0x71adc0, 0x2a)
/usr/local/go/src/runtime/panic.go:547 +0x90
runtime.sigpanic()
/usr/local/go/src/runtime/sigpanic_unix.go:12 +0x5a
runtime.unlock(0x9886a0)
/usr/local/go/src/runtime/lock_sema.go:107 +0x14b
runtime.(*mheap).alloc_m(0x9886a0, 0x20, 0x100000000, 0xa84de0)
/usr/local/go/src/runtime/mheap.go:492 +0x314
runtime.(*mheap).alloc.func1()
/usr/local/go/src/runtime/mheap.go:502 +0x41
runtime.systemstack(0xc82003bee0)
/usr/local/go/src/runtime/asm_amd64.s:307 +0xab
runtime.(*mheap).alloc(0x9886a0, 0x20, 0x10100000000, 0x20)
/usr/local/go/src/runtime/mheap.go:503 +0x63
runtime.largeAlloc(0x3fe00, 0xc800000001, 0xc820028ce8)
/usr/local/go/src/runtime/malloc.go:766 +0xb3
runtime.mallocgc.func3()
/usr/local/go/src/runtime/malloc.go:664 +0x33
runtime.systemstack(0xc82001a000)
/usr/local/go/src/runtime/asm_amd64.s:291 +0x79
runtime.mstart()
/usr/local/go/src/runtime/proc.go:1051
goroutine 26 [running]:
runtime.systemstack_switch()
/usr/local/go/src/runtime/asm_amd64.s:245 fp=0xc820028b80 sp=0xc820028b78
runtime.mallocgc(0x3fe00, 0x49c9e0, 0xc800000001, 0x3e00)
/usr/local/go/src/runtime/malloc.go:665 +0x9eb fp=0xc820028c58 sp=0xc820028b80
runtime.newarray(0x49c9e0, 0x3fe00, 0xc820028cf8)
/usr/local/go/src/runtime/malloc.go:798 +0xc9 fp=0xc820028c98 sp=0xc820028c58
runtime.makeslice(0x48b400, 0x3fe00, 0x3fe00, 0x0, 0x0, 0x0)
/usr/local/go/src/runtime/slice.go:32 +0x165 fp=0xc820028ce8 sp=0xc820028c98
bytes.makeSlice(0x3fe00, 0x0, 0x0, 0x0)
/usr/local/go/src/bytes/buffer.go:198 +0x64 fp=0xc820028d38 sp=0xc820028ce8
bytes.(*Buffer).ReadFrom(0xc820132930, 0xb15d10, 0xc820088220, 0x1fe00, 0x0, 0x0)
/usr/local/go/src/bytes/buffer.go:170 +0xd3 fp=0xc820028de8 sp=0xc820028d38
io.copyBuffer(0xb160e8, 0xc820132930, 0xb15d10, 0xc820088220, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/io/io.go:374 +0x180 fp=0xc820028ea8 sp=0xc820028de8
io.Copy(0xb160e8, 0xc820132930, 0xb15d10, 0xc820088220, 0x39c94c, 0x0, 0x0)
/usr/local/go/src/io/io.go:350 +0x64 fp=0xc820028f00 sp=0xc820028ea8
os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0)
/usr/local/go/src/os/exec/exec.go:236 +0x8b fp=0xc820028f80 sp=0xc820028f00
os/exec.(*Cmd).Start.func1(0xc8200ab900, 0xc820194100)
/usr/local/go/src/os/exec/exec.go:344 +0x1d fp=0xc820028fb0 sp=0xc820028f80
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820028fb8 sp=0xc820028fb0
created by os/exec.(*Cmd).Start
/usr/local/go/src/os/exec/exec.go:345 +0x967
goroutine 1 [select]:
net/http.(*Transport).getConn(0xc8200e6000, 0xc8200e8460, 0x0, 0xc820077f20, 0x5, 0xc8201627e0, 0x1e, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:711 +0x4ef
net/http.(*Transport).RoundTrip(0xc8200e6000, 0xc8200e8460, 0xc8200e6000, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:311 +0x7e9
net/http.send(0xc8200e8460, 0xb155f0, 0xc8200e6000, 0x0, 0x0, 0x0, 0xc820095270, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:260 +0x6b7
net/http.(*Client).send(0x982f40, 0xc8200e8460, 0x0, 0x0, 0x0, 0x1d, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:155 +0x185
net/http.(*Client).doFollowingRedirects(0x982f40, 0xc8200e8460, 0x76e010, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:475 +0x8a4
net/http.(*Client).Do(0x982f40, 0xc8200e8460, 0x664600, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:188 +0xff
github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/corehandlers.glob.func2(0xc82012e700)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers.go:73 +0x55
github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/request.(*HandlerList).Run(0xc82012e868, 0xc82012e700)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/request/handlers.go:136 +0xc3
github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/request.(*Request).Send(0xc82012e700, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/request/request.go:271 +0x560
github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/service/s3.(*S3).HeadBucket(0xc8200881b0, 0xc8200881b8, 0xc820071650, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/service/s3/api.go:942 +0x4f
github.com/gruntwork-io/terragrunt/remote.DoesS3BucketExist(0xc8200881b0, 0xc820071640, 0xb16038)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/remote/remote_state_s3.go:149 +0xab
github.com/gruntwork-io/terragrunt/remote.createS3BucketIfNecessary(0xc8200881b0, 0xc820071640, 0xc8200779b0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/remote/remote_state_s3.go:86 +0x4f
github.com/gruntwork-io/terragrunt/remote.InitializeRemoteStateS3(0xc820077ad0, 0xc8200779b0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/remote/remote_state_s3.go:41 +0x130
github.com/gruntwork-io/terragrunt/remote.(*RemoteState).Initialize(0xc8201553f0, 0xc8200779b0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/remote/remote_state.go:45 +0x88
github.com/gruntwork-io/terragrunt/remote.RemoteState.ConfigureRemoteState(0xc820130551, 0x2, 0xc820077ad0, 0xc8200779b0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/remote/remote_state.go:60 +0x1a7
github.com/gruntwork-io/terragrunt/cli.configureRemoteState(0xc8200ab040, 0xc8200df660, 0xc8200779b0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/cli/cli_app.go:199 +0x231
github.com/gruntwork-io/terragrunt/cli.runApp(0xc8200ab040, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/cli/cli_app.go:102 +0x265
reflect.Value.call(0x4cb980, 0x76d990, 0x13, 0x65a418, 0x4, 0xc820155b40, 0x1, 0x1, 0x0, 0x0, ...)
/usr/local/go/src/reflect/value.go:435 +0x120d
reflect.Value.Call(0x4cb980, 0x76d990, 0x13, 0xc820155b40, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:303 +0xb1
github.com/gruntwork-io/terragrunt/vendor/github.com/urfave/cli.HandleAction(0x4cb980, 0x76d990, 0xc8200ab040, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/urfave/cli/app.go:480 +0x2ee
github.com/gruntwork-io/terragrunt/vendor/github.com/urfave/cli.(*App).Run(0xc82005a900, 0xc8200700c0, 0x4, 0x4, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/urfave/cli/app.go:241 +0xb05
main.main()
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/main.go:19 +0x8e
goroutine 19 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:116 +0x132
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37
goroutine 20 [chan receive]:
net/http.(*Transport).dialConn(0xc8200e6000, 0x0, 0xc820077f20, 0x5, 0xc8201627e0, 0x1e, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:834 +0x9c2
net/http.(*Transport).getConn.func4(0xc8200e6000, 0x0, 0xc820077f20, 0x5, 0xc8201627e0, 0x1e, 0xc820073b60)
/usr/local/go/src/net/http/transport.go:706 +0x66
created by net/http.(*Transport).getConn
/usr/local/go/src/net/http/transport.go:708 +0x262
goroutine 25 [syscall]:
syscall.Syscall6(0x7, 0x14135, 0xc82011cd04, 0x0, 0xc82009aa20, 0x0, 0x0, 0xc82011cce0, 0x51600, 0xc82011ccd8)
/usr/local/go/src/syscall/asm_darwin_amd64.s:41 +0x5
syscall.wait4(0x14135, 0xc82011cd04, 0x0, 0xc82009aa20, 0x90, 0x0, 0x0)
/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:34 +0x7f
syscall.Wait4(0x14135, 0xc82011cd4c, 0x0, 0xc82009aa20, 0xc820088240, 0x0, 0x0)
/usr/local/go/src/syscall/syscall_bsd.go:129 +0x55
os.(*Process).wait(0xc8201944c0, 0x40, 0x0, 0x0)
/usr/local/go/src/os/exec_unix.go:22 +0x105
os.(*Process).Wait(0xc8201944c0, 0x0, 0x0, 0x0)
/usr/local/go/src/os/doc.go:49 +0x2d
os/exec.(*Cmd).Wait(0xc8200ab900, 0x0, 0x0)
/usr/local/go/src/os/exec/exec.go:396 +0x211
os/exec.(*Cmd).Run(0xc8200ab900, 0x0, 0x0)
/usr/local/go/src/os/exec/exec.go:262 +0x64
os/exec.(*Cmd).Output(0xc8200ab900, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/os/exec/exec.go:432 +0x26c
crypto/x509.execSecurityRoots(0x8f5b5, 0x0, 0x0)
/usr/local/go/src/crypto/x509/root_darwin.go:17 +0xe9
crypto/x509.initSystemRoots()
/usr/local/go/src/crypto/x509/root_nocgo_darwin.go:10 +0x18
sync.(*Once).Do(0x9a0660, 0x76d788)
/usr/local/go/src/sync/once.go:44 +0xe4
crypto/x509.systemRootsPool(0x0)
/usr/local/go/src/crypto/x509/root.go:15 +0x2f
crypto/x509.(*Certificate).Verify(0xc820190000, 0xc8201627e0, 0x1a, 0xc82015fd70, 0x0, 0xecfcf5b68, 0x18a4aac8, 0x9830a0, 0x0, 0x0, ...)
/usr/local/go/src/crypto/x509/verify.go:241 +0x1de
crypto/tls.(*clientHandshakeState).doFullHandshake(0xc82011de48, 0x0, 0x0)
/usr/local/go/src/crypto/tls/handshake_client.go:278 +0x6e9
crypto/tls.(*Conn).clientHandshake(0xc82017e000, 0x0, 0x0)
/usr/local/go/src/crypto/tls/handshake_client.go:213 +0x1737
crypto/tls.(*Conn).Handshake(0xc82017e000, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:1033 +0xec
net/http.(*Transport).dialConn.func3(0xc82017e000, 0xc82016a640, 0xc820073f80)
/usr/local/go/src/net/http/transport.go:828 +0x21
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:833 +0x986
goroutine 27 [syscall]:
syscall.Syscall(0x3, 0x9, 0xc8201aa000, 0x8000, 0xcad000, 0x0, 0x1ea00000000)
/usr/local/go/src/syscall/asm_darwin_amd64.s:16 +0x5
syscall.read(0x9, 0xc8201aa000, 0x8000, 0x8000, 0x5cad28, 0x0, 0x0)
/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:972 +0x5f
syscall.Read(0x9, 0xc8201aa000, 0x8000, 0x8000, 0xc8201aa000, 0x0, 0x0)
/usr/local/go/src/syscall/syscall_unix.go:161 +0x4d
os.(*File).read(0xc820088238, 0xc8201aa000, 0x8000, 0x8000, 0x1, 0x0, 0x0)
/usr/local/go/src/os/file_unix.go:228 +0x75
os.(*File).Read(0xc820088238, 0xc8201aa000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
/usr/local/go/src/os/file.go:95 +0x8a
io.copyBuffer(0xb17628, 0xc820192f50, 0xb15d10, 0xc820088238, 0xc8201aa000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/usr/local/go/src/io/io.go:380 +0x247
io.Copy(0xb17628, 0xc820192f50, 0xb15d10, 0xc820088238, 0x0, 0x0, 0x0)
/usr/local/go/src/io/io.go:350 +0x64
os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0)
/usr/local/go/src/os/exec/exec.go:236 +0x8b
os/exec.(*Cmd).Start.func1(0xc8200ab900, 0xc820194180)
/usr/local/go/src/os/exec/exec.go:344 +0x1d
created by os/exec.(*Cmd).Start
/usr/local/go/src/os/exec/exec.go:345 +0x967
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment