interface/debug: Backtrace logging on Linux
interface/debug: Record exception backtraces and allow logging them using log_exception_backtrace()