尝试使用 Eclipse 时 JVM 随机崩溃

尝试使用 Eclipse 时 JVM 随机崩溃

自从我在电脑上安装了 Ubuntu 10.04 后,eclipse 每隔一小时或更长时间就会崩溃一次,并且没有任何明显的变化。在日志中,我看到原因与 JAVA 有关:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f95f32ce9c0, pid=2382, tid=140280562099984
#
# JRE version: 6.0_18-b18
# Java VM: OpenJDK 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 )
# Derivative: IcedTea6 1.8.2
# Distribution: Ubuntu 10.04.1 LTS, package 6b18-1.8.2-4ubuntu2
# Problematic frame:
# V  [libjvm.so+0x5309c0]
#
# An error report file with more information is saved as:
# /home/elapouya/perso/projects/django/rsame/hs_err_pid2382.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#

www.eclipse.org 知道这个 bug,建议使用 1.6.0.10 或更高版本,或者转 jdk 1.5 我安装了官方最新的 JVM 但仍然崩溃。我是 6.0_18-b18 (我不知道这是不是 1.6.0.10...) 所以我安装了一个旧版本:1.5.0_19,但仍然有随机崩溃:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00007fc833c91dfe, pid=8630, tid=140496587896592
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_19-b02 mixed mode)
# Problematic frame:
# V  [libjvm.so+0x5b1dfe]
#
# An error report file with more information is saved as hs_err_pid8630.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

我执行了 apt-get upgrade 以保持最新,但它仍然崩溃:

你有什么建议吗?

答案1

我会切换到 32 位 jre/jdk 并提交错误报告...一旦他们将其重新整理为 64 位。或者,您可以直接尝试 Sun 的二进制安装程序而不是 openjdk,但这可能会弄乱您的依赖项,并且您必须在 .profile 或 .bashrc 中设置一些环境变量

相关内容