Closed viric closed 8 years ago
As it seems common for assertions to kill cjdroute, it may be nice to print the backtrace to the log, so common reports would include a lot more detail of the crash conditions.
For glibc systems, this could be called at assertion failed time: http://www.gnu.org/software/libc/manual/html_node/Backtraces.html
Added in cjdelisle/cjdns#778
As it seems common for assertions to kill cjdroute, it may be nice to print the backtrace to the log, so common reports would include a lot more detail of the crash conditions.
For glibc systems, this could be called at assertion failed time: http://www.gnu.org/software/libc/manual/html_node/Backtraces.html