How to fix the latest Eclipse, RAD, RSA, RTC Crashes


All users working on RHEL / CENTOS are now facing a issue of eclipse crashes. Typically most versions of Rational Application Developer, Rational Software Architect and Rational Team Concert are also crashing due to the latest kernel update. (In general any eclipse based product)
I've seen the issue with eclipse JUNO, RAD 9.1, RTC 4.0. Interestingly this crash occurs constantly and there is no way out. Even if you install any fixpack or change your java version, its not gonna help.

Issue:
1. Open either eclipse, RAD or RTC
2. Open or create a file for existing project
3. Application hangs for few seconds before it crashes and creates a core dump.
4. Steps 1-3 occur everytime. No way out.

Exception on the crash screen:
JVM terminated. Exit code=1
/work/downloads/IBM_Installation_Manager_1_8//jre_7.0.0.sr6_20131213_1238/jre/bin/java
-Xms40m
-Xmx1024m
-Xquickstart
-Xgcpolicy:gencon
-jar /work/downloads/IBM_Installation_Manager_1_8/plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1446.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /work/downloads/IBM_Installation_Manager_1_8/install
-name Install
--launcher.library /work/downloads/IBM_Installation_Manager_1_8/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813/eclipse_1502.so
-startup /work/downloads/IBM_Installation_Manager_1_8/plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1446.jar
--launcher.overrideVmargs
-exitdata d2801a
-toolId install
-accessRights admin input @osgi.install.area/install.xml
-vm /work/downloads/IBM_Installation_Manager_1_8//jre_7.0.0.sr6_20131213_1238/jre/bin/java
-vmargs
-Xms40m
-Xmx1024m
-Xquickstart
-Xgcpolicy:gencon
-jar /work/downloads/IBM_Installation_Manager_1_8/plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1446.jar

Actual error message from logs/terminal:
java: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED' failed.

Currently this issue is seen with all users of RedHat and CentOS having the latest kernel version: 2.6.32-431.30.1.el6.x86_64. Run uname -r to find out your OS kernel version . 
My development environment was working perfectly fine, until I said YES to install some fixes on my laptop. Post reboot things were screwed up.


Quick Fix:
After enough trials, a workaround to this issue is to add the below argument to the eclipse.ini file of Eclipse / RAD / RSA or RTC:

-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false

9 comments: Leave Your Comments

  1. Thanks a lot! You saved me a lot (more) of time and pain.

    ReplyDelete
  2. Thanks a lot for this update .... you saved my day!

    ReplyDelete
  3. Hi
    i have the same problem when i try to install Installation manager; but, as i have NOT yet installed anything (i'm trying installing Installation manager), i'm not able to find eclipse.ini (pheraps it does not yet exist in my server !!) can you suggest me how to solve the problem in my situation ?
    Thanks in advance

    ReplyDelete
    Replies
    1. Find the solution : https://www.ibm.com/developerworks/community/forums/html/topic?id=c831e4b1-a57d-49d8-ba61-17600f1060a1&ps=25
      Thanks

      Delete
  4. Thank you so much!

    ReplyDelete
  5. Great! Worked for me!

    ReplyDelete
  6. Thank you for posting this. This works well and thank you. It saves me a lot of time.

    ReplyDelete
  7. Life Saver! took me an hour or two of searching before I got to your post.
    But once I found your suggestion and made the change - it worked very nicely!
    thanks a bunch!

    ReplyDelete
    Replies
    1. Hey Carmi,
      Glad to know it worked and saved lot of productive time for you.

      Delete

+