Print a backtrace when SRB2 crashes in a Unix-like environment.
All threads resolved!
All threads resolved!
- 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
Merge request reports
Activity
Filter activity
- Resolved by James R.
added 12 commits
-
279a381f...0df5d8ff - 8 commits from branch
STJr:next
- 05bf7b5e - Crash backtrace logging for NEWSIGNALHANDLER.
- 77817782 - Use file descriptors and ditch file streams, for now.
- 70c08d00 - Print the backtrace before showing the signal handler popup.
- f7b8ab32 - Make it more async-signal-safe
Toggle commit list-
279a381f...0df5d8ff - 8 commits from branch
added 130 commits
-
f7b8ab32...760e083c - 126 commits from branch
STJr:next
- 792b44a8 - Crash backtrace logging for NEWSIGNALHANDLER.
- 746f6367 - Use file descriptors and ditch file streams, for now.
- 0726bade - Print the backtrace before showing the signal handler popup.
- a4d6302e - Make it more async-signal-safe
Toggle commit list-
f7b8ab32...760e083c - 126 commits from branch
added 148 commits
-
a4d6302e...be496e1b - 144 commits from branch
STJr:next
- 4016a2e0 - Crash backtrace logging for NEWSIGNALHANDLER.
- 5108f1f5 - Use file descriptors and ditch file streams, for now.
- bdb28a06 - Print the backtrace before showing the signal handler popup.
- a0396d5e - Make it more async-signal-safe
Toggle commit list-
a4d6302e...be496e1b - 144 commits from branch
mentioned in commit 07650041
Maybe it's late to mention this, but the Makefile should be made to add
-rdynamic
toLDFLAGS
when compiling forUNIXCOMMON
platforms (where this backtrace printer would be used). Otherwise the backtrace doesn't have function names aside frommain
and external library functions, which makes it nearly useless.
Please register or sign in to reply