From LedHed's Wiki
What is a Backtrace (Also known as a Stack Trace).
HowTo
gdb /path/to/binary
run the Binary as needed
when the binary crashed run 'bt'
Example
gdb /usr/local/bin/dspam
dspam --daemon --debug
Wait for the app to die.
bt