Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Cairo rectangle clipping causing JVM crash
Cairo rectangle clipping causing JVM crash [message #458247] Mon, 11 July 2005 22:39 Go to next message
Bradley Schmerl is currently offline Bradley SchmerlFriend
Messages: 26
Registered: July 2009
Junior Member
Hi:

I am having a problem on Linux with a JVM crash in Cairo. The same code
works on Windows, and it frequently causes a crash on Linux. I have a
plugin that uses GEF that is trying to draw a repository-style figure on
the screen. I'm using Eclipse 3.1 and GEF 3.1, with advanced graphics
features (anti-aliasing) turned OFF (it also happens when I have it
turned on).

Any help will be much appreciated - it's blocking my migration to 3.1.

I'm also cross-posting this to eclipse.tools.gef forum.

Cheers,
Bradley.


The code looks like:

Rectangle r = <the bounds of the figure>
int ovalHeight = r.width / 3;
int ovalWidth = r.width;
graphics.pushState();
graphics.fillRectangle(r.x,
r.y + ovalHeight / 2,
r.width+1,
r.height - ovalHeight + 1);
graphics.fillArc(r.x, r.y, ovalWidth + 1, ovalHeight+1, 0, 180);
graphics.clipRect(
new org.eclipse.draw2d.geometry.Rectangle(
r.x,
r.y + r.height - ovalHeight / 2,
ovalWidth,
ovalHeight / 2));
graphics.fillOval(r.x, r.y + r.height - ovalHeight + 1, ovalWidth,
ovalHeight));
graphics.restoreState();
graphics.popState ();

The JVM crash looks like:


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4E98B2FC
Function=(null)+0x4E98B2FC
Library=libcairo.so.1

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.


Current Java thread:
at org.eclipse.swt.internal.cairo.Cairo.cairo_clip(Native Method)
- locked <0x49b38648> (a java.lang.Class)
at org.eclipse.swt.graphics.GC.setCairoClip(GC.java:2563)
at org.eclipse.swt.graphics.GC.setClipping(GC.java:2598)
at org.eclipse.swt.graphics.GC.setClipping(GC.java:2633)
at
org.eclipse.draw2d.SWTGraphics$RectangleClipping.setOn(SWTGr aphics.java:135)
at org.eclipse.draw2d.SWTGraphics.checkGC(SWTGraphics.java:279)
at org.eclipse.draw2d.SWTGraphics.checkFill(SWTGraphics.java:26 8)
at org.eclipse.draw2d.SWTGraphics.fillOval(SWTGraphics.java:518 )
at org.eclipse.draw2d.Graphics.fillOval(Graphics.java:428)
at org.eclipse.draw2d.ScaledGraphics.fillOval(ScaledGraphics.ja va:316)
at org.eclipse.draw2d.Graphics.fillOval(Graphics.java:428)
at
AcmeStudio.ui.editors.diagram.styles.ElementVisualization.fi llShape(ElementVisualization.java:932)
at
AcmeStudio.ui.editors.diagram.styles.ElementVisualization.fi llShape(ElementVisualization.java:810)
at
AcmeStudio.ui.editors.diagram.figures.AcmeVisElement.fillSha pe(AcmeVisElement.java:110)
at org.eclipse.draw2d.Shape.paintFigure(Shape.java:107)
at
AcmeStudio.ui.editors.diagram.figures.AcmeVisElement.paintFi gure(AcmeVisElement.java:417)
at org.eclipse.draw2d.Figure.paint(Figure.java:1053)
at
AcmeStudio.ui.editors.diagram.figures.SystemView.paintChildr en(SystemView.java:530)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1127)
at org.eclipse.draw2d.Figure.paint(Figure.java:1055)
at
AcmeStudio.ui.editors.diagram.figures.SystemView.paintGraphi cs(SystemView.java:407)
at
AcmeStudio.ui.editors.diagram.figures.SystemView.paint(Syste mView.java:215)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1123)
at org.eclipse.draw2d.Figure.paint(Figure.java:1055)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1123)
at org.eclipse.draw2d.Figure.paint(Figure.java:1055)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091)
at
org.eclipse.draw2d.ScalableFreeformLayeredPane.paintClientAr ea(ScalableFreeformLayeredPane.java:69)
at org.eclipse.draw2d.Figure.paint(Figure.java:1055)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1123)
at org.eclipse.draw2d.Figure.paint(Figure.java:1055)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1118)
at org.eclipse.draw2d.Viewport.paintClientArea(Viewport.java:15 6)
at org.eclipse.draw2d.Figure.paint(Figure.java:1055)
at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091)
at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1123)
at org.eclipse.draw2d.Figure.paint(Figure.java:1055)
at
org.eclipse.draw2d.DeferredUpdateManager.repairDamage(Deferr edUpdateManager.java:225)
at
org.eclipse.draw2d.DeferredUpdateManager.performUpdate(Defer redUpdateManager.java:145)
- locked <0x44f7e878> (a org.eclipse.draw2d.DeferredUpdateManager)
at
org.eclipse.draw2d.DeferredUpdateManager$UpdateRequest.run(D eferredUpdateManager.java:40)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
- locked <0x447815f0> (a org.eclipse.swt.widgets.RunnableLock)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2844)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2575)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

