runtime: fatal error: Go pointer stored into non-Go memory #23435
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
release-blocker
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.10beta2 freebsd/amd64
Does this issue reproduce with the latest release?
i set GODEBUG env variable to
GODEBUG=cgocheck=2
it works with 1.9.2 without error
but 1.10beta2 gives the error below
if i unset GODEBUG variable it works without error
What operating system and processor architecture are you using (
go env
)?$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/sternix/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="freebsd"
GOOS="freebsd"
GOPATH="/home/sternix/go"
GORACE=""
GOROOT="/opt/go/1_10b2/go"
GOTMPDIR=""
GOTOOLDIR="/opt/go/1_10b2/go/pkg/tool/freebsd_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build169993598=/tmp/go-build -gno-record-gcc-switches"
What did you do?
$ go get -u golang.org/x/crypto/bcrypt
What did you expect to see?
Install without errors
What did you see instead?
The text was updated successfully, but these errors were encountered: