Help us understand the problem. What is going on with this article?

go コマンドが実行できない(MSpanList_Insert エラー)

More than 1 year has passed since last update.

go コマンド実行時に「fatal error: MSpanList_Insert」が発生する

私の実行環境

  • go:1.6.0
  • macOS:10.13.5
  • goのバージョン管理:goenv

エラー内容の一部

failed MSpanList_Insert 0x9a1000 0x9fefaa79cb3c 0x0 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.throw(0x637260, 0x10)
    /usr/local/go/src/runtime/panic.go:530 +0x90 fp=0x7ffeefbff1c0 sp=0x7ffeefbff1a8

...

runtime.schedinit()
    /usr/local/go/src/runtime/proc.go:434 +0x79 fp=0x7ffeefbff6a0 sp=0x7ffeefbff658
runtime.rt0_go(0x7ffeefbff6d8, 0x3, 0x7ffeefbff6d8, 0x0, 0x0, 0x3, 0x7ffeefbff858, 0x7ffeefbff85b, 0x7ffeefbff863, 0x0, ...)
    /usr/local/go/src/runtime/asm_amd64.s:138 +0x132 fp=0x7ffeefbff6a8 sp=0x7ffeefbff6a0

解決方法

goのバージョンをあげる
エラー内容でググるとすぐ出てきますが、goにバグがあるようです。
バージョンをあげると解決しました。
これから触っていこうという感じなので、ひとまずバージョンをあげて対応しました。
私の場合、 1.10.3 にあげて動作しました。

https://github.com/golang/go/issues/17335

以上。

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away