Java applications crash with Sun JDK 1.6 (6-04-2) on x86_64

Bug #205620 reported by Fedor Isakov
This bug report is a duplicate of:  Bug #174759: Eclipse crashes due to jvm crash. Edit Remove
12
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have just installed 64-bit Ubuntu 8.04 beta , and I'm experiencing crashes of Eclipse when using Sun JDK 1.6 from the repository:

#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f8d3b01722a, pid=12707, tid=1107421520
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b19 mixed mode linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1f122a]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

It doesn't seem to be Eclipse-specific, but it does seem to be specific to 64-bit, see

http://www.google.com/search?q=libjvm.so%2B0x1f122a

I fixed the issue for myself by manually installing java packages from Gutsy (6-03-0).

Revision history for this message
Renaud Delbru (renaud-delbru) wrote :

Similar problem here with ubuntu 8.04 64 bits and Sun JDK 1.6. Eclipse 3.3.2 crashes randomly after few minutes.

Attached log file.

Revision history for this message
David (david-spiraltechnology) wrote :

I've also got this problem. I'm using ubuntu 8.04 beta AMD 64, Sun JDK 1.6 (synaptic version: 6-04-02, java version: build 1.6.0_04-b12)
Eclipse ran ok allowing me to install plugin's and check code out of svn, the crash occurs when it starts compiling the workspace.

Revision history for this message
Renaud Delbru (renaud-delbru) wrote :

I confirm that Gutsy java packages for Sun JDK 1.6 (64 bits, build 1.6.0_03-b05) fix the problem.
I have tried also to install manually the Sun JDK 1.6 (jdk-6u5-linux-x64.bin), but the same error has occured.

Revision history for this message
David (david-spiraltechnology) wrote :

Forgive the beginners question... How do I install the gutsy java packages to work around this problem?

I've added to my sources.list

deb http://gb.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ gutsy multiverse

but when I try and force the version in Synaptic and choose the gutsy version it shows no packages to update?
Cheers, David

Revision history for this message
Fedor Isakov (fisakov) wrote :

David,

what you need is to "pin" the packages to the wanted version. Run 'man apt_preferences' to learn how to. Here's my /etc/apt/preferences file:

Package: sun-java6-bin sun-java6-doc sun-java6-jdk sun-java6-jre sun-java6-source
Pin: version 6-03-0ubuntu2
Pin-Priority: 1001

Revision history for this message
Matti Lindell (mlind) wrote :

Can you reproduce this in Hardy, sun-java6 6-05-0ubuntu1 (build 1.6.0_05-b13) ?

Eclipse on x64 is known to crash due 'Java.lang.OutOfMemoryError: PermGen space' errors, but this is probably something different.

Changed in sun-java6:
status: New → Incomplete
Revision history for this message
Fedor Isakov (fisakov) wrote :

Reproducible in Hardy/64 with latest updates and sun-java-jdk 6-05-0ubuntu1.

Matti Lindell (mlind)
Changed in sun-java6:
status: Incomplete → Confirmed
Revision history for this message
Belkale (bnaveenbhat) wrote :

Even I am facing the same problem while running Eclipse. Can this be fixed as early as possible?
Thanks,
Naveen.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.