How can I get a backtrace on segfault?

Tobias Pankrath tobias at pankrath.net
Wed Sep 14 08:52:21 PDT 2011


> 
> Actually. wait. I wasn't thinking right. You never get a backtrace from 
a
> segfault. There _is_ a bug on 64-bit Linux which makes it so that
> backtraces don't work, but you don't get a stacktrace from a segfault
> regardless. The way to handle that is to get a core dump and use gdb on
> it. 

Works fine for me so far. Thank you.



More information about the Digitalmars-d-learn mailing list