Skip to main content

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