Dynamic libraries:
08048000-08056000 r-xp 00000000 03:06 4161571
/usr0/schmerl/j2sdk1.4.2_05/bin/java
08056000-08059000 rw-p 0000d000 03:06 4161571
/usr0/schmerl/j2sdk1.4.2_05/bin/java
40000000-40015000 r-xp 00000000 03:01 69634 /lib/ld-2.3.2.so
40015000-40016000 rw-p 00014000 03:01 69634 /lib/ld-2.3.2.so
40017000-4001f000 r-xp 00000000 03:06 5177385
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/native_threads/libh pi.so
4001f000-40020000 rw-p 00007000 03:06 5177385
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/native_threads/libh pi.so
40020000-4002b000 r-xp 00000000 03:01 69655 /lib/libnss_files-2.3.2.so
4002b000-4002c000 rw-p 0000a000 03:01 69655 /lib/libnss_files-2.3.2.so
4002c000-40030000 rw-s 00000000 03:01 116902
/tmp/hsperfdata_schmerl/9323
40030000-40031000 r--s 00000000 03:06 2343206
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.swt_3.1.0.jar
40032000-40041000 r-xp 00000000 03:01 69663 /lib/libpthread-0.10.so
40041000-40044000 rw-p 0000f000 03:01 69663 /lib/libpthread-0.10.so
40084000-40086000 r-xp 00000000 03:01 69645 /lib/libdl-2.3.2.so
40086000-40087000 rw-p 00002000 03:01 69645 /lib/libdl-2.3.2.so
40087000-401ba000 r-xp 00000000 03:01 69641 /lib/libc-2.3.2.so
401ba000-401be000 rw-p 00132000 03:01 69641 /lib/libc-2.3.2.so
401c0000-405bc000 r-xp 00000000 03:06 5144612
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/client/libjvm.so
405bc000-405d7000 rw-p 003fb000 03:06 5144612
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/client/libjvm.so
405e9000-405fb000 r-xp 00000000 03:01 69649 /lib/libnsl-2.3.2.so
405fb000-405fc000 rw-p 00011000 03:01 69649 /lib/libnsl-2.3.2.so
405fe000-4061f000 r-xp 00000000 03:01 69647 /lib/libm-2.3.2.so
4061f000-40620000 rw-p 00020000 03:01 69647 /lib/libm-2.3.2.so
40620000-40630000 r-xp 00000000 03:06 5128229
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libverify.so
40630000-40632000 rw-p 0000f000 03:06 5128229
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libverify.so
40632000-40652000 r-xp 00000000 03:06 5128230
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libjava.so
40652000-40654000 rw-p 0001f000 03:06 5128230
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libjava.so
40654000-40668000 r-xp 00000000 03:06 5128232
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libzip.so
40668000-4066b000 rw-p 00013000 03:06 5128232
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libzip.so
4066b000-4200f000 r--s 00000000 03:06 4341839
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/rt.jar
42059000-4206f000 r--s 00000000 03:06 4341795
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/sunrsasign.jar
4206f000-4214c000 r--s 00000000 03:06 4341836
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/jsse.jar
4214c000-4215d000 r--s 00000000 03:06 4341796
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/jce.jar
4215d000-426b6000 r--s 00000000 03:06 4341837
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/charsets.jar
4475e000-4475f000 r-xp 00000000 03:02 327245
/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
4475f000-44760000 rw-p 00000000 03:02 327245
/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
4c7e0000-4c9e0000 r--p 00000000 03:02 490786
/usr/lib/locale/locale-archive
4c9e0000-4ca0b000 r-xp 00000000 03:06 5128251
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libjdwp.so
4ca0b000-4ca0d000 rw-p 0002a000 03:06 5128251
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libjdwp.so
4ca10000-4ca13000 r-xp 00000000 03:06 5128252
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libdt_socket.so
4ca13000-4ca14000 rw-p 00002000 03:06 5128252
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libdt_socket.so
4ca14000-4ca30000 r--s 00000000 03:06 5111842
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/ext/sunjce_provider.jar
4ca30000-4ca33000 r--s 00000000 03:06 5111843
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/ext/dnsns.jar
4ca33000-4ca40000 r--s 00000000 03:06 5111844
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/ext/ldapsec.jar
4ca40000-4cafc000 r--s 00000000 03:06 5111845
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/ext/localedata.jar
4cafc000-4cb04000 r--s 00000000 03:06 2097437
/usr0/schmerl/eclipse-3.1/startup.jar
4cb04000-4cbba000 r--s 00000000 03:06 2343226
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.osgi_3.1.0.jar
4cbba000-4cbca000 r-xp 00000000 03:06 5128235
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libnet.so
4cbca000-4cbcb000 rw-p 0000f000 03:06 5128235
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libnet.so
4cbcb000-4cbd1000 r-xp 00000000 03:06 5128236
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libnio.so
4cbd1000-4cbd2000 rw-p 00005000 03:06 5128236
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libnio.so
4cbd2000-4cc41000 r--s 00000000 03:06 2343243
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.core.runtime_3 .1.0.jar
4cc41000-4cc58000 r--s 00000000 03:06 2343225
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.update.configu rator_3.1.0.jar
4cc58000-4cc6e000 r--s 00000000 03:06 2343223
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.ant.core_3.1.0 .jar
4cc6e000-4cc7f000 r--s 00000000 03:06 2343202
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.core.commands_ 3.1.0.jar
4cc7f000-4cc8c000 r--s 00000000 03:06 2343229
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.core.expressio ns_3.1.0.jar
4cc8c000-4cca2000 r--s 00000000 03:06 2343207
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.core.filebuffe rs_3.1.0.jar
4cca2000-4cd38000 r--s 00000000 03:06 2343232
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.core.resources _3.1.0.jar
4cd38000-4cd4d000 r--s 00000000 03:06 2343208
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.core.runtime.c ompatibility_3.1.0.jar
4cd4d000-4cd54000 r--s 00000000 03:06 2343163
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.core.variables _3.1.0.jar
4cd54000-4cdc6000 r--s 00000000 03:06 2343135
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.draw2d_3.1.0.j ar
4cdc6000-4ce7b000 r--s 00000000 03:06 2343138
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.gef_3.1.0.jar
4ce7b000-4ce8c000 r--s 00000000 03:06 2343220
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.help_3.1.0.jar
4ce8c000-4ce90000 r--s 00000000 03:06 2343184
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.help.appserver _3.1.0.jar
4ce90000-4cec5000 r--s 00000000 03:06 2343176
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.help.base_3.1. 0.jar
4cec5000-4cf68000 r--s 00000000 03:06 2343222
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.jface_3.1.0.ja r
4cf68000-4d00c000 r--s 00000000 03:06 2343224
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.jface.text_3.1 .0.jar
4d00c000-4d02f000 r--s 00000000 03:06 2343239
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.pde.runtime_3. 1.0.jar
4d02f000-4d180000 r--s 00000000 03:06 2343235
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.swt.gtk.linux. x86_3.1.0.jar
4d180000-4d1ad000 r--s 00000000 03:06 2343227
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.text_3.1.0.jar
4d1ad000-4d1cb000 r--s 00000000 03:06 2343203
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.ui_3.1.0.jar
4d1cb000-4d232000 r--s 00000000 03:06 2343230
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.ui.editors_3.1 .0.jar
4d232000-4d265000 r--s 00000000 03:06 2343242
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.ui.forms_3.1.0 .jar
4d265000-4d3dd000 r--s 00000000 03:06 2343219
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.ui.ide_3.1.0.j ar
4d3dd000-4d3ed000 r--s 00000000 03:06 2343216
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.ui.views_3.1.0 .jar
4d3ed000-4d6a9000 r--s 00000000 03:06 2343240
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.ui.workbench_3 .1.0.jar
4d6a9000-4d713000 r--s 00000000 03:06 2343209
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.ui.workbench.t exteditor_3.1.0.jar
4d713000-4d78b000 r--s 00000000 03:06 2343159
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.update.core_3. 1.0.jar
4d78b000-4d7fb000 r--s 00000000 03:06 2343165
/usr0/schmerl/eclipse-3.1/plugins/org.eclipse.update.ui_3.1. 0.jar
4d7fb000-4d83d000 r-xp 00000000 03:06 7536865
/usr0/schmerl/workspace/.metadata/.plugins/org.eclipse.pde.c ore/AcmeStudio/org.eclipse.osgi/bundles/22/1/.cp/libswt-pi-g tk-3138.so
4d83d000-4d83f000 rw-p 00042000 03:06 7536865
/usr0/schmerl/workspace/.metadata/.plugins/org.eclipse.pde.c ore/AcmeStudio/org.eclipse.osgi/bundles/22/1/.cp/libswt-pi-g tk-3138.so
4d83f000-4da88000 r-xp 00000000 03:02 295514
/usr/lib/libgtk-x11-2.0.so.0.200.1
4da88000-4da91000 rw-p 00248000 03:02 295514
/usr/lib/libgtk-x11-2.0.so.0.200.1
4da93000-4da97000 r-xp 00000000 03:02 294504
/usr/lib/libgthread-2.0.so.0.200.1
4da97000-4da98000 rw-p 00003000 03:02 294504
/usr/lib/libgthread-2.0.so.0.200.1
4da98000-4da9e000 r--s 00000000 03:02 147544
/usr/lib/gconv/gconv-modules.cache
4da9e000-4daaa000 r-xp 00000000 03:02 720083
/usr/lib/gtk-2.0/2.2.0/engines/libbluecurve.so
4daaa000-4daab000 rw-p 0000b000 03:02 720083
/usr/lib/gtk-2.0/2.2.0/engines/libbluecurve.so
4daab000-4daac000 r-xp 00000000 03:02 147488 /usr/lib/gconv/ISO8859-1.so
4daac000-4daad000 rw-p 00001000 03:02 147488 /usr/lib/gconv/ISO8859-1.so
4daad000-4daaf000 r-xp 00000000 03:02 327416
/usr/lib/pango/1.2.0/modules/pango-basic-xft.so
4daaf000-4dab0000 rw-p 00001000 03:02 327416
/usr/lib/pango/1.2.0/modules/pango-basic-xft.so
4dab0000-4dab1000 r-xp 00000000 03:02 163787
/usr/kerberos/lib/libcom_err.so.3.0
4dab1000-4dab2000 rw-p 00001000 03:02 163787
/usr/kerberos/lib/libcom_err.so.3.0
4dab3000-4dab7000 r-xp 00000000 03:02 49601
/usr/X11R6/lib/libXtst.so.6.1
4dab7000-4dab8000 rw-p 00004000 03:02 49601
/usr/X11R6/lib/libXtst.so.6.1
4dab8000-4daca000 r-xp 00000000 03:02 295510
/usr/lib/libgdk_pixbuf-2.0.so.0.200.1
4daca000-4dacb000 rw-p 00011000 03:02 295510
/usr/lib/libgdk_pixbuf-2.0.so.0.200.1
4dacb000-4db34000 r-xp 00000000 03:02 295508
/usr/lib/libgdk-x11-2.0.so.0.200.1
4db34000-4db39000 rw-p 00069000 03:02 295508
/usr/lib/libgdk-x11-2.0.so.0.200.1
4db39000-4db59000 r-xp 00000000 03:02 295501
/usr/lib/libpangoxft-1.0.so.0.200.1
4db59000-4db5a000 rw-p 0001f000 03:02 295501
/usr/lib/libpangoxft-1.0.so.0.200.1
4db5a000-4db66000 r-xp 00000000 03:02 295499
/usr/lib/libpangox-1.0.so.0.200.1
4db66000-4db67000 rw-p 0000b000 03:02 295499
/usr/lib/libpangox-1.0.so.0.200.1
4db67000-4db8e000 r-xp 00000000 03:02 295495
/usr/lib/libpango-1.0.so.0.200.1
4db8e000-4db9a000 rw-p 00026000 03:02 295495
/usr/lib/libpango-1.0.so.0.200.1
4db9a000-4dbb1000 r-xp 00000000 03:02 295451
/usr/lib/libatk-1.0.so.0.200.0
4dbb1000-4dbb3000 rw-p 00016000 03:02 295451
/usr/lib/libatk-1.0.so.0.200.0
4dbb3000-4dbe6000 r-xp 00000000 03:02 294502
/usr/lib/libgobject-2.0.so.0.200.1
4dbe6000-4dbe8000 rw-p 00032000 03:02 294502
/usr/lib/libgobject-2.0.so.0.200.1
4dbe8000-4dbeb000 r-xp 00000000 03:02 294500
/usr/lib/libgmodule-2.0.so.0.200.1
4dbeb000-4dbec000 rw-p 00002000 03:02 294500
/usr/lib/libgmodule-2.0.so.0.200.1
4dbec000-4dc55000 r-xp 00000000 03:02 294498
/usr/lib/libglib-2.0.so.0.200.1
4dc55000-4dc56000 rw-p 00069000 03:02 294498
/usr/lib/libglib-2.0.so.0.200.1
4dc56000-4dc63000 r-xp 00000000 03:02 49577
/usr/X11R6/lib/libXext.so.6.4
4dc63000-4dc64000 rw-p 0000c000 03:02 49577
/usr/X11R6/lib/libXext.so.6.4
4dc64000-4dd40000 r-xp 00000000 03:02 49567
/usr/X11R6/lib/libX11.so.6.2
4dd40000-4dd43000 rw-p 000db000 03:02 49567
/usr/X11R6/lib/libX11.so.6.2
4dd43000-4dd46000 r-xp 00000000 03:02 49595
/usr/X11R6/lib/libXrandr.so.2.0
4dd46000-4dd47000 rw-p 00002000 03:02 49595
/usr/X11R6/lib/libXrandr.so.2.0
4dd47000-4dd4e000 r-xp 00000000 03:02 49585 /usr/X11R6/lib/libXi.so.6.0
4dd4e000-4dd4f000 rw-p 00006000 03:02 49585 /usr/X11R6/lib/libXi.so.6.0
4dd4f000-4dd60000 r-xp 00000000 03:02 49583
/usr/X11R6/lib/libXft.so.2.1
4dd60000-4dd61000 rw-p 00010000 03:02 49583
/usr/X11R6/lib/libXft.so.2.1
4dd61000-4dd68000 r-xp 00000000 03:02 49597
/usr/X11R6/lib/libXrender.so.1.2
4dd68000-4dd69000 rw-p 00006000 03:02 49597
/usr/X11R6/lib/libXrender.so.1.2
4dd69000-4dd8a000 r-xp 00000000 03:02 295171
/usr/lib/libfontconfig.so.1.0
4dd8a000-4dd8d000 rw-p 00021000 03:02 295171
/usr/lib/libfontconfig.so.1.0
4dd8e000-4ddda000 r-xp 00000000 03:02 295165
/usr/lib/libfreetype.so.6.3.2
4ddda000-4ddde000 rw-p 0004c000 03:02 295165
/usr/lib/libfreetype.so.6.3.2
4dddf000-4ddfd000 r-xp 00000000 03:02 294488 /usr/lib/libexpat.so.0.4.0
4ddfd000-4ddff000 rw-p 0001e000 03:02 294488 /usr/lib/libexpat.so.0.4.0
4ddff000-4de25000 r-xp 00000000 03:06 7536866
/usr0/schmerl/workspace/.metadata/.plugins/org.eclipse.pde.c ore/AcmeStudio/org.eclipse.osgi/bundles/22/1/.cp/libswt-gtk- 3138.so
4de25000-4de27000 rw-p 00025000 03:06 7536866
/usr0/schmerl/workspace/.metadata/.plugins/org.eclipse.pde.c ore/AcmeStudio/org.eclipse.osgi/bundles/22/1/.cp/libswt-gtk- 3138.so
4de28000-4de3b000 r--p 00000000 03:02 99039
/usr/X11R6/lib/X11/fonts/Type1/l047013t.pfa
4de3b000-4de42000 r-xp 00000000 03:02 49591 /usr/X11R6/lib/libXp.so.6.2
4de42000-4de43000 rw-p 00006000 03:02 49591 /usr/X11R6/lib/libXp.so.6.2
4de43000-4de4b000 r-xp 00000000 03:02 49575
/usr/X11R6/lib/libXcursor.so.1.0
4de4b000-4de4c000 rw-p 00007000 03:02 49575
/usr/X11R6/lib/libXcursor.so.1.0
4de4c000-4dea3000 r--s 00000000 03:06 4112411
/usr0/schmerl/workspace/AcmeStudio/lib/log4j-1.2.8.jar
4dea3000-4deb5000 r--p 00000000 03:02 99049
/usr/X11R6/lib/X11/fonts/Type1/l048016t.pfa
4deb5000-4debd000 r-xp 00000000 03:02 49565 /usr/X11R6/lib/libSM.so.6.0
4debd000-4debe000 rw-p 00007000 03:02 49565 /usr/X11R6/lib/libSM.so.6.0
4debe000-4dec1000 r-xp 00000000 03:06 7536867
/usr0/schmerl/workspace/.metadata/.plugins/org.eclipse.pde.c ore/AcmeStudio/org.eclipse.osgi/bundles/22/1/.cp/libswt-gnom e-gtk-3138.so
4dec1000-4dec2000 rw-p 00002000 03:06 7536867
/usr0/schmerl/workspace/.metadata/.plugins/org.eclipse.pde.c ore/AcmeStudio/org.eclipse.osgi/bundles/22/1/.cp/libswt-gnom e-gtk-3138.so
4dec2000-4dec6000 r-xp 00000000 03:02 295482
/usr/lib/libORBitCosNaming-2.so.0.0.0
4dec6000-4dec7000 rw-p 00004000 03:02 295482
/usr/lib/libORBitCosNaming-2.so.0.0.0
4dec7000-4ded9000 r--p 00000000 03:02 99053
/usr/X11R6/lib/X11/fonts/Type1/l048036t.pfa
4ded9000-4deeb000 r--p 00000000 03:02 99047
/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa
4deec000-4df00000 r--p 00000000 03:02 99041
/usr/X11R6/lib/X11/fonts/Type1/l047016t.pfa
4df00000-4df13000 r-xp 00000000 03:02 295525
/usr/lib/libgnome-2.so.0.200.0
4df13000-4df14000 rw-p 00013000 03:02 295525
/usr/lib/libgnome-2.so.0.200.0
4df14000-4df28000 r--p 00000000 03:02 99045
/usr/X11R6/lib/X11/fonts/Type1/l047036t.pfa
4df28000-4e1f9000 r-xp 00000000 03:06 5128240
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libawt.so
4e1f9000-4e20f000 rw-p 002d0000 03:06 5128240
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libawt.so
4e234000-4e287000 r-xp 00000000 03:06 5128239
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libmlib_image.so
4e287000-4e288000 rw-p 00052000 03:06 5128239
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libmlib_image.so
4e288000-4e299000 r-xp 00000000 03:02 295488
/usr/lib/libbonobo-activation.so.4.0.0
4e299000-4e29b000 rw-p 00011000 03:02 295488
/usr/lib/libbonobo-activation.so.4.0.0
4e29b000-4e2a2000 r-xp 00000000 03:02 295478 /usr/lib/liblinc.so.1.0.0
4e2a2000-4e2a3000 rw-p 00006000 03:02 295478 /usr/lib/liblinc.so.1.0.0
4e2a3000-4e2f1000 r-xp 00000000 03:02 49599 /usr/X11R6/lib/libXt.so.6.0
4e2f1000-4e2f5000 rw-p 0004d000 03:02 49599 /usr/X11R6/lib/libXt.so.6.0
4e2f5000-4e309000 r-xp 00000000 03:02 49561
/usr/X11R6/lib/libICE.so.6.3
4e309000-4e30a000 rw-p 00013000 03:02 49561
/usr/X11R6/lib/libICE.so.6.3
4e30c000-4e3c6000 r-xp 00000000 03:06 5128243
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libfontmanager.so
4e3c6000-4e3e1000 rw-p 000b9000 03:06 5128243
/usr0/schmerl/j2sdk1.4.2_05/jre/lib/i386/libfontmanager.so
4e3e2000-4e419000 r-xp 00000000 03:02 295521
/usr/lib/libgnomevfs-2.so.0.0.0
4e419000-4e41b000 rw-p 00036000 03:02 295521
/usr/lib/libgnomevfs-2.so.0.0.0
4e41b000-4e4a3000 r-xp 00000000 03:02 295538
/usr/lib/libgnomeui-2.so.0.200.0
4e4a3000-4e4a6000 rw-p 00088000 03:02 295538
/usr/lib/libgnomeui-2.so.0.200.0
4e4a6000-4e4d9000 r-xp 00000000 03:02 295517
/usr/lib/libgconf-2.so.4.1.0
4e4d9000-4e4dc000 rw-p 00033000 03:02 295517
/usr/lib/libgconf-2.so.4.1.0
4e4dc000-4e515000 r-xp 00000000 03:02 295480
/usr/lib/libORBit-2.so.0.0.0
4e515000-4e51e000 rw-p 00038000 03:02 295480
/usr/lib/libORBit-2.so.0.0.0
4e51e000-4e5fd000 r-xp 00000000 03:02 295206 /usr/lib/libxml2.so.2.5.4
4e5fd000-4e608000 rw-p 000de000 03:02 295206 /usr/lib/libxml2.so.2.5.4
4e609000-4e615000 r-xp 00000000 03:02 294585 /usr/lib/libz.so.1.1.4
4e615000-4e617000 rw-p 0000b000 03:02 294585 /usr/lib/libz.so.1.1.4
4e617000-4e61f000 r-xp 00000000 03:06 7536870
/usr0/schmerl/workspace/.metadata/.plugins/org.eclipse.pde.c ore/AcmeStudio/org.eclipse.osgi/bundles/22/1/.cp/libswt-cair o-gtk-3138.so
4e61f000-4e620000 rw-p 00007000 03:06 7536870
/usr0/schmerl/workspace/.metadata/.plugins/org.eclipse.pde.c ore/AcmeStudio/org.eclipse.osgi/bundles/22/1/.cp/libswt-cair o-gtk-3138.so
4e620000-4e632000 r--p 00000000 03:02 99047
/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa
4e632000-4e664000 r-xp 00000000 03:01 69698 /lib/libssl.so.0.9.7a
4e664000-4e667000 rw-p 00032000 03:01 69698 /lib/libssl.so.0.9.7a
4e667000-4e743000 r-xp 00000000 03:01 69697 /lib/libcrypto.so.0.9.7a
4e743000-4e755000 rw-p 000db000 03:01 69697 /lib/libcrypto.so.0.9.7a
4e758000-4e75e000 r-xp 00000000 03:01 69667 /lib/librt-2.3.2.so
4e75e000-4e760000 rw-p 00005000 03:01 69667 /lib/librt-2.3.2.so
4e76a000-4e7b8000 r-xp 00000000 03:02 295492
/usr/lib/libbonobo-2.so.0.0.0
4e7b8000-4e7c1000 rw-p 0004e000 03:02 295492
/usr/lib/libbonobo-2.so.0.0.0
4e7c1000-4e7c8000 r-xp 00000000 03:02 295467 /usr/lib/libesd.so.0.2.28
4e7c8000-4e7c9000 rw-p 00006000 03:02 295467 /usr/lib/libesd.so.0.2.28
4e7c9000-4e7eb000 r-xp 00000000 03:02 295455
/usr/lib/libaudiofile.so.0.0.2
4e7eb000-4e7ee000 rw-p 00021000 03:02 295455
/usr/lib/libaudiofile.so.0.0.2
4e7ee000-4e7f5000 r-xp 00000000 03:02 294524 /usr/lib/libpopt.so.0.0.0
4e7f5000-4e7f6000 rw-p 00006000 03:02 294524 /usr/lib/libpopt.so.0.0.0
4e7f6000-4e855000 r-xp 00000000 03:02 295536
/usr/lib/libbonoboui-2.so.0.0.0
4e855000-4e858000 rw-p 0005f000 03:02 295536
/usr/lib/libbonoboui-2.so.0.0.0
4e858000-4e884000 r-xp 00000000 03:02 295530
/usr/lib/libgnomecanvas-2.so.0.200.0
4e884000-4e885000 rw-p 0002c000 03:02 295530
/usr/lib/libgnomecanvas-2.so.0.200.0
4e885000-4e89a000 r-xp 00000000 03:02 295474
/usr/lib/libart_lgpl_2.so.2.3.11
4e89a000-4e89b000 rw-p 00015000 03:02 295474
/usr/lib/libart_lgpl_2.so.2.3.11
4e89b000-4e8bc000 r-xp 00000000 03:02 295497
/usr/lib/libpangoft2-1.0.so.0.200.1
4e8bc000-4e8bd000 rw-p 00021000 03:02 295497
/usr/lib/libpangoft2-1.0.so.0.200.1
4e8bd000-4e8da000 r-xp 00000000 03:02 295178 /usr/lib/libjpeg.so.62.0.0
4e8da000-4e8db000 rw-p 0001d000 03:02 295178 /usr/lib/libjpeg.so.62.0.0
4e8db000-4e8ea000 r-xp 00000000 03:01 69665 /lib/libresolv-2.3.2.so
4e8ea000-4e8eb000 rw-p 0000f000 03:01 69665 /lib/libresolv-2.3.2.so
4e8ed000-4e8ff000 r-xp 00000000 03:02 163793
/usr/kerberos/lib/libgssapi_krb5.so.2.2
4e8ff000-4e900000 rw-p 00011000 03:02 163793
/usr/kerberos/lib/libgssapi_krb5.so.2.2
4e900000-4e95c000 r-xp 00000000 03:02 163807
/usr/kerberos/lib/libkrb5.so.3.1
4e95c000-4e95e000 rw-p 0005c000 03:02 163807
/usr/kerberos/lib/libkrb5.so.3.1
4e95e000-4e96d000 r-xp 00000000 03:02 163797
/usr/kerberos/lib/libk5crypto.so.3.0
4e96d000-4e96e000 rw-p 0000f000 03:02 163797
/usr/kerberos/lib/libk5crypto.so.3.0
4e96e000-4e99e000 r-xp 00000000 03:06 2097431
/usr0/schmerl/eclipse-3.1/libcairo.so.1
4e99e000-4e99f000 rw-p 00030000 03:06 2097431
/usr0/schmerl/eclipse-3.1/libcairo.so.1

