Debugging mutt

Published: Wednesday, Dec 26, 2007 Last modified: Thursday, Nov 14, 2024

Subscribe to mutt-dev:

http://www.mutt.org/mail-lists.html

Get sources:

cvs -q -d:pserver:anonymous@dev.mutt.org:/cvsroots co mutt

You will need those openssl libraries in your search path.

apt-get build-dep mutt

In source directory:

./prepare --enable-imap --with-ssl

Build with a make:

make

Enable cores

ulimit -c unlimited

Once the core dumps. Check it out with gdb:

gdb ./mutt core

To see where things went wrong, run:

backtrace

And copy and paste somewhere.