CentOS 7.2 無法產生 coredump檔案

來源:互聯網
上載者:User

標籤:

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

CentOS 7.2 無法產生 coredump檔案

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.