使用 eclipse 时 JRE 出现 SIGBUS 错误

使用 eclipse 时 JRE 出现 SIGBUS 错误

启动 eclipse 时遇到 SIGBUS 错误。之前没有任何问题,我刚刚打开笔记本电脑,然后出现错误:

$ eclipse
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x00007f08bd89063a, pid=4159, tid=139674439165696
#
# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32)
# Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.5.3
# Distribution: Ubuntu 14.04 LTS, package 7u71-2.5.3-0ubuntu0.14.04.1
# Problematic frame:
# C  [libzip.so+0x463a]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/alvas/hs_err_pid4159.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

有人遇到过同样的问题吗?我该如何解决这个问题?

这是 IceTea JRE 的问题吗?我尝试使用以下命令安装最新的 JDK:如何安装 Java?但它不起作用。

SIGBUS 错误hs_err_pid4159.loghttp://pastebin.com/w8YqFJE3

我也尝试过这个但没有效果:

alvas@ubi:~$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-7-oracle/jre/bin/java          1072      auto mode
  1            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1071      manual mode
  2            /usr/lib/jvm/java-7-oracle/jre/bin/java          1072      manual mode

Press enter to keep the current choice[*], or type selection number: 2

答案1

这并没有完全解决问题,但我已经重新安装了 eclipse 并且正在使用最新版本,所以现在它又可以正常工作了。

按照以下安装说明进行操作:http://ubuntuhandbook.org/index.php/2014/06/install-latest-eclipse-ubuntu-14-04/

相关内容