This post has already been read 1848 times!

Problem

After upgrading Centos to 6.6, you may find that your eclipse crashes on opening any file.

Try opening eclipse using command line (console), and when it crashes, you may see an error similar to this:-

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


Solution

I was using Eclipse Luna, and this issue could happen with prior versions too. So, edit eclipse.ini (located in the eclipse installation root) to add the following line:

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

Comments are closed.

Post Navigation