Community
Participate
Working Groups
Build Identifier: M20100211-1343 Each time I try to do a class method type ahead OR if I hover on a class/method to get more information about it, eclipse crashes with this error msg: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0412bcee, pid=2910, tid=3003018096 # # JRE version: 6.0_18-b18 # Java VM: OpenJDK Client VM (16.0-b13 mixed mode, sharing linux-x86 ) # Derivative: IcedTea6 1.8.1 # Distribution: Ubuntu 10.04 LTS, package 6b18-1.8.1-0ubuntu1 # Problematic frame: # C [libmozjs.so+0x1acee] js_NextActiveContext+0x16 # # An error report file with more information is saved as: # /home/jay/hs_err_pid2910.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/ # Aborted The problem Reproducible: Always Steps to Reproduce: 1.Create a simple new class, with a class method and a main method e.g. Person class with method getName(); 2.Create a new instance of the class e.g Person p = new Person() 3.If want to then say p.getName(), at the point of pressing the . to get the list of methods available in the Person class it then crashes. This is also happening if you simply hover on the person class instance whereby eclipse tries to tell you more about the class, it then crashes.
Created attachment 178703 [details] The log file generated after the crash of eclipse
java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1) OpenJDK Server VM (build 16.0-b13, mixed mode)
What versions of XULRunner/Firefox/Seamonkey do you have installed? If you use Eclipse 3.6 does the crash still happen? http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/index.php
Mozilla XULRunner 1.9.1.9 - 20100401213457
I am currently busy downloading eclipse-jee-helios-linux-gtk and try it out. I get very confused with eclipse site and the various downloads - is 3.6 later or same as helios? Anyway, I must say this problem only started when I upgraded my ubuntu from 9.10 to 10.04. Before that, I never had any problems with the same version of eclipse.
jay can you try a quick experiment? Before launching eclipse at the command line try setting MOZILLA_FIVE_HOME to some bogus value, like: bash> export MOZILLA_FIVE_HOME=/dev/null Does this help? I notice in your attached log that there are gecko libraries loaded from both /usr/lib/xulrunner-1.9.1.9 and /usr/lib/xulrunner-1.9.2.9, which can't be good. I'm hoping that setting MOZILLA_FIVE_HOME to a bogus value will make this stop happening.
Hi Grant, when I got u comment I had already uninstalled eclipse and replace it with helios anyway: 1. I re-installed it (version from the ubunt 10.04 repositories) i.e the one I've always used. Did what you told me to do and it still crashed. 2. I then un-installed it again and this time tried eclipse-jee-helios. It works perfectly BUT I also installed the WTP plugin to do Web Development and I seem to be missing the Dynamic Web Project option. For my existing web projects I can't export to a war file as well. I checked everything and WTP seems to be installed fine. I really am wondering if my environment has some problems somewhere. I have attached the screen-shots of the eclipse version as well as new project options. Has something changed in Helios with regards to Dynamic Web Development or am I missing something.
Created attachment 178855 [details] Projects Available in eclipse helios
Created attachment 178856 [details] About Eclipse - Helios
(In reply to comment #7) > Hi Grant, when I got u comment I had already uninstalled eclipse and replace it > with helios anyway: > > 1. I re-installed it (version from the ubunt 10.04 repositories) i.e the one > I've always used. Did what you told me to do and it still crashed. > > 2. I then un-installed it again and this time tried eclipse-jee-helios. It > works perfectly BUT I also installed the WTP plugin to do Web Development and > I seem to be missing the Dynamic Web Project option. For my existing web > projects I can't export to a war file as well. I checked everything and WTP > seems to be installed fine. > > I really am wondering if my environment has some problems somewhere. I have > attached the screen-shots of the eclipse version as well as new project > options. Has something changed in Helios with regards to Dynamic Web > Development or am I missing something. You're probably missing something. How did you install WTP (it's not a single plug-in)?
Using he "Install New Software.." option and reposition: http://download.eclipse.org/webtools/repository/helios Currently it says all items are installed. What other plugin do I have to install?
Ok, I think I am going to wrap this up. I un-installed everything related to eclipse in my environment (using the Synaptic Package Manager) including the deletion of the .eclipse/ folder in my home dir. Unzipped again the eclipse-jee-helios-linux-gtk file I downloaded earlier and voila: 1. My eclipse is not crashing any longer 2. My Dynamic Web Project plugin is now available and I can now export my project to a war file. I really can't say what the problem was but one thing is for sure: An installation of eclipse from the 10.04 repositories keeps crashing as I explained in this bug report. Thanks everyone for the help.
Ok, if this works with the eclipse from eclipse.org then there's nothing to do on this end, closing report.