Basic backtrace ability

On platforms with the backtrace/backtrace_symbols_fd interface, Tor
can now dump stack traces on assertion failure.  By default, I log
them to DataDir/stack_dump and to stderr.
This commit is contained in:
Nick Mathewson
2013-07-19 14:09:58 -04:00
parent f6d8bc9389
commit 063bea58bc
8 changed files with 207 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
o Major features:
- On some platforms (currently, recent OSX versions, and glibc-based
platforms that support the ELF format), Tor can now dump
stack traces when an assertion fails. By default, traces are dumped
to stderr, and to a stack_dump file in the DataDirectory.