http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54761
--- Comment #5 from Uros Bizjak <ubizjak at gmail dot com> 2012-10-01 19:45:30 UTC --- If libbacktrace is compiled with -fasynchronous-unwind-tables, then btest works OK. Also, when libbacktrace is compiled with this flag, log and runtime/pprof does not fail anymore.