Wednesday, December 12, 2018

Eclipse crash: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED' failed

Downloaded Eclipse 2018-09
unpacked it and ran it, it crashed at some point.

I got this error:

org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.
***WARNING: SWT requires Cairo 1.9.4 or newer
***WARNING: Detected: 1.8.8
org.eclipse.m2e.logback.configuration: Logback config file: /scratch/ewass/workspace/gitonly/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://510.fwk116184677:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://510.fwk116184677:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
org.eclipse.m2e.logback.configuration: Initializing logback
java: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED' failed.

Cairo is the graphic lib used by eclipse SWT GTK.
Newer eclipse requires newer Cairo as mentioned above.
The problem is i was using oracle linux 6.6 (2.6.32-504.el6.x86_64) - the new cairo is not supported on this OS.

So it seems i have to go back and use and older eclipse (like neon).