Wicked Error with (Thankfully) Simple Solution
This morning I got an error that looked like this:
*** glibc detected *** tpClient: double free or corruption (fasttop): 0x0...b0 ***
and after a bit of googling, it appears that this problem is in the C++ runtime checking on the calls to free(). It seems that the default behavior is to check the argument to free() to see if it's a double-free. Sounds nice, in theory, but if we're hammering the system, it seems like this might not be a good thing to do.
Thankfully, the solution is easy - don't check. To turn it off, simply say:
export MALLOC_CHECK_=0
and the checks will not be done. Good enough for me. I'm still going to try out the TPMalloc from google, but that's a previous post. Still don't have it built for x86_64 yet.