Opening a GEF editor crashes Eclipse with cairo error [message #207044] |
Tue, 10 January 2006 05:37  |
Eclipse User |
|
|
|
Hi,
when I try to open a GEF editor (no matter whether it is one written by
me or e.g. the logic example), Eclipse crashes. The last output line i
see on the screen seems important here:
java: cairo-surface.c:273: cairo_surface_reference: Assertion
`surface->ref_count > 0' failed.
Eclipse display a last dialog:
JVM terminated. Exit code=1
/usr/bin/java
-Xmx768m
-jar /home/thm/Apps/Eclipse-3.1.1/./startup.jar
-os linux
-ws gtk
-arch x86
-launcher /home/thm/Apps/Eclipse-3.1.1/./eclipse
-name Eclipse
-showsplash 600
-exitdata 498013
-data /home/thm/Apps/Workspace
-debug
-consolelog
-vm /usr/bin/java
-vmargs
-Xmx768m
-jar /home/thm/Apps/Eclipse-3.1.1/./startup.jar
I start Eclipse like this and get the following output:
$ export MOZILLA_FIVE_HOME=/usr/lib/mozilla
$ cd ~/Apps/Eclipse-3.1.1
$ ./eclipse -data ~/Apps/Workspace -debug -consolelog -vmargs -Xmx768m
Start VM: /usr/bin/java
-Xmx768m
-jar /home/thm/Apps/Eclipse-3.1.1/./startup.jar
-os linux
-ws gtk
-arch x86
-launcher /home/thm/Apps/Eclipse-3.1.1/./eclipse
-name Eclipse
-showsplash 600
-exitdata 498013
-data /home/thm/Apps/Workspace
-debug
-consolelog
-vm /usr/bin/java
-vmargs
-Xmx768m
-jar /home/thm/Apps/Eclipse-3.1.1/./startup.jar
Install location:
file:/home/thm/Apps/Eclipse-3.1.1/
Configuration file:
file:/home/thm/Apps/Eclipse-3.1.1/configuration/config.ini loaded
Configuration location:
file:/home/thm/Apps/Eclipse-3.1.1/configuration/
Framework located:
file:/home/thm/Apps/Eclipse-3.1.1/plugins/org.eclipse.osgi_3 .1.1.jar
Framework classpath:
file:/home/thm/Apps/Eclipse-3.1.1/plugins/org.eclipse.osgi_3 .1.1.jar
Splash location:
/home/thm/Apps/Eclipse-3.1.1/plugins/org.eclipse.platform_3. 1.1/splash.bmp
runCommand:
</home/thm/Apps/Eclipse-3.1.1/./eclipse><-name><Eclipse><-showsplash ><600>< /home/thm/Apps/Eclipse-3.1.1/plugins/org.eclipse.platform_3. 1.1/splash.bmp >
Debug options:
file:/home/thm/Apps/Eclipse-3.1.1/.options not found
Time to load bundles: 41
Starting application: 5745
java: cairo-surface.c:273: cairo_surface_reference: Assertion
`surface->ref_count > 0' failed.
System information:
Debian Sid, Linux 2.6.14
libcairo2 Debian package 1.0.2-3
I also compiled the cairo releases
http://cairographics.org/releases/cairo-1.0.2.tar.gz
and
http://cairographics.org/releases/cairo-1.0.0.tar.gz
myself but I got the same error. A fresh Eclipse+GEF install (started
only with "eclipse -data /path/to/workspace") gives the same error.
Any idea? Thanks and regards, Thomas.
--
Thomas Maier - Research Assistant - University of Kassel, Germany
|
|
|
|
Re: Opening a GEF editor crashes Eclipse with cairo error [message #207125 is a reply to message #207078] |
Wed, 11 January 2006 04:43  |
Eclipse User |
|
|
|
Randy Hudson schrieb:
> Cairo is required by SWT. Try asking on the SWT newsgroup.
Thanks Randy, just did that. I found old postings that gave me at least
a workaround that I list here, just for the next one stumbling into
this. When I comment out this one line in my code, it does not crash:
// connectionLayer.setAntialias(SWT.ON);
Regards, Thomas.
|
|
|
Powered by
FUDForum. Page generated in 0.04667 seconds