Heap at VM Abort:
Heap
def new generation total 576K, used 155K [0x44760000, 0x44800000,
0x44c40000)
eden space 512K, 27% used [0x44760000, 0x447839c8, 0x447e0000)
from space 64K, 20% used [0x447e0000, 0x447e3430, 0x447f0000)
to space 64K, 0% used [0x447f0000, 0x447f0000, 0x44800000)
tenured generation total 5568K, used 4077K [0x44c40000, 0x451b0000,
0x48760000)
the space 5568K, 73% used [0x44c40000, 0x4503b498, 0x4503b600,
0x451b0000)
compacting perm gen total 20736K, used 20723K [0x48760000,
0x49ba0000, 0x4c760000)
the space 20736K, 99% used [0x48760000, 0x49b9cfa0, 0x49b9d000,
0x49ba0000)

Local Time = Mon Jul 11 18:21:13 2005
Elapsed Time = 19
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode)
#
# An error report file has been saved as hs_err_pid9323.log.
# Please refer to the file for further information.
#
Re: Cairo rectangle clipping causing JVM crash [message #458251 is a reply to message #458247] Tue, 12 July 2005 02:39 Go to previous messageGo to next message
Randy Hudson is currently offline Randy HudsonFriend
Messages: 123
Registered: July 2009
Senior Member
Are you specifically calling setAntialias(SWT.OFF)? You must be doing
something to trigger the use of Cairo, otherwise the library sohuldn't get
loaded.

"Bradley Schmerl" <schmerl@cs.cmu.edu> wrote in message
news:dausdp$c4g$1@news.eclipse.org...
> Hi:
>
> I am having a problem on Linux with a JVM crash in Cairo. The same code
> works on Windows, and it frequently causes a crash on Linux. I have a
> plugin that uses GEF that is trying to draw a repository-style figure on
> the screen. I'm using Eclipse 3.1 and GEF 3.1, with advanced graphics
> features (anti-aliasing) turned OFF (it also happens when I have it turned
> on).
>
> Any help will be much appreciated - it's blocking my migration to 3.1.
>
> I'm also cross-posting this to eclipse.tools.gef forum.
>
> Cheers,
> Bradley.
Re: Cairo rectangle clipping causing JVM crash [message #458255 is a reply to message #458247] Tue, 12 July 2005 12:07 Go to previous messageGo to next message
Billy Biggs is currently offline Billy BiggsFriend
Messages: 94
Registered: July 2009
Member
Bradley Schmerl wrote:
> Hi:
>
> I am having a problem on Linux with a JVM crash in Cairo. The same code
> works on Windows, and it frequently causes a crash on Linux.

Can you post a bug report at bugs.eclipse.org/bugs against
Platform > SWT with the code and JVM log?

Thanks,
-Billy
Re: Cairo rectangle clipping causing JVM crash [message #458266 is a reply to message #458251] Tue, 12 July 2005 14:10 Go to previous messageGo to next message
Bradley Schmerl is currently offline Bradley SchmerlFriend
Messages: 26
Registered: July 2009
Junior Member
Randy Hudson wrote:
> Are you specifically calling setAntialias(SWT.OFF)? You must be doing
> something to trigger the use of Cairo, otherwise the library sohuldn't get
> loaded.

Yes. I am calling setAntialias (SWT.OFF). I guess a workaround would be
not to call any of the advanced graphics routines if I'm on Linux.

>
> "Bradley Schmerl" <schmerl@cs.cmu.edu> wrote in message
> news:dausdp$c4g$1@news.eclipse.org...
>
>>Hi:
>>
>>I am having a problem on Linux with a JVM crash in Cairo. The same code
>>works on Windows, and it frequently causes a crash on Linux. I have a
>>plugin that uses GEF that is trying to draw a repository-style figure on
>>the screen. I'm using Eclipse 3.1 and GEF 3.1, with advanced graphics
>>features (anti-aliasing) turned OFF (it also happens when I have it turned
>>on).
>>
>>Any help will be much appreciated - it's blocking my migration to 3.1.
>>
>>I'm also cross-posting this to eclipse.tools.gef forum.
>>
>>Cheers,
>>Bradley.
>
>
>
Re: Cairo rectangle clipping causing JVM crash [message #458269 is a reply to message #458255] Tue, 12 July 2005 14:19 Go to previous messageGo to next message
Bradley Schmerl is currently offline Bradley SchmerlFriend
Messages: 26
Registered: July 2009
Junior Member
Done. It is now bug 103486.

Thanks,
Bradley.

Billy Biggs wrote:

> Bradley Schmerl wrote:
>
>> Hi:
>>
>> I am having a problem on Linux with a JVM crash in Cairo. The same
>> code works on Windows, and it frequently causes a crash on Linux.
>
>
> Can you post a bug report at bugs.eclipse.org/bugs against
> Platform > SWT with the code and JVM log?
>
> Thanks,
> -Billy
Re: Cairo rectangle clipping causing JVM crash [message #458270 is a reply to message #458266] Tue, 12 July 2005 14:24 Go to previous message
Randy Hudson is currently offline Randy HudsonFriend
Messages: 123
Registered: July 2009
Senior Member
Turning it OFF actually turns advanced graphics ON. There is no reason to
make that call on any platform except Mac, where the default is AA on.

> Yes. I am calling setAntialias (SWT.OFF). I guess a workaround would be
> not to call any of the advanced graphics routines if I'm on Linux.
Previous Topic:Docking Multiple ViewParts in an ApplicationWindow
Next Topic:Simple table editor
Goto Forum:
  


Current Time: Fri Apr 19 12:22:21 GMT 2024

Powered by FUDForum. Page generated in 0.02240 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top