I'm seeing this error:
*** glibc detected *** perl: double free or corruption (fasttop): 0x0000000003c1daa0 ***
The error is followed by a backtrace.
I know what glibc is, I know what Perl is, I know what double-freeing is, but what does fasttop mean?
Using the source:
Another simple check: make sure the top of the bin is not the record we are going to add (i.e., double free).
So this is one of several locations where double free situations are detected. It affects so-called fastbin chunks, which in turn depends on the size of the chunk you freed. In any case, the core of the statement is the “double free”, and the exact way this double free was diagnosed isn't of much importance to your application.
Also see the question *** glibc detected *** double free or corruption (fasttop): Answers there suggest using valgrind to locate the problem, which sounds reasonable, particularly if you can reproduce the issue reasonably well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With