Following is the definition of backtrace by GNU,
“A backtrace is a list of the function calls that are currently active in a thread.”
We can examine backtrace of a process by external debugger like gdb. We have following functions to get backtrace of process. Following is the code to print back trace if segmentation fault occurs.
int backtrace (void **buffer, int size):
This ...
Full article