Post new topic   This topic is locked: you cannot edit posts or make replies.
Author Message
dyomides
Registered Member
Registered Member
Joined: Apr 16, 2009
Posts: 5

Recently our infrastructure team had to update our Linux Red Hat OS which is where My Eclipse is installed. Ever since the update the moment I open a project and start navigating the files or working on a file it crashes. The java version before the update was:

java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.10) (rhel-1.23.1.9.10.el5_7-i386)
OpenJDK Server VM (build 19.0-b09, mixed mode)

After the upldate I get this:

java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.6) (rhel-1.25.1.10.6.el5_8-i386)
OpenJDK Server VM (build 20.0-b11, mixed mode)

When My eclipse crashes the terminal window states the following:


Architecture: Linux/i386
Redirecting System.out and System.err to /root/Genuitec/Common/logs/profile-rmb-3344934-console.log
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x06323266, pid=31722, tid=1397619600
#
# Java VM: Java HotSpot(TM) Server VM (11.3-b02 mixed mode linux-x86)
# Problematic frame:
# V [libjvm.so+0x323266]
#
# An error report file with more information is saved as:
# /root/Genuitec/MyEclipse10/hs_err_pid31722.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp

I've attached the error log as well.

Any help on this matter would be appreciated, thanks.

Ced
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-joy
Registered Member
Registered Member
Joined: Feb 03, 2009
Posts: 3441

dyomides,

Sorry to hear you are running into this issue. I have escalated your post to dev team member, they would get back to you on this.

I would recommend you repair your ME 10 profile. Open MyEclipse 10 installer file, double click on the same. Next you could choose to repair your MyEclipse profile or create another copy of MyEclipse. Follow the wizard till completion.

Let me know how this works for you.

Best.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
support-tony

Joined: Mar 09, 2011
Posts: 1006

dyomides,

If the repair doesn't work, try switching MyEclipse to use the Java installed on RedHat (it's currently using the inbuilt JDK). This can be done by altering your myeclipse.ini file, changing the line under "-vm". If you're not sure where the myeclipse.ini file is, this FAQ should help locate it.

_________________
Tony
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
dyomides
Registered Member
Registered Member
Joined: Apr 16, 2009
Posts: 5

Hi all,

I've tried both the repair and changing the java to the one installed on RH and still it crashes within minutes of being open. If you have any other suggestions please let me know, I'm desperate to get this resolved.

Thanks for all your help,

Ced
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-tony

Joined: Mar 09, 2011
Posts: 1006

Ced,

Please you attach the latest hs_err... file, following the Java change. Also, attach or paste the contents of your myeclipse.ini file. There may be some VM parameters that are causing problems.

Try installing again, as a second installation and see if that new installation works.

If the problem persists, it's most likely to be something in the OS update. Unfortunately, I don't have a RedHat system on which to try to replicate the problem. Are there other Java programs you can run to see if they have the same problem?

_________________
Tony
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
dyomides
Registered Member
Registered Member
Joined: Apr 16, 2009
Posts: 5

I re-installed before I posted here and still got the same result. This is installed on a development machine where we have tomcat running multiple war files. Each war is a website that is functioning properly. It's not quite the same as a My Eclipse but it does use Java. Hope that helps.

Here is the latest file along with my ini contents:


#ansi (do not remove)
#ansi (do not remove)
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505
-install
/root/Genuitec/MyEclipse10
-vm
/root/Genuitec/Common/binary/com.sun.java.jdk.linux.x86_1.6.0.013/bin/java
-configuration
/root/Genuitec/MyEclipse10/configuration
-vmargs
-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-tony

Joined: Mar 09, 2011
Posts: 1006

Ced,

The crash after the Java change is actually in a different place, though it may be related to the previous one. I've asked one of the development team to take a look. They should get back to you before too long.

_________________
Tony
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Moderator
Moderator
Joined: Aug 21, 2004
Posts: 2682

Ced,

The problem appears to be related to your new OS as opposed to the Java implementation. Could you tell me exactly what Red Hat version you are using right now? Also, what is the GTK and Gnome version used by this version of Red Hat?

If you go to Window > Preferences > General > Web Browser - what external browsers do you see listed? Could you try switching to any of these other browsers - does that help?

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
dyomides
Registered Member
Registered Member
Joined: Apr 16, 2009
Posts: 5

RH Version:
Red Hat Enterprise Linux Server release 5.8 (Tikanga)

GTK:
2.10.4

Gnome:
Gnome gnome-panel 2.16.1

I only have Firefox installed so there is no switching and I don't log onto the dev vm per say. I ssh into it and launch myeclipse remotely through X11 forwarding.

Thanks again for your help
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Moderator
Moderator
Joined: Aug 21, 2004
Posts: 2682

dyomides,

I'm sorry fo the delayed response - we were unable to reproduce the problem with our local Red Hant installs, but I believe we finally found the problem. It appears to be a conflict with SWT and an XULRunner update that is shipped with the Red Hat update. You would face this problem not only with MyEclipse, but with Classic eclipse too.

The problem is described here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=373965

You need to follow the steps in the last comment - as far as starting with a switch pointing to an earlier version of XULRunner is concerned, you will need to edit the myeclipse.ini file and add the
Code:
-Dorg.eclipse.swt.browser.XULRunnerPath=/full/path/to/xulrunner/xulrunner
switch at the bottom of the file.

I hope this helps.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
dyomides
Registered Member
Registered Member
Joined: Apr 16, 2009
Posts: 5

Good news, this seems to have worked, it no longer crashes as I modify java files. Thanks for following up on this, much appreciated.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
All times are GMT - 6 Hours
Post new topic   This topic is locked: you cannot edit posts or make replies.
® 2014 - Genuitec, LLC.