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