Eclipse crashes after update to CentOS 6.6

I updated my centOS to the lates update 6.6 and eclipse started crashing every time I tried to use the editor. At first I thought it was a SELINUX issue but this was happening even after turning off SELINUX. Turns out it’s a bug with kepler and how it checks for installed Cairo version. Launching eclipse from console will give you the error below.

eclipse: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED’ failed.

This issue is fixed in Luna if you want to upgrade or you can disable Cairo in eclipse.ini with the command below to keep using your current eclipse version.

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

Thanks to @Riley for the workaround.

4 Replies to “Eclipse crashes after update to CentOS 6.6”

  1. Thanks for the tip.
    I am having a similar issue, just upgraded to centos 6.6 and have eclipse kelper. Many features of eclipse work, however I too get a crash when i click on the text editor.

    In my ~/.xsession-errors file i find the following errors.
    I had noticed a lot of ‘buggy client’ errors, so many that i missed the line concerning Cairo.

    Gary

    Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3e00034 (Workspace )
    Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
    java: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED’ failed.

  2. Thanks!
    Was having the same issue and your tip (to disable cairo) helped. I added the suggested line at the end of “/opt/eclipse43/eclipse.ini” file.

Leave a Reply

Your email address will not be published. Required fields are marked *