common: dump backtrace on signals