Skip to content

Capstan crashes after a fresh capstan install #171

Description

@ailisp

In Mac OS X 10.13.4, download and run capstan but capstan directly crashes. Any clue? Thank you!

Bos-MacBook-Pro:vce byao$ curl https://raw.githubusercontent.com/cloudius-systems/capstan/master/scripts/download | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   590  100   590    0     0   3987      0 --:--:-- --:--:-- --:--:--  4013
Downloading Capstan binary: http://osv.capstan.s3.amazonaws.com/capstan/v0.1.8/darwin_amd64/capstan
######################################################################## 100.0%
Bos-MacBook-Pro:vce byao$ capstan
failed MSpanList_Insert 0x660000 0x31c6c322a4b3a 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.throw(0x5d817b)
	/home/penberg/golang/src/pkg/runtime/panic.c:520 +0x69
runtime.MSpanList_Insert(0x5f13c8, 0x660000)
	/home/penberg/golang/src/pkg/runtime/mheap.c:618 +0x8a
MHeap_FreeLocked(0x5ed3c0, 0x660000)
	/home/penberg/golang/src/pkg/runtime/mheap.c:447 +0x1a6
MHeap_Grow(0x5ed3c0, 0x10)
	/home/penberg/golang/src/pkg/runtime/mheap.c:341 +0x1ae
MHeap_AllocLocked(0x5ed3c0, 0x1, 0x2)
	/home/penberg/golang/src/pkg/runtime/mheap.c:222 +0x379
runtime.MHeap_Alloc(0x5ed3c0, 0x1, 0x10000000002)
	/home/penberg/golang/src/pkg/runtime/mheap.c:178 +0x7b
MCentral_Grow(0x5f57d8)
	/home/penberg/golang/src/pkg/runtime/mcentral.c:265 +0x89
runtime.MCentral_CacheSpan(0x5f57d8)
	/home/penberg/golang/src/pkg/runtime/mcentral.c:84 +0x14b
runtime.MCache_Refill(0x65c000, 0x2)
	/home/penberg/golang/src/pkg/runtime/mcache.c:78 +0x119
runtime.mallocgc(0x10, 0x0, 0x10)
	/home/penberg/golang/src/pkg/runtime/malloc.goc:152 +0x30e
runtime.malloc(0x10)
	/home/penberg/golang/src/pkg/runtime/malloc.goc:264 +0x39
runtime.mallocinit()
	/home/penberg/golang/src/pkg/runtime/malloc.goc:575 +0x2a5
runtime.schedinit()
	/home/penberg/golang/src/pkg/runtime/proc.c:150 +0x36
_rt0_go()
	/home/penberg/golang/src/pkg/runtime/asm_amd64.s:91 +0x114

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions