more backtrace hooks in the common library code