Go: 「致命的なエラー:実行時の実行中に予期しないシグナルが発生しました」-MacOS 10.12でのビルド中(一時的)

作成日 2016年09月26日  ·  1コメント  ·  ソース: golang/go

Sau Sheong Chang(Manning、2016)による「GoWebProgramming」の本のチュートリアルコードをいくつか試していますが、 go build 1回実行しようとすると、「致命的なエラー:実行時の実行中に予期しない信号」が発生しました。 1分後、何も試さずに2回目、それは機能しました。 私が作成していたコードはここにあり

繰り返しますが、これは一度だけ発生しました。 その後のgo build実行は、何も変更せずに期待どおりに機能しました。 残念ながら、再現できなかったため、以下のスタックトレースのカットアンドペースト以外に提供する情報は事実上ありません。 同じバグのように見える問題が開かが、そのスレッドは、実際のハードウェア(はい:2013 MacBook Pro)で発生した場合は、新しい問題を開く必要があることを示していました。

go versiongo version go1.6.2 darwin/amd64
go env

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/bart/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.6.2/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.6.2/libexec/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"
bart@Barts-MBP:chitchat (master*)$ go build
# github.com/sausheong/gwp/Chapter_2_Go_ChitChat/chitchat/data
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x7b6c76bc73b0 pc=0xf0eb]

runtime stack:
runtime.throw(0x4971e0, 0x2a)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:547 +0x90
runtime.sigpanic()
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/sigpanic_unix.go:12 +0x5a
runtime.unlock(0x984540)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/lock_sema.go:107 +0x14b
runtime.(*mheap).alloc_m(0x984540, 0x1, 0x9, 0xb92fa0)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/mheap.go:492 +0x314
runtime.(*mheap).alloc.func1()
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/mheap.go:502 +0x41
runtime.systemstack(0x7fff5fbff218)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:307 +0xab
runtime.(*mheap).alloc(0x984540, 0x1, 0x10000000009, 0xed8f)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/mheap.go:503 +0x63
runtime.(*mcentral).grow(0x985c00, 0x0)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/mcentral.go:209 +0x93
runtime.(*mcentral).cacheSpan(0x985c00, 0xb54508)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/mcentral.go:89 +0x47d
runtime.(*mcache).refill(0xaf64b0, 0x9, 0xb54508)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/mcache.go:119 +0xcc
runtime.mallocgc.func2()
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/malloc.go:642 +0x2b
runtime.systemstack(0x975d00)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:291 +0x79
runtime.mstart()
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/proc.go:1051

goroutine 1 [running]:
runtime.systemstack_switch()
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:245 fp=0xc82084cfe0 sp=0xc82084cfd8
runtime.mallocgc(0x80, 0x405340, 0xc800000000, 0x11029)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/malloc.go:643 +0x869 fp=0xc82084d0b8 sp=0xc82084cfe0
runtime.newarray(0x405340, 0x4, 0x0)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/malloc.go:798 +0xc9 fp=0xc82084d0f8 sp=0xc82084d0b8
runtime.growslice(0x3b0120, 0xc820ac9740, 0x2, 0x2, 0x3, 0x0, 0x0, 0x0)
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/slice.go:100 +0x2c1 fp=0xc82084d168 sp=0xc82084d0f8
cmd/compile/internal/gc.livenessepilogue(0xc820b028c0)
        /usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/plive.go:1289 +0x3323 fp=0xc82084d708 sp=0xc82084d168
cmd/compile/internal/gc.liveness(0xc820518b40, 0xc820ba4360, 0xc820b17480, 0xc820b17500)
        /usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/plive.go:1794 +0x334 fp=0xc82084d7e8 sp=0xc82084d708
cmd/compile/internal/gc.compile(0xc820518b40)
        /usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/pgen.go:541 +0xdf2 fp=0xc82084da58 sp=0xc82084d7e8
cmd/compile/internal/gc.funccompile(0xc820518b40)
        /usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/dcl.go:1450 +0x1c0 fp=0xc82084dad0 sp=0xc82084da58
cmd/compile/internal/gc.Main()
        /usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/lex.go:472 +0x2116 fp=0xc82084ddf0 sp=0xc82084dad0
