您的位置:首页 > 其它

Ubuntu16.04 "System program problem detected"

2017-12-29 11:03 393 查看


不知在系统中装了什么出现的问题。

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: