Ebiten: Terminated with a message `signal: killed` with Xcode 8.3 (8E162)

Created on 28 Mar 2017  路  9Comments  路  Source: hajimehoshi/ebiten

After update to macOS 10.12.4 (16E195) and Xcode 8.3 (8E162) this morning, I'm geting the following error:

go run main.go                                             
signal: killed

I deleted the package and reinstalled with:

go get -u github.com/hajimehoshi/ebiten

But the problem persists.

go version go1.8 darwin/amd64

bug macos

Most helpful comment

There seems no workaround that we can do in Ebiten. -ldflags -s would work when building as that issue comment says. Let me close this issue.

All 9 comments

Thank you, I'm looking into this.

I'm now installing Xcode 8.3. macOS 10.12.4 hasn't come to my machine yet.

What do you see if you do go run -x main.go?

What is in main.go? Is it possible to create a minimum case to reproduce this?

Reproduced with examples/blocks with Xcode 8.3.

Ugh, this bug can be reproduced without Ebiten!

package main

import "C"

func main() {

}

There seems no workaround that we can do in Ebiten. -ldflags -s would work when building as that issue comment says. Let me close this issue.

@hajimehoshi
I get same issue on mac os sierra.

go run -x -tags=example  main.go
WORK=/var/folders/bs/5phdhg9500gcd_gzs60rld85g4pt1p/T/go-build267097902
mkdir -p $WORK/command-line-arguments/_obj/
mkdir -p $WORK/command-line-arguments/_obj/exe/
cd /Users/medyagh/go/src/github.com/hajimehoshi/ebiten/examples/airship
/usr/local/Cellar/go/1.8/libexec/pkg/tool/darwin_amd64/compile -o $WORK/command-line-arguments.a -trimpath $WORK -p main -complete -buildid 1ba29097a06343e209c63eef874c06c2b7517917 -D _/Users/medyagh/go/src/github.com/hajimehoshi/ebiten/examples/airship -I $WORK -I /Users/medyagh/go/pkg/darwin_amd64 -pack ./main.go
cd .
/usr/local/Cellar/go/1.8/libexec/pkg/tool/darwin_amd64/link -o $WORK/command-line-arguments/_obj/exe/main -L $WORK -L /Users/medyagh/go/pkg/darwin_amd64 -w -extld=clang -buildmode=exe -buildid=1ba29097a06343e209c63eef874c06c2b7517917 $WORK/command-line-arguments.a
$WORK/command-line-arguments/_obj/exe/main
signal: killed

Now updating Go to 1.8.1 would solve the problem.

Was this page helpful?
0 / 5 - 0 ratings