CentOS 7.2 无法生成 coredump文件

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]:

kernel: Process (abrt-hook-ccpp) has RLIMIT_CORE set to 1

 SOLUTION VERIFIED - Updated June 6 2016 at 12:45 PM -

Issue

  • No core files after install of ABRT on a RHEL 7.2 system: core aborted

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

上一篇:如何通过免费开源ERP Odoo实现企业数字化转型深度分析(一)


下一篇:【SQL】小心字符串拼接导致长度爆表