CentOS 7.2 无法生成 coredump文件

2018-06-17 23:56:23来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

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

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:隐式接口和编译期多态

下一篇:[GeekBand] C++ 高级编程技术 (1)