程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> C語言 >> C++ >> C++入門知識 >> CentOS 7.2 無法生成 coredump文件,centoscoredump

CentOS 7.2 無法生成 coredump文件,centoscoredump

編輯:C++入門知識

CentOS 7.2 無法生成 coredump文件,centoscoredump


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 -  English 

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

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved