net/rpc: sendresponse panic:call of reflect.Value.Int on ptr #21553
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.8
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN="/root/go/bin"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/projects/U4/trunkMobile_FPS_0825/Server"
GORACE=""
GOROOT="/root/go"
GOTOOLDIR="/root/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build084345451=/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?
The server is runing well in the product environment when it panic the day before yesterday.I post an issue in the go Forum, someone told me to do race detection. while i see net/rpc.(*Server).sendResponse is thread safe.
Is there anything wrong with sendResponse in rpc package?But in my code ,reply is only a *int and did't do anything in function.So i have no idead with this panic.
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: