Enabling User Coredumps on Linux


Turn on coredumps.

ulimit -c unlimited

Enable malloc check.

export MALLOC_CHECK_=3

Simple addtion of pid to core files.

sudo sh -c 'echo 1 > /proc/sys/kernel/core_uses_pid'

Fancy formatting of core files.

man core
# look for /proc/sys/kernel/core_pattern patterns