[go-nuts] Re: call of reflect.Value.Int on ptr

2017-08-20 Thread qiaogongxun01
yes,all code were compiled with the same version.In my test , it can't be happend anyway with same code.Reply is *int and do nothing in function RPC1,it's very simple... 在 2017年8月21日星期一 UTC+8上午1:15:06,Tamás Gulácsi写道: > > Are both versions compiled with the exact same version ofGo? -- You rece

[go-nuts] call of reflect.Value.Int on ptr

2017-08-20 Thread qiaogongxun01
On centos 6.5 , go version 1.8, stack: panic: reflect: call of reflect.Value.Int on ptr Value [recovered] panic: reflect: call of reflect.Value.Int on ptr Value goroutine 52598456 [running]: encoding/gob.catchError(0xc4209e10d0) /root/go/src/encoding/gob/error.go:38 +0x95 panic(0xc40860, 0xc42606a