Hi Ian,

Apologies for not being very descriptive with the issue.I will try to be
more clear from next time.
Can you please clarify the following that you had mentioned in the previous
conversation of this email:

> 3)Is it possible that one Go routine has already freed up the address
that the other Go routine is trying to free  and that is causing this
'fatal error: bin/main': double free or corruption (fasttop)'

Yes, that is possible.  It won't happen with the code I see above but
I have no idea what the rest of your code is doing.

How can it not happen with this particular code mentioned ?I did not
understand this point.
Can you please clarify this point ?

Thans,
Nitish

On Fri, Jul 12, 2019 at 11:42 PM Ian Lance Taylor <i...@golang.org> wrote:

> On Fri, Jul 12, 2019 at 10:53 AM Nitish Saboo <nitish.sabo...@gmail.com>
> wrote:
> >
> > Thanks for pointing it out.I am a beginner with Go and  CGO and have
> never worked on corruption issues with C.
> > I am familiar with python and Java.So just seeking help from the experts
> to find the pain points that should be looked into.
> > Hence, asking questions to Ian as in where all I should look for the
> corruption issues.
>
> From my perspective, it's kind of like you have a broken clock, and
> you are showing us a photo of the clock face, and asking how to fix
> the clock.  We don't know.  The clock face looks OK.  The problem is
> most likely inside the clock, but we can't see that.  Only you can see
> that.
>
> Ian
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CALjMrq68x%3D%3DQ2eBJj%3D7Amx_-nfckSt-mnNmqauP0nrGUO7YD8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to