Ubuntu16.04 "System program problem detected"問題

不知在系統中裝了什麼出現的問題。

1.查找問題

使用命令:ls /var/crash/

可看到我電腦此目錄下有文件爲:openjdk-9-jdk.0.crash

2.問題原因

Apport is a system which:

  • intercepts crashes right when they happen the first time,

  • gathers potentially useful information about the crash and the OS environment,

  • can be automatically invoked for unhandled exceptions in other programming languages (e. g. in Ubuntu this is done for Python),

  • can be automatically invoked for other problems that can be automatically detected (e. g. Ubuntu automatically detects and reports package installation/upgrade failures from update-manager),

  • presents a UI that informs the user about the crash and instructs them on how to proceed,

  • and is able to file non-crash bug reports about software, so that developers still get information about package versions, OS version etc.

綜上英文所述Apport反饋了軟件崩潰信息。

3.問題解決

java根本問題原因還真不好說。此處只說如何關閉apport功能。

sudo gedit /etc/default/apport 

內容爲:

# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=1

將enabled=1改爲enabled=0

轉載出處:https://blog.csdn.net/a13526758473/article/details/78928932

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章