Skip to content

Instantly share code, notes, and snippets.

@ryanuber
Created October 16, 2014 02:33
Show Gist options
  • Save ryanuber/78695e0d37451e77194e to your computer and use it in GitHub Desktop.
Save ryanuber/78695e0d37451e77194e to your computer and use it in GitHub Desktop.
Terraform hang during plan
SIGABRT: abort
PC=0x1a5ebe
goroutine 16 [syscall, 1 minutes]:
syscall.Syscall6(0x7, 0x4e0d, 0x86ba0c, 0x0, 0xc208072240, 0x0, 0x0, 0x1, 0x0, 0xc208072240)
/usr/local/go/src/pkg/syscall/asm_darwin_amd64.s:44 +0x5 fp=0x86b970 sp=0x86b968
syscall.wait4(0x4e0d, 0x86ba0c, 0x0, 0xc208072240, 0x2c31b, 0x0, 0x0)
/usr/local/go/src/pkg/syscall/zsyscall_darwin_amd64.go:32 +0x7d fp=0x86b9d0 sp=0x86b970
syscall.Wait4(0x4e0d, 0x86ba54, 0x0, 0xc208072240, 0x2ace4, 0x0, 0x0)
/usr/local/go/src/pkg/syscall/syscall_bsd.go:129 +0x64 fp=0x86ba18 sp=0x86b9d0
os.(*Process).wait(0xc20800f180, 0x4bd0a0, 0x0, 0x0)
/usr/local/go/src/pkg/os/exec_unix.go:22 +0xfe fp=0x86bac0 sp=0x86ba18
os.(*Process).Wait(0xc20800f180, 0xc2080313b0, 0x0, 0x0)
/usr/local/go/src/pkg/os/doc.go:45 +0x39 fp=0x86bae8 sp=0x86bac0
os/exec.(*Cmd).Wait(0xc20806a640, 0x0, 0x0)
/usr/local/go/src/pkg/os/exec/exec.go:357 +0x1db fp=0x86bbc0 sp=0x86bae8
github.com/mitchellh/panicwrap.Wrap(0xc208036480, 0x0, 0x0, 0x0)
/Users/ryanuber/go/src/github.com/mitchellh/panicwrap/panicwrap.go:167 +0x820 fp=0x86bde0 sp=0x86bbc0
main.realMain(0x0)
/Users/ryanuber/go/src/github.com/hashicorp/terraform/main.go:59 +0x644 fp=0x86bf40 sp=0x86bde0
main.main()
/Users/ryanuber/go/src/github.com/hashicorp/terraform/main.go:18 +0x1e fp=0x86bf50 sp=0x86bf40
runtime.main()
/usr/local/go/src/pkg/runtime/proc.c:247 +0x11a fp=0x86bfa8 sp=0x86bf50
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0x86bfb0 sp=0x86bfa8
created by _rt0_go
/usr/local/go/src/pkg/runtime/asm_amd64.s:97 +0x120
goroutine 19 [finalizer wait, 1 minutes]:
runtime.park(0x1b450, 0x751eb8, 0x750949)
/usr/local/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x751eb8, 0x750949)
/usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/usr/local/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1445
goroutine 20 [syscall, 1 minutes]:
os/signal.loop()
/usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
/usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x32
goroutine 22 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc2080ce0c0)
/private/var/folders/00/0sdwh000h01000cxqpysvccm0035qk/T/makerelease003761064/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*WaitGroup).Wait(0xc2080d40c0)
/usr/local/go/src/pkg/sync/waitgroup.go:129 +0x14b
main.copyOutput(0x82aa98, 0xc20805e050, 0xc2080364e0)
/Users/ryanuber/go/src/github.com/hashicorp/terraform/main.go:225 +0x321
created by main.realMain
/Users/ryanuber/go/src/github.com/hashicorp/terraform/main.go:53 +0x508
goroutine 32 [semacquire, 1 minutes]:
sync.runtime_Syncsemacquire(0xc20807c1c0)
/private/var/folders/00/0sdwh000h01000cxqpysvccm0035qk/T/makerelease003761064/go/src/pkg/runtime/sema.goc:257 +0xc0
sync.(*Cond).Wait(0xc20807c1b0)
/usr/local/go/src/pkg/sync/cond.go:62 +0x9d
io.(*pipe).read(0xc20807c180, 0xc2080fa000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/io/pipe.go:52 +0x2b6
io.(*PipeReader).Read(0xc2080d2018, 0xc2080fa000, 0x8000, 0x8000, 0x37f2e0, 0x0, 0x0)
/usr/local/go/src/pkg/io/pipe.go:134 +0x5f
github.com/mitchellh/prefixedio.(*prefixReader).Read(0xc2080d4060, 0xc2080fa000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
/Users/ryanuber/go/src/github.com/mitchellh/prefixedio/reader.go:219 +0x89
io.Copy(0x82a340, 0xc20805e010, 0x82ab10, 0xc2080d4060, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/io/io.go:353 +0x1f3
main.func·014()
/Users/ryanuber/go/src/github.com/hashicorp/terraform/main.go:214 +0x7f
created by main.copyOutput
/Users/ryanuber/go/src/github.com/hashicorp/terraform/main.go:215 +0x2a5
goroutine 33 [semacquire]:
sync.runtime_Syncsemacquire(0xc20807c280)
/private/var/folders/00/0sdwh000h01000cxqpysvccm0035qk/T/makerelease003761064/go/src/pkg/runtime/sema.goc:257 +0xc0
sync.(*Cond).Wait(0xc20807c270)
/usr/local/go/src/pkg/sync/cond.go:62 +0x9d
io.(*pipe).read(0xc20807c240, 0xc208102000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/io/pipe.go:52 +0x2b6
io.(*PipeReader).Read(0xc2080d2028, 0xc208102000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/io/pipe.go:134 +0x5f
github.com/mitchellh/prefixedio.(*prefixReader).Read(0xc2080d4080, 0xc208102000, 0x8000, 0x8000, 0x51, 0x0, 0x0)
/Users/ryanuber/go/src/github.com/mitchellh/prefixedio/reader.go:219 +0x89
io.Copy(0x82a340, 0xc20805e008, 0x82ab10, 0xc2080d4080, 0x1c2, 0x0, 0x0)
/usr/local/go/src/pkg/io/io.go:353 +0x1f3
main.func·015()
/Users/ryanuber/go/src/github.com/hashicorp/terraform/main.go:218 +0x7f
created by main.copyOutput
/Users/ryanuber/go/src/github.com/hashicorp/terraform/main.go:219 +0x2db
goroutine 34 [semacquire, 1 minutes]:
sync.runtime_Syncsemacquire(0xc20807c340)
/private/var/folders/00/0sdwh000h01000cxqpysvccm0035qk/T/makerelease003761064/go/src/pkg/runtime/sema.goc:257 +0xc0
sync.(*Cond).Wait(0xc20807c330)
/usr/local/go/src/pkg/sync/cond.go:62 +0x9d
io.(*pipe).read(0xc20807c300, 0xc20812a000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/io/pipe.go:52 +0x2b6
io.(*PipeReader).Read(0xc2080d2038, 0xc20812a000, 0x8000, 0x8000, 0x37f2e0, 0x0, 0x0)
/usr/local/go/src/pkg/io/pipe.go:134 +0x5f
github.com/mitchellh/prefixedio.(*prefixReader).Read(0xc2080d40a0, 0xc20812a000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
/Users/ryanuber/go/src/github.com/mitchellh/prefixedio/reader.go:219 +0x89
io.Copy(0x82a340, 0xc20805e008, 0x82ab10, 0xc2080d40a0, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/io/io.go:353 +0x1f3
main.func·016()
/Users/ryanuber/go/src/github.com/hashicorp/terraform/main.go:222 +0x7f
created by main.copyOutput
/Users/ryanuber/go/src/github.com/hashicorp/terraform/main.go:223 +0x311
goroutine 23 [semacquire]:
sync.runtime_Syncsemacquire(0xc2080ec100)
/private/var/folders/00/0sdwh000h01000cxqpysvccm0035qk/T/makerelease003761064/go/src/pkg/runtime/sema.goc:257 +0xc0
sync.(*Cond).Wait(0xc2080ec0f0)
/usr/local/go/src/pkg/sync/cond.go:62 +0x9d
io.(*pipe).read(0xc2080ec0c0, 0xc208068000, 0x800, 0x800, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/io/pipe.go:52 +0x2b6
io.(*PipeReader).Read(0xc20805e070, 0xc208068000, 0x800, 0x800, 0x56, 0x0, 0x0)
/usr/local/go/src/pkg/io/pipe.go:134 +0x5f
github.com/mitchellh/panicwrap.trackPanic(0x82aa98, 0xc20805e070, 0x82aac0, 0xc20800ee20, 0x11e1a300, 0xc2080365a0)
/Users/ryanuber/go/src/github.com/mitchellh/panicwrap/panicwrap.go:248 +0x576
created by github.com/mitchellh/panicwrap.Wrap
/Users/ryanuber/go/src/github.com/mitchellh/panicwrap/panicwrap.go:131 +0x3d9
goroutine 48 [select]:
github.com/mitchellh/prefixedio.(*Reader).read(0xc2080d8080)
/Users/ryanuber/go/src/github.com/mitchellh/prefixedio/reader.go:132 +0xa20
created by github.com/mitchellh/prefixedio.func·001
/Users/ryanuber/go/src/github.com/mitchellh/prefixedio/reader.go:91 +0x31
goroutine 49 [semacquire]:
sync.runtime_Syncsemacquire(0xc2080ec040)
/private/var/folders/00/0sdwh000h01000cxqpysvccm0035qk/T/makerelease003761064/go/src/pkg/runtime/sema.goc:257 +0xc0
sync.(*Cond).Wait(0xc2080ec030)
/usr/local/go/src/pkg/sync/cond.go:62 +0x9d
io.(*pipe).read(0xc2080ec000, 0xc208122000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/io/pipe.go:52 +0x2b6
io.(*PipeReader).Read(0xc20805e050, 0xc208122000, 0x1000, 0x1000, 0xc20809e018, 0x0, 0x0)
/usr/local/go/src/pkg/io/pipe.go:134 +0x5f
bufio.(*Reader).fill(0xc20810e060)
/usr/local/go/src/pkg/bufio/bufio.go:97 +0x1b3
bufio.(*Reader).ReadByte(0xc20810e060, 0xc20810e0c0, 0x0, 0x0)
/usr/local/go/src/pkg/bufio/bufio.go:199 +0x7e
github.com/mitchellh/prefixedio.func·002()
/Users/ryanuber/go/src/github.com/mitchellh/prefixedio/reader.go:110 +0x64
created by github.com/mitchellh/prefixedio.(*Reader).read
/Users/ryanuber/go/src/github.com/mitchellh/prefixedio/reader.go:118 +0x16c
goroutine 24 [syscall]:
syscall.Syscall(0x3, 0x4, 0xc208136000, 0x8000, 0x1b4cb, 0x1b450, 0xc2080ec078)
/usr/local/go/src/pkg/syscall/asm_darwin_amd64.s:20 +0x5
syscall.read(0x4, 0xc208136000, 0x8000, 0x8000, 0xc52d2, 0x0, 0x0)
/usr/local/go/src/pkg/syscall/zsyscall_darwin_amd64.go:952 +0x75
syscall.Read(0x4, 0xc208136000, 0x8000, 0x8000, 0x5c98a0, 0x0, 0x0)
/usr/local/go/src/pkg/syscall/syscall_unix.go:136 +0x5c
os.(*File).read(0xc20805e0a8, 0xc208136000, 0x8000, 0x8000, 0xc208136000, 0x0, 0x0)
/usr/local/go/src/pkg/os/file_unix.go:190 +0x89
os.(*File).Read(0xc20805e0a8, 0xc208136000, 0x8000, 0x8000, 0x53, 0x0, 0x0)
/usr/local/go/src/pkg/os/file.go:95 +0x98
io.Copy(0x82aae8, 0xc20805e060, 0x82ab88, 0xc20805e0a8, 0x1ce, 0x0, 0x0)
/usr/local/go/src/pkg/io/io.go:353 +0x1f3
os/exec.func·003(0x0, 0x0)
/usr/local/go/src/pkg/os/exec/exec.go:214 +0x7e
os/exec.func·004(0xc20800ee80)
/usr/local/go/src/pkg/os/exec/exec.go:321 +0x2c
created by os/exec.(*Cmd).Start
/usr/local/go/src/pkg/os/exec/exec.go:322 +0x931
goroutine 25 [syscall]:
syscall.Syscall(0x3, 0x6, 0xc20813e000, 0x8000, 0x1b4cb, 0x1b450, 0xc2080ec138)
/usr/local/go/src/pkg/syscall/asm_darwin_amd64.s:20 +0x5
syscall.read(0x6, 0xc20813e000, 0x8000, 0x8000, 0xc52d2, 0x0, 0x0)
/usr/local/go/src/pkg/syscall/zsyscall_darwin_amd64.go:952 +0x75
syscall.Read(0x6, 0xc20813e000, 0x8000, 0x8000, 0x5c98a0, 0x0, 0x0)
/usr/local/go/src/pkg/syscall/syscall_unix.go:136 +0x5c
os.(*File).read(0xc20805e0c8, 0xc20813e000, 0x8000, 0x8000, 0xc20813e000, 0x0, 0x0)
/usr/local/go/src/pkg/os/file_unix.go:190 +0x89
os.(*File).Read(0xc20805e0c8, 0xc20813e000, 0x8000, 0x8000, 0x56, 0x0, 0x0)
/usr/local/go/src/pkg/os/file.go:95 +0x98
io.Copy(0x82aae8, 0xc20805e078, 0x82ab88, 0xc20805e0c8, 0x2b2c, 0x0, 0x0)
/usr/local/go/src/pkg/io/io.go:353 +0x1f3
os/exec.func·003(0x0, 0x0)
/usr/local/go/src/pkg/os/exec/exec.go:214 +0x7e
os/exec.func·004(0xc20800eee0)
/usr/local/go/src/pkg/os/exec/exec.go:321 +0x2c
created by os/exec.(*Cmd).Start
/usr/local/go/src/pkg/os/exec/exec.go:322 +0x931
goroutine 26 [select, 1 minutes]:
github.com/mitchellh/panicwrap.func·002()
/Users/ryanuber/go/src/github.com/mitchellh/panicwrap/panicwrap.go:159 +0xd4
created by github.com/mitchellh/panicwrap.Wrap
/Users/ryanuber/go/src/github.com/mitchellh/panicwrap/panicwrap.go:165 +0x80d
rax 0x2000007
rbx 0xc20801290c
rcx 0x86b968
rdx 0x0
rdi 0x4e0d
rsi 0x86ba0c
rbp 0x4e0d
rsp 0x86b968
r8 0x0
r9 0x0
r10 0xc208072240
r11 0x202
r12 0x4b9e80
r13 0x1d408875e460
r14 0x139d8014d37ba200
r15 0x0
rip 0x1a5ebe
rflags 0x202
cs 0x7
fs 0x0
gs 0x860000
make: *** [plan] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment