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

MAC OS 10.14.3 运行错误 #586

Open
zhoubowen-sky opened this issue Mar 10, 2019 · 1 comment
Open

MAC OS 10.14.3 运行错误 #586

zhoubowen-sky opened this issue Mar 10, 2019 · 1 comment

Comments

@zhoubowen-sky
Copy link

release 中的二进制在MAC上运行错误

failed MSpanList_Insert 0x704000 0x436fc852f7ae 0x0 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.throw(0x320e30, 0x10)
/usr/local/go/src/runtime/panic.go:530 +0x90 fp=0x7ffeefbff5d0 sp=0x7ffeefbff5b8
runtime.(*mSpanList).insert(0x46c5c8, 0x704000)
/usr/local/go/src/runtime/mheap.go:933 +0x293 fp=0x7ffeefbff600 sp=0x7ffeefbff5d0
runtime.(*mheap).freeSpanLocked(0x46bdc0, 0x704000, 0x100, 0x0)
/usr/local/go/src/runtime/mheap.go:809 +0x4be fp=0x7ffeefbff668 sp=0x7ffeefbff600
runtime.(*mheap).grow(0x46bdc0, 0x8, 0x0)
/usr/local/go/src/runtime/mheap.go:675 +0x2a0 fp=0x7ffeefbff6c0 sp=0x7ffeefbff668
runtime.(*mheap).allocSpanLocked(0x46bdc0, 0x1, 0x0)
/usr/local/go/src/runtime/mheap.go:553 +0x4e3 fp=0x7ffeefbff718 sp=0x7ffeefbff6c0
runtime.(*mheap).alloc_m(0x46bdc0, 0x1, 0x15, 0x0)
/usr/local/go/src/runtime/mheap.go:437 +0x119 fp=0x7ffeefbff748 sp=0x7ffeefbff718
runtime.(*mheap).alloc.func1()
/usr/local/go/src/runtime/mheap.go:502 +0x41 fp=0x7ffeefbff778 sp=0x7ffeefbff748
runtime.systemstack(0x7ffeefbff798)
/usr/local/go/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff780 sp=0x7ffeefbff778
runtime.(*mheap).alloc(0x46bdc0, 0x1, 0x10000000015, 0x5a29f)
/usr/local/go/src/runtime/mheap.go:503 +0x63 fp=0x7ffeefbff7c8 sp=0x7ffeefbff780
runtime.(*mcentral).grow(0x46d9c0, 0x0)
/usr/local/go/src/runtime/mcentral.go:209 +0x93 fp=0x7ffeefbff830 sp=0x7ffeefbff7c8
runtime.(*mcentral).cacheSpan(0x46d9c0, 0x4679d8)
/usr/local/go/src/runtime/mcentral.go:89 +0x47d fp=0x7ffeefbff870 sp=0x7ffeefbff830
runtime.(*mcache).refill(0x700000, 0x15, 0x7ffeefbff8d8)
/usr/local/go/src/runtime/mcache.go:119 +0xcc fp=0x7ffeefbff8a8 sp=0x7ffeefbff870
runtime.mallocgc.func2()
/usr/local/go/src/runtime/malloc.go:642 +0x2b fp=0x7ffeefbff8c8 sp=0x7ffeefbff8a8
runtime.systemstack(0x7ffeefbff968)
/usr/local/go/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff8d0 sp=0x7ffeefbff8c8
runtime.mallocgc(0x180, 0x2e8c00, 0x0, 0x800000000)
/usr/local/go/src/runtime/malloc.go:643 +0x869 fp=0x7ffeefbff9a8 sp=0x7ffeefbff8d0
runtime.newobject(0x2e8c00, 0x468050)
/usr/local/go/src/runtime/malloc.go:781 +0x42 fp=0x7ffeefbff9d0 sp=0x7ffeefbff9a8
runtime.malg(0x8000, 0x4682c0)
/usr/local/go/src/runtime/proc.go:2634 +0x27 fp=0x7ffeefbffa08 sp=0x7ffeefbff9d0
runtime.mpreinit(0x468820)
/usr/local/go/src/runtime/os1_darwin.go:140 +0x1f fp=0x7ffeefbffa20 sp=0x7ffeefbffa08
runtime.mcommoninit(0x468820)
/usr/local/go/src/runtime/proc.go:494 +0x105 fp=0x7ffeefbffa68 sp=0x7ffeefbffa20
runtime.schedinit()
/usr/local/go/src/runtime/proc.go:434 +0x79 fp=0x7ffeefbffab0 sp=0x7ffeefbffa68
runtime.rt0_go(0x7ffeefbffae8, 0x1, 0x7ffeefbffae8, 0x0, 0x0, 0x1, 0x7ffeefbffc00, 0x0, 0x7ffeefbffc06, 0x7ffeefbffc22, ...)
/usr/local/go/src/runtime/asm_amd64.s:138 +0x132 fp=0x7ffeefbffab8 sp=0x7ffeefbffab0

CentOS 7.2 交叉编译后即可正常运行

@zhoubowen-sky zhoubowen-sky changed the title MAC OS 10.14.3 golang 运行错误 MAC OS 10.14.3 golang 1.12运行错误 Mar 10, 2019
@zhoubowen-sky zhoubowen-sky changed the title MAC OS 10.14.3 golang 1.12运行错误 MAC OS 10.14.3 运行错误 Mar 10, 2019
@scott-x
Copy link

scott-x commented Jun 28, 2019

我也遇到同样的问题,不知如何解决

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

2 participants