openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #00279
[Bug 217538] Re: eclipse 3.3.2 crashes on project right-click on java-6-openjdk and java-6-sun, but not java-1.5.0-sun (Hardy regression - libxcb.so)
Problem perrsists with:
OpenJDK package 6b10-0ubuntu1~ppa3
/usr/lib/jvm/java-6-openjdk/bin/java -version
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b10)
OpenJDK 64-Bit Server VM (build 1.6.0-b10, mixed mode)
and Ganymede RC2
Version: 3.4.0
Build id: I20080523-0100
works fine with java 1.5.0
java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_15-b04, mixed mode)
--adrian
--
eclipse 3.3.2 crashes on project right-click on java-6-openjdk and java-6-sun, but not java-1.5.0-sun (Hardy regression - libxcb.so)
https://bugs.launchpad.net/bugs/217538
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in Source Package "openjdk-6" in Ubuntu: Incomplete
Bug description:
I can reliably reproduce this bug on Hardy with Eclipse 3.3.2, and confirm that this problem did not exist in Gutsy.
1. Set my java alternatives to java-6-openjdk or java-6-sun
2. Run my externally unpacked eclipse 3.3.2 install from /opt/eclipse
3. Wait for eclipse to finish loading
4. Right click on an open project in the workspace
Eclipse immediately terminates without any warning or explanation. This bug will appear at other times during eclipse usage that appear to be random (to me) but right-clicking on a project will crash eclipse without fail at any point during usage (always before the right-click menu even appears). There is no output in the .metadata/.log file where eclipse normally leaves crash info.
If I run eclipse from the command line I get the following error at eclipse termination:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb75eeeb5, pid=18270, tid=3074725664
#
# Java VM: OpenJDK Client VM (1.6.0-b08 mixed mode, sharing linux-x86)
# Problematic frame:
# C [libxcb.so.1+0x7eb5]
#
# An error report file with more information is saved as:
# /opt/eclipse/hs_err_pid18270.log
#
# If you would like to submit a bug report, please visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)
I have attached the hs_err_pid18270.log file that the JVM dumped.
----
This bug does not manifest when running on the latest java-1.5.0-sun runtime.
Also, I previously experienced the "sloppy locking" problem relating to libxcb.so in other apps like Netbeans as well as Eclipse but it did not cause the application to crash like this. The "sloppy locking" issue has been fixed by recent updates, but this fatal eclipse issue remains (I cannot reproduce it with any other java application).