core dumps

Enable core file dumps for third party application on Red Hat 6 Server (In Red Hat Enterprise Linux core file creation is disabled by default.)

Ensure that the system is set up to generate application cores by removing the core limits:

# ulimit -S -c unlimited > /dev/null 2>&1

Stop the abrtd deamon (core dumps for Red Hat applications):

  # service abrtd stop
  # service abrt-ccpp stop

For Red Hat 7 and later:

# systemctl stop abrtd.service
# systemctl stop abrt-ccpp.service

Core files are created in the application working directory.

Run core with gdb

# gdb <application> -c core.<pid>
# gdb where