Debugging core dumps
Published: Wednesday, Dec 26, 2007 Last modified: Monday, Dec 9, 2024
http://bytesex.org/gdb.html Enable core dumps:
ulimit -c unlimited
The next time some application (e.g. mutt) crashes with a segfault you’ll see that the message “Segmentation fault” changed to “Segmentation fault (core dumped)” and you’ll find a file named “core”. the run gdb with the example executable mutt like:
gdb mutt core