Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: MSpanList_Insert #15

Open
josh-padnick opened this issue Feb 26, 2018 · 0 comments
Open

fatal error: MSpanList_Insert #15

josh-padnick opened this issue Feb 26, 2018 · 0 comments

Comments

@josh-padnick
Copy link
Owner

When running the ec2-snapper binary on macOS High Sierra, I received the following output:

failed MSpanList_Insert 0xb9e000 0x88223d97ee77 0x0 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.throw(0x757750, 0x10)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/panic.go:530 +0x90 fp=0x7ffeefbff430 sp=0x7ffeefbff418
runtime.(*mSpanList).insert(0xa946e8, 0xb9e000)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/mheap.go:933 +0x293 fp=0x7ffeefbff460 sp=0x7ffeefbff430
runtime.(*mheap).freeSpanLocked(0xa93ee0, 0xb9e000, 0x100, 0x0)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/mheap.go:809 +0x4be fp=0x7ffeefbff4c8 sp=0x7ffeefbff460
runtime.(*mheap).grow(0xa93ee0, 0x8, 0x0)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/mheap.go:675 +0x2a0 fp=0x7ffeefbff520 sp=0x7ffeefbff4c8
runtime.(*mheap).allocSpanLocked(0xa93ee0, 0x1, 0x0)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/mheap.go:553 +0x4e3 fp=0x7ffeefbff578 sp=0x7ffeefbff520
runtime.(*mheap).alloc_m(0xa93ee0, 0x1, 0x15, 0x0)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/mheap.go:437 +0x119 fp=0x7ffeefbff5a8 sp=0x7ffeefbff578
runtime.(*mheap).alloc.func1()
	/usr/local/Cellar/go/1.6/libexec/src/runtime/mheap.go:502 +0x41 fp=0x7ffeefbff5d8 sp=0x7ffeefbff5a8
runtime.systemstack(0x7ffeefbff5f8)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff5e0 sp=0x7ffeefbff5d8
runtime.(*mheap).alloc(0xa93ee0, 0x1, 0x10000000015, 0x1964f)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/mheap.go:503 +0x63 fp=0x7ffeefbff628 sp=0x7ffeefbff5e0
runtime.(*mcentral).grow(0xa95ae0, 0x0)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/mcentral.go:209 +0x93 fp=0x7ffeefbff690 sp=0x7ffeefbff628
runtime.(*mcentral).cacheSpan(0xa95ae0, 0xa8e698)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/mcentral.go:89 +0x47d fp=0x7ffeefbff6d0 sp=0x7ffeefbff690
runtime.(*mcache).refill(0xb9a000, 0x15, 0x7ffeefbff738)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/mcache.go:119 +0xcc fp=0x7ffeefbff708 sp=0x7ffeefbff6d0
runtime.mallocgc.func2()
	/usr/local/Cellar/go/1.6/libexec/src/runtime/malloc.go:642 +0x2b fp=0x7ffeefbff728 sp=0x7ffeefbff708
runtime.systemstack(0x7ffeefbff7c8)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff730 sp=0x7ffeefbff728
runtime.mallocgc(0x180, 0x6d6e40, 0x0, 0x800000000)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/malloc.go:643 +0x869 fp=0x7ffeefbff808 sp=0x7ffeefbff730
runtime.newobject(0x6d6e40, 0xa8ebf0)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/malloc.go:781 +0x42 fp=0x7ffeefbff830 sp=0x7ffeefbff808
runtime.malg(0x8000, 0xa8efa0)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/proc.go:2634 +0x27 fp=0x7ffeefbff868 sp=0x7ffeefbff830
runtime.mpreinit(0xa8f760)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/os1_darwin.go:140 +0x1f fp=0x7ffeefbff880 sp=0x7ffeefbff868
runtime.mcommoninit(0xa8f760)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/proc.go:494 +0x105 fp=0x7ffeefbff8c8 sp=0x7ffeefbff880
runtime.schedinit()
	/usr/local/Cellar/go/1.6/libexec/src/runtime/proc.go:434 +0x79 fp=0x7ffeefbff910 sp=0x7ffeefbff8c8
runtime.rt0_go(0x7ffeefbff940, 0x2, 0x7ffeefbff940, 0x0, 0x2, 0x7ffeefbffac0, 0x7ffeefbffaef, 0x0, 0x7ffeefbffaf6, 0x7ffeefbffb0b, ...)
	/usr/local/Cellar/go/1.6/libexec/src/runtime/asm_amd64.s:138 +0x132 fp=0x7ffeefbff918 sp=0x7ffeefbff910

I recall several issues with running programs binaries compiled by Go on MacOS High Sierra until Go released an update. I'm assuming we can resolve this by just re-compiling the program with a later version of Go. This involves an update to the circle.yml to run some of the latest Gruntwork tooling for installing Go.

We should also replace glide with go dep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant