Print a backtrace when SRB2 crashes in a Unix-like environment.
- Appends to
srb2home/crash-log.txt
. - Prints a stack trace into the console.
- Creates a signal handler on the child process created by
I_Fork()
so it can print the backtrace when it crashes.
Edited by Golden