I think the easiest way is about having a core dump telling all its post-mortem secrets...
Rebuild it all from scratch, with:
./configure --enable-debug && make
Enable core dumps in a shell session:
ulimit -c unlimited
From the same shell comman line, run the program until it crashes badly. You'll see something like this in the output when it happens:
Segmentation fault (core dumped)
Locate the dumped core file. Depending on your environmental settings it might be just named core or something like core.1234 (1234 is the process-id number of the crashing program) located on the last directory the program was current.
I think the easiest way is about having a core dump telling all its post-mortem secrets...
core
or something likecore.1234
(1234 is the process-id number of the crashing program) located on the last directory the program was current.gdb
at the gdb prompt just enter:
or
and send the whole output to me.
HTH
--
rncbc aka Rui Nuno Capela