CentOS版本 cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
設置ulimit -c ulimited
依舊無法生成coredump文件,其中也檢查了cat /proc/sys/kernel/core_pattern 及/etc/abrt/abrt-action-save-package-data.conf 設置。
網上報出類似錯誤[https://access.redhat.com/solutions/2181441]:
Have a tried a reinstall but without any success: same error in /var/log/messages and no core file in /var/tmp/abrt (or /var/spool/abrt).
dmesg 顯示相關的出錯信息為:
[327543.126405] hello[217149]: segfault at 7000 ip 00007f65f1791ab4 sp 00007fff29e30540 error 4 in libc-2.17.so[7f65f1749000+1b7000]
[327543.144987] abrt-hook-ccpp[217150]: segfault at 0 ip 00007fdcd145553b sp 00007fff359ae0c0 error 4 in libreport.so.0.0.1[7fdcd1447000+25000]
[327543.145011] Process 217150(abrt-hook-ccpp) has RLIMIT_CORE set to 1
[327543.145013] Aborting core
目前解決辦法:
rpm -e abrt-addon-ccpp-2.1.11-36.el7.centos.x86_64
abrt-cli-2.1.11-36.el7.centos.x86_64
abrt-desktop-2.1.11-36.el7.centos.x86_64
abrt-console-notification-2.1.11-36.el7.centos.x86_64