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

x/mobile/cmd/gobind: panic with go1.8.3 #25536

Closed
happyEgg opened this issue May 24, 2018 · 2 comments
Closed

x/mobile/cmd/gobind: panic with go1.8.3 #25536

happyEgg opened this issue May 24, 2018 · 2 comments
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile
Milestone

Comments

@happyEgg
Copy link

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go1.8.3

Does this issue reproduce with the latest release?

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/admin/workspace/golang"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/4j/wpx8_n613m9dc636mh072qfh0000gn/T/go-build754525254=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

What did you do?

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

What did you expect to see?

gomobile: /Users/admin/workspace/golang/bin/gobind -lang=go,objc -outdir=/var/folders/4j/wpx8_n613m9dc636mh072qfh0000gn/T/gomobile-work-738554164 -tags=ios bt failed: exit status 2
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x12989ba]

goroutine 1 [running]:
main.run()
/Users/admin/workspace/golang/src/golang.org/x/mobile/cmd/gobind/main.go:145 +0x98a
main.main()
/Users/admin/workspace/golang/src/golang.org/x/mobile/cmd/gobind/main.go:45 +0x27

What did you see instead?

@happyEgg happyEgg changed the title gomobile gobind error gomobile gobind error,unsupport go1.8.3 May 24, 2018
@FiloSottile FiloSottile changed the title gomobile gobind error,unsupport go1.8.3 x/mobile/cmd/gobind: panic with go1.8.3 May 24, 2018
@gopherbot gopherbot added this to the Unreleased milestone May 24, 2018
@gopherbot gopherbot added the mobile Android, iOS, and x/mobile label May 24, 2018
@bcmills
Copy link
Contributor

bcmills commented May 24, 2018

Note that go1.8.3 is technically unsupported (because go1.10 is available).

https://golang.org/doc/devel/release.html#policy

@happyEgg
Copy link
Author

ok,thank for you

@golang golang locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile
Projects
None yet
Development

No branches or pull requests

3 participants