Where did all the coredumps go?

Written by Walter

Was trying to use gdb (has been a while).
Here is a good gdb tutorial:
gdb tutorial

A good trick to remember is this:
ulimit -c unlimited

This will cause the good ol' coredump files to be created again. By default in newer linux distributions this is set to 0. Meaning if an app crashes no core file is dumped. Saving regular users some diskspace but when debugging code you have to set it back to unlimited so you can use the core file to see what went wrong :).


Back to archive