Re: [go-nuts] strconv.ParseFloat panic

2020-11-09 Thread blade...@gmail.com
the string > input to strconv.ParseFloat is being constructed. > > On Fri, 2020-11-06 at 01:10 -0800, blade...@gmail.com wrote: > > go version is 1.15 , cross compile on darwin and run on linux, i > > will try to run with race deector > > > > > > > > 在2020年11月6日星

Re: [go-nuts] strconv.ParseFloat panic

2020-11-06 Thread blade...@gmail.com
using Cgo? Have you run with the race detector? Also, what version of > Go are you using? > > On Fri, 2020-11-06 at 00:00 -0800, blade...@gmail.com wrote: > > i check my code, and strconv.ParseFloat(s, 64), s is a string, it is > > correct, but after run my program for a while,

[go-nuts] strconv.ParseFloat panic

2020-11-06 Thread blade...@gmail.com
i check my code, and strconv.ParseFloat(s, 64), s is a string, it is correct, but after run my program for a while, it's panic and report some output info. i cant't find why , anyone can help me output infor: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGS

[go-nuts] directory name and module name not same, go tool pprof, list function faild

2020-07-29 Thread blade...@gmail.com
hi, i create a project, directory name and module name not same, and i profile it , use list command to print code and profile, it tips me not find the file, how to make it works? macbookpro:tejia_analysis fredlee$ go tool pprof http://ip:6065/debug/pprof/heap Fetching profile over HTTP fro