Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

md2vim_darwin_amd64 fails on M1 Mac #7

Open
chipsenkbeil opened this issue Oct 17, 2021 · 0 comments
Open

md2vim_darwin_amd64 fails on M1 Mac #7

chipsenkbeil opened this issue Oct 17, 2021 · 0 comments

Comments

@chipsenkbeil
Copy link

I downloaded the prebuilt Mac binary and tried to run it, assuming that Rosetta 2 would handle the instruction translation.

There seems to be some panic, unfortunately. I'm also not clear on this stack trace as I don't have a /usr/local/go directory on my machine.

failed MSpanList_Insert 0x452000 0x137a9a18e20b9 0x0 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.throw(0x192940, 0x10)
        /usr/local/go/src/runtime/panic.go:530 +0x90 fp=0x2043b8760 sp=0x2043b8748
runtime.(*mSpanList).insert(0x241608, 0x452000)
        /usr/local/go/src/runtime/mheap.go:933 +0x293 fp=0x2043b8790 sp=0x2043b8760
runtime.(*mheap).freeSpanLocked(0x240e00, 0x452000, 0x100, 0x0)
        /usr/local/go/src/runtime/mheap.go:809 +0x4be fp=0x2043b87f8 sp=0x2043b8790
runtime.(*mheap).grow(0x240e00, 0x8, 0x0)
        /usr/local/go/src/runtime/mheap.go:675 +0x2a0 fp=0x2043b8850 sp=0x2043b87f8
runtime.(*mheap).allocSpanLocked(0x240e00, 0x1, 0x0)
        /usr/local/go/src/runtime/mheap.go:553 +0x4e3 fp=0x2043b88a8 sp=0x2043b8850
runtime.(*mheap).alloc_m(0x240e00, 0x1, 0x15, 0x0)
        /usr/local/go/src/runtime/mheap.go:437 +0x119 fp=0x2043b88d8 sp=0x2043b88a8
runtime.(*mheap).alloc.func1()
        /usr/local/go/src/runtime/mheap.go:502 +0x41 fp=0x2043b8908 sp=0x2043b88d8
runtime.systemstack(0x2043b8928)
        /usr/local/go/src/runtime/asm_amd64.s:307 +0xab fp=0x2043b8910 sp=0x2043b8908
runtime.(*mheap).alloc(0x240e00, 0x1, 0x10000000015, 0x127ff)
        /usr/local/go/src/runtime/mheap.go:503 +0x63 fp=0x2043b8958 sp=0x2043b8910
runtime.(*mcentral).grow(0x242a00, 0x0)
        /usr/local/go/src/runtime/mcentral.go:209 +0x93 fp=0x2043b89c0 sp=0x2043b8958
runtime.(*mcentral).cacheSpan(0x242a00, 0x23da68)
        /usr/local/go/src/runtime/mcentral.go:89 +0x47d fp=0x2043b8a00 sp=0x2043b89c0
runtime.(*mcache).refill(0x44e000, 0x15, 0x2043b8a68)
        /usr/local/go/src/runtime/mcache.go:119 +0xcc fp=0x2043b8a38 sp=0x2043b8a00
runtime.mallocgc.func2()
        /usr/local/go/src/runtime/malloc.go:642 +0x2b fp=0x2043b8a58 sp=0x2043b8a38
runtime.systemstack(0x2043b8af8)
        /usr/local/go/src/runtime/asm_amd64.s:307 +0xab fp=0x2043b8a60 sp=0x2043b8a58
runtime.mallocgc(0x180, 0x171f00, 0x0, 0x800000000)
        /usr/local/go/src/runtime/malloc.go:643 +0x869 fp=0x2043b8b38 sp=0x2043b8a60
runtime.newobject(0x171f00, 0x23dcd0)
        /usr/local/go/src/runtime/malloc.go:781 +0x42 fp=0x2043b8b60 sp=0x2043b8b38
runtime.malg(0x8000, 0x23df40)
        /usr/local/go/src/runtime/proc.go:2634 +0x27 fp=0x2043b8b98 sp=0x2043b8b60
runtime.mpreinit(0x23e280)
        /usr/local/go/src/runtime/os1_darwin.go:140 +0x1f fp=0x2043b8bb0 sp=0x2043b8b98
runtime.mcommoninit(0x23e280)
        /usr/local/go/src/runtime/proc.go:494 +0x105 fp=0x2043b8bf8 sp=0x2043b8bb0
runtime.schedinit()
        /usr/local/go/src/runtime/proc.go:434 +0x79 fp=0x2043b8c40 sp=0x2043b8bf8
runtime.rt0_go(0x2043b8c70, 0x1, 0x2043b8c70, 0x0, 0x1, 0x2043b8f20, 0x0, 0x2043b8f27, 0x2043b8f3b, 0x2043b8f51, ...)
        /usr/local/go/src/runtime/asm_amd64.s:138 +0x132 fp=0x2043b8c48 sp=0x2043b8c40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant