Thread finding failed with -1 errno=9

Question

export LD_PRELOAD="/lib/libtcmalloc.so"

env HEAPCHECK=normal ./leak
WARNING: Perftools heap leak checker is active -- Performance may suffer
Thread finding failed with -1 errno=9
Could not find thread stacks. Will likely report false leak positives.
Bus error

Answer

Caused by using old version of gperftools

The following confirmed to be working

02adc8ceab39bbeac1f65e10bde577e1753094fa
0%