Generating crash reports with abrt

From PDP/Grid Wiki
Revision as of 11:03, 5 October 2015 by Dennisvd@nikhef.nl (talk | contribs) (Created page with "CentOS includes Red Hat's automatic bug reporting tool (ABRT) which should catch programs and services crashing due to a segmentation violation. This is very useful for insta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

CentOS includes Red Hat's automatic bug reporting tool (ABRT) which should catch programs and services crashing due to a segmentation violation.

This is very useful for instance for reporting bugs to Red Hat.

However, it needs a bit of configuration before it can be used.

Normally our systems have a limit on the core dump size.

Install the abrt-addon-ccpp package and run

/usr/sbin/abrt-install-ccpp-hook install

This will update /proc/sys/kernel/core_pattern to be

|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e

The core dumps will be written to /var/spool/abrt.