Debugging

Create a core dump file

ulimit -c unlimited

Read core dump file

gdb /path/to/application /path/to/corefile