Fix for backtrace deadlock and GLIBC