cmd/compile/internal/amd64.Main()
        /usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/amd64/galign.go:127 +0x58d fp=0xc82084de58 sp=0xc82084ddf0
main.main()
        /usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/main.go:32 +0x395 fp=0xc82084df30 sp=0xc82084de58
runtime.main()
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/proc.go:188 +0x2b0 fp=0xc82084df80 sp=0xc82084df30
runtime.goexit()
        /usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82084df88 sp=0xc82084df80
FrozenDueToAge OS-Darwin

最も参考になるコメント

Go1.6.2はmacOS10.12をサポートしていません。Go1.7にアップグレードしてください。

2016年9月26日16:34、「BartGrantham」 [email protected]は次のように書いています。

「GoWebProgramming」の本のチュートリアルコードを作成しています
Sau Sheong Chang(Manning、2016)によって、「致命的なエラー:予期しない信号」が発生しました
実行時の実行中」を実行しようとすると、ビルドを1回実行してから、
何も試さずに1分後に2回目、それは機能しました。 コード
私が建てていたのはここです
https://github.com/sausheong/gwp/tree/master/Chapter_2_Go_ChitChat/chitchat

繰り返しますが、これは一度だけ発生しました。 その後のgobuild_withoutの実行
何かを変更する_期待どおりに機能しました。 残念ながら私は事実上
以下のスタックトレースのカットアンドペースト以外に提供する情報
再現できなかったからです。 問題が開かれているのを見ました
https://github.com/golang/go/issues/11792と思われるもの
同じバグですが、そのスレッドは、実際のハードウェアに表示された場合、
(はい:2013 MacBook Pro)新しい号を開く必要があります。

goバージョン:goバージョンgo1.6.2 darwin / amd64
envに行く:

GOARCH = "amd64"
GOBIN = ""
GOEXE = ""
GOHOSTARCH = "amd64"
GOHOSTOS = "darwin"
GOOS = "darwin"
GOPATH = "/ Users / bart / go"
GORACE = ""
GOROOT = "/ usr / local / Cellar / go / 1.6.2 / libexec"
GOTOOLDIR = "/ usr / local / Cellar / go / 1.6.2 / libexec / pkg / tool / darwin_amd64"
GO15VENDOREXPERIMENT = "1"
CC = "clang"
GOGCCFLAGS = "-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length = 0 -fno-common"
CXX = "clang ++"
CGO_ENABLED = "1"

bart @ Barts-MBP :chitchat(master *)$ go build

github.com/sausheong/gwp/Chapter_2_Go_ChitChat/chitchat/data

致命的なエラー:実行時の実行中に予期しないシグナルが発生する
[信号0xbコード= 0x1addr = 0x7b6c76bc73b0 pc = 0xf0eb]

