Only print a backtrace the first time the signal handler is called.
99804eb
This avoids infinite recursion if the printing causes another signal.