You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prior to this i got error "plugin was built with a different version of xyz package" and plugin failed to load, then i rebuilt the plugin and getting this error.
i should mention that there are another 3 plugins which are being loaded in the same manner.
The text was updated successfully, but these errors were encountered:
vimalk78
changed the title
plugin: "unexpected fault address 0x0" error on invoking an exported function
plugin: random "unexpected fault address 0x0" error on invoking an exported function
Apr 3, 2017
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?$ go version
go version go1.8 linux/amd64
What operating system and processor architecture are you using (
go env
)?$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/vimal/gowork"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build007409990=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
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?
created a plugin with
go build -buildmode=plugin
opened the plugin a go program with
plugin.Open
searched for a exported function with
plugin.Loopup
and invoked itWhat did you expect to see?
plugin loaded successfully
What did you see instead?
this happens randomly.
prior to this i got error "plugin was built with a different version of xyz package" and plugin failed to load, then i rebuilt the plugin and getting this error.
i should mention that there are another 3 plugins which are being loaded in the same manner.
The text was updated successfully, but these errors were encountered: