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下启动cow失败 #583

Open
924060929 opened this issue Jan 2, 2019 · 5 comments
Open

mac下启动cow失败 #583

924060929 opened this issue Jan 2, 2019 · 5 comments

Comments

@924060929
Copy link

$ ./cow
failed MSpanList_Insert 0x604000 0xd08831cf55b 0x0 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.throw(0x320e30, 0x10)
/usr/local/go/src/runtime/panic.go:530 +0x90 fp=0x7ffeefbff430 sp=0x7ffeefbff418
runtime.(*mSpanList).insert(0x46c5c8, 0x604000)
/usr/local/go/src/runtime/mheap.go:933 +0x293 fp=0x7ffeefbff460 sp=0x7ffeefbff430
runtime.(*mheap).freeSpanLocked(0x46bdc0, 0x604000, 0x100, 0x0)
/usr/local/go/src/runtime/mheap.go:809 +0x4be fp=0x7ffeefbff4c8 sp=0x7ffeefbff460
runtime.(*mheap).grow(0x46bdc0, 0x8, 0x0)
/usr/local/go/src/runtime/mheap.go:675 +0x2a0 fp=0x7ffeefbff520 sp=0x7ffeefbff4c8
runtime.(*mheap).allocSpanLocked(0x46bdc0, 0x1, 0x0)
/usr/local/go/src/runtime/mheap.go:553 +0x4e3 fp=0x7ffeefbff578 sp=0x7ffeefbff520
runtime.(*mheap).alloc_m(0x46bdc0, 0x1, 0x15, 0x0)
/usr/local/go/src/runtime/mheap.go:437 +0x119 fp=0x7ffeefbff5a8 sp=0x7ffeefbff578
runtime.(*mheap).alloc.func1()
/usr/local/go/src/runtime/mheap.go:502 +0x41 fp=0x7ffeefbff5d8 sp=0x7ffeefbff5a8
runtime.systemstack(0x7ffeefbff5f8)
/usr/local/go/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff5e0 sp=0x7ffeefbff5d8
runtime.(*mheap).alloc(0x46bdc0, 0x1, 0x10000000015, 0x5a29f)
/usr/local/go/src/runtime/mheap.go:503 +0x63 fp=0x7ffeefbff628 sp=0x7ffeefbff5e0
runtime.(*mcentral).grow(0x46d9c0, 0x0)
/usr/local/go/src/runtime/mcentral.go:209 +0x93 fp=0x7ffeefbff690 sp=0x7ffeefbff628
runtime.(*mcentral).cacheSpan(0x46d9c0, 0x4679d8)
/usr/local/go/src/runtime/mcentral.go:89 +0x47d fp=0x7ffeefbff6d0 sp=0x7ffeefbff690
runtime.(*mcache).refill(0x600000, 0x15, 0x7ffeefbff738)
/usr/local/go/src/runtime/mcache.go:119 +0xcc fp=0x7ffeefbff708 sp=0x7ffeefbff6d0
runtime.mallocgc.func2()
/usr/local/go/src/runtime/malloc.go:642 +0x2b fp=0x7ffeefbff728 sp=0x7ffeefbff708
runtime.systemstack(0x7ffeefbff7c8)
/usr/local/go/src/runtime/asm_amd64.s:307 +0xab fp=0x7ffeefbff730 sp=0x7ffeefbff728
runtime.mallocgc(0x180, 0x2e8c00, 0x0, 0x800000000)
/usr/local/go/src/runtime/malloc.go:643 +0x869 fp=0x7ffeefbff808 sp=0x7ffeefbff730
runtime.newobject(0x2e8c00, 0x468050)
/usr/local/go/src/runtime/malloc.go:781 +0x42 fp=0x7ffeefbff830 sp=0x7ffeefbff808
runtime.malg(0x8000, 0x4682c0)
/usr/local/go/src/runtime/proc.go:2634 +0x27 fp=0x7ffeefbff868 sp=0x7ffeefbff830
runtime.mpreinit(0x468820)
/usr/local/go/src/runtime/os1_darwin.go:140 +0x1f fp=0x7ffeefbff880 sp=0x7ffeefbff868
runtime.mcommoninit(0x468820)
/usr/local/go/src/runtime/proc.go:494 +0x105 fp=0x7ffeefbff8c8 sp=0x7ffeefbff880
runtime.schedinit()
/usr/local/go/src/runtime/proc.go:434 +0x79 fp=0x7ffeefbff910 sp=0x7ffeefbff8c8
runtime.rt0_go(0x7ffeefbff948, 0x1, 0x7ffeefbff948, 0x0, 0x0, 0x1, 0x7ffeefbffa70, 0x0, 0x7ffeefbffa76, 0x7ffeefbffab8, ...)
/usr/local/go/src/runtime/asm_amd64.s:138 +0x132 fp=0x7ffeefbff918 sp=0x7ffeefbff910

@924060929
Copy link
Author

mac版本:10.13.2 (17C88)

@yeelone
Copy link

yeelone commented Jan 2, 2019

我也是遇到这个错误 .10.14

@woody2011
Copy link

同样的问题,在linux交叉编译下解决了

@Switcherman
Copy link

链接: https://pan.baidu.com/s/1StLJUwvM3_95YE8weZeYDw 提取码: tdvx
mac下重新编译的.下载后添加下可执行权限,直接运行即可.

@codeskyblue
Copy link

+1 直接mac上用go get 解决了

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

5 participants