ランタイムスタック:
runtime.throw(0x4971e0、0x2a)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:547 + 0x90
runtime.sigpanic()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/sigpanic_unix.go:12 + 0x5a
runtime.unlock(0x984540)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/lock_sema.go:107 + 0x14b
ランタイム。(_ mheap).alloc_m(0x984540、0x1、0x9、0xb92fa0)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mheap.go:492 + 0x314
ランタイム。(_ mheap).alloc.func1()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mheap.go:502 + 0x41
runtime.systemstack(0x7fff5fbff218)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:307 + 0xab
ランタイム。(_ mheap).alloc(0x984540、0x1、0x10000000009、0xed8f)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mheap.go:503 + 0x63
ランタイム。(_ mcentral).grow(0x985c00、0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mcentral.go:209 + 0x93
ランタイム。(_ mcentral).cacheSpan(0x985c00、0xb54508)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mcentral.go:89 + 0x47d
ランタイム。(_ mcache).refill(0xaf64b0、0x9、0xb54508)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mcache.go:119 + 0xcc
runtime.mallocgc.func2()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/malloc.go:642 + 0x2b
runtime.systemstack(0x975d00)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:291 + 0x79
runtime.mstart()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/proc.go:1051

ゴルーチン1 [実行中]:
runtime.systemstack_switch()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:245 fp = 0xc82084cfe0 sp = 0xc82084cfd8
runtime.mallocgc(0x80、0x405340、0xc800000000、0x11029)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/malloc.go:643 + 0x869 fp = 0xc82084d0b8 sp = 0xc82084cfe0
runtime.newarray(0x405340、0x4、0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/malloc.go:798 + 0xc9 fp = 0xc82084d0f8 sp = 0xc82084d0b8
runtime.growslice(0x3b0120、0xc820ac9740、0x2、0x2、0x3、0x0、0x0、0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/slice.go:100 + 0x2c1 fp = 0xc82084d168 sp = 0xc82084d0f8
cmd / compile / internal / gc.livenessepilogue(0xc820b028c0)
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/plive.go:1289 + 0x3323 fp = 0xc82084d708 sp = 0xc82084d168
cmd / compile / internal / gc.liveness(0xc820518b40、0xc820ba4360、0xc820b17480、0xc820b17500)
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/plive.go:1794 + 0x334 fp = 0xc82084d7e8 sp = 0xc82084d708
cmd / compile / internal / gc.compile(0xc820518b40)
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/pgen.go:541 + 0xdf2 fp = 0xc82084da58 sp = 0xc82084d7e8
cmd / compile / internal / gc.funccompile(0xc820518b40)
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/dcl.go:1450 + 0x1c0 fp = 0xc82084dad0 sp = 0xc82084da58
cmd / compile / internal / gc.Main()
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/lex.go:472 + 0x2116 fp = 0xc82084ddf0 sp = 0xc82084dad0
cmd / compile / internal / amd64.Main()
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/amd64/galign.go:127 + 0x58d fp = 0xc82084de58 sp = 0xc82084ddf0
main.main()
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/main.go:32 + 0x395 fp = 0xc82084df30 sp = 0xc82084de58
runtime.main()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/proc.go:188 + 0x2b0 fp = 0xc82084df80 sp = 0xc82084df30
runtime.goexit()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:1998 + 0x1 fp = 0xc82084df88 sp = 0xc82084df80


このスレッドにサブスクライブしているため、これを受け取っています。
このメールに直接返信し、GitHubで表示してください
https://github.com/golang/go/issues/17241 、またはスレッドをミュートします
https://github.com/notifications/unsubscribe-auth/AAIR5C2-SKYNt3CqpAEFbHLlLyOY1Ja6ks5quCxAgaJpZM4KG9tL

>すべてのコメント

Go1.6.2はmacOS10.12をサポートしていません。Go1.7にアップグレードしてください。

2016年9月26日16:34、「BartGrantham」 [email protected]は次のように書いています。

「GoWebProgramming」の本のチュートリアルコードを作成しています
Sau Sheong Chang(Manning、2016)によって、「致命的なエラー:予期しない信号」が発生しました
実行時の実行中」を実行しようとすると、ビルドを1回実行してから、
何も試さずに1分後に2回目、それは機能しました。 コード
私が建てていたのはここです
https://github.com/sausheong/gwp/tree/master/Chapter_2_Go_ChitChat/chitchat

繰り返しますが、これは一度だけ発生しました。 その後のgobuild_withoutの実行
何かを変更する_期待どおりに機能しました。 残念ながら私は事実上
以下のスタックトレースのカットアンドペースト以外に提供する情報
再現できなかったからです。 問題が開かれているのを見ました
https://github.com/golang/go/issues/11792と思われるもの
同じバグですが、そのスレッドは、実際のハードウェアに表示された場合、
(はい:2013 MacBook Pro)新しい号を開く必要があります。

goバージョン:goバージョンgo1.6.2 darwin / amd64
envに行く:

GOARCH = "amd64"
GOBIN = ""
GOEXE = ""
GOHOSTARCH = "amd64"
GOHOSTOS = "darwin"
GOOS = "darwin"
GOPATH = "/ Users / bart / go"
GORACE = ""
GOROOT = "/ usr / local / Cellar / go / 1.6.2 / libexec"
GOTOOLDIR = "/ usr / local / Cellar / go / 1.6.2 / libexec / pkg / tool / darwin_amd64"
GO15VENDOREXPERIMENT = "1"
CC = "clang"
GOGCCFLAGS = "-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length = 0 -fno-common"
CXX = "clang ++"
CGO_ENABLED = "1"

bart @ Barts-MBP :chitchat(master *)$ go build

github.com/sausheong/gwp/Chapter_2_Go_ChitChat/chitchat/data

致命的なエラー:実行時の実行中に予期しないシグナルが発生する
[信号0xbコード= 0x1addr = 0x7b6c76bc73b0 pc = 0xf0eb]

ランタイムスタック:
runtime.throw(0x4971e0、0x2a)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:547 + 0x90
runtime.sigpanic()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/sigpanic_unix.go:12 + 0x5a
runtime.unlock(0x984540)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/lock_sema.go:107 + 0x14b
ランタイム。(_ mheap).alloc_m(0x984540、0x1、0x9、0xb92fa0)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mheap.go:492 + 0x314
ランタイム。(_ mheap).alloc.func1()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mheap.go:502 + 0x41
runtime.systemstack(0x7fff5fbff218)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:307 + 0xab
ランタイム。(_ mheap).alloc(0x984540、0x1、0x10000000009、0xed8f)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mheap.go:503 + 0x63
ランタイム。(_ mcentral).grow(0x985c00、0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mcentral.go:209 + 0x93
ランタイム。(_ mcentral).cacheSpan(0x985c00、0xb54508)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mcentral.go:89 + 0x47d
ランタイム。(_ mcache).refill(0xaf64b0、0x9、0xb54508)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/mcache.go:119 + 0xcc
runtime.mallocgc.func2()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/malloc.go:642 + 0x2b
runtime.systemstack(0x975d00)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:291 + 0x79
runtime.mstart()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/proc.go:1051

ゴルーチン1 [実行中]:
runtime.systemstack_switch()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:245 fp = 0xc82084cfe0 sp = 0xc82084cfd8
runtime.mallocgc(0x80、0x405340、0xc800000000、0x11029)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/malloc.go:643 + 0x869 fp = 0xc82084d0b8 sp = 0xc82084cfe0
runtime.newarray(0x405340、0x4、0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/malloc.go:798 + 0xc9 fp = 0xc82084d0f8 sp = 0xc82084d0b8
runtime.growslice(0x3b0120、0xc820ac9740、0x2、0x2、0x3、0x0、0x0、0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/slice.go:100 + 0x2c1 fp = 0xc82084d168 sp = 0xc82084d0f8
cmd / compile / internal / gc.livenessepilogue(0xc820b028c0)
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/plive.go:1289 + 0x3323 fp = 0xc82084d708 sp = 0xc82084d168
cmd / compile / internal / gc.liveness(0xc820518b40、0xc820ba4360、0xc820b17480、0xc820b17500)
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/plive.go:1794 + 0x334 fp = 0xc82084d7e8 sp = 0xc82084d708
cmd / compile / internal / gc.compile(0xc820518b40)
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/pgen.go:541 + 0xdf2 fp = 0xc82084da58 sp = 0xc82084d7e8
cmd / compile / internal / gc.funccompile(0xc820518b40)
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/dcl.go:1450 + 0x1c0 fp = 0xc82084dad0 sp = 0xc82084da58
cmd / compile / internal / gc.Main()
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/gc/lex.go:472 + 0x2116 fp = 0xc82084ddf0 sp = 0xc82084dad0
cmd / compile / internal / amd64.Main()
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/internal/amd64/galign.go:127 + 0x58d fp = 0xc82084de58 sp = 0xc82084ddf0
main.main()
/usr/local/Cellar/go/1.6.2/libexec/src/cmd/compile/main.go:32 + 0x395 fp = 0xc82084df30 sp = 0xc82084de58
runtime.main()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/proc.go:188 + 0x2b0 fp = 0xc82084df80 sp = 0xc82084df30
runtime.goexit()
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/asm_amd64.s:1998 + 0x1 fp = 0xc82084df88 sp = 0xc82084df80


このスレッドにサブスクライブしているため、これを受け取っています。
このメールに直接返信し、GitHubで表示してください
https://github.com/golang/go/issues/17241 、またはスレッドをミュートします
https://github.com/notifications/unsubscribe-auth/AAIR5C2-SKYNt3CqpAEFbHLlLyOY1Ja6ks5quCxAgaJpZM4KG9tL

このページは役に立ちましたか?
0 / 5 - 0 評価