Project: SWT
Bug 113342 Disposing a font still in use by a GC causes crashes
Reported: 2005-10-21 07:14:39 | Status: resolved fixed

Snippet to reproduce exception: public void paintFigure(Graphics g) { FontData[] fd = g.getFont().getFontData(); for (int i=0 ; i < fd.length ; i++) { fd[i].setStyle(SWT.BOLD | SWT.ITALIC); } Font font = new Font(null, fd); g.setFont(font); super.paintFigure(g); // Here, some text is drawn font.dispose(); // This is were the trouble comes from g.setForegroundColor(ColorConstants.black); g.setAntialias(SWT.ON); // Here it crashes g.drawOval(getBounds().getCopy().shrink(1, 1)); g.setAntialias(SWT.OFF); } The problem is the font being disposed before g.setAntialias(SWT.ON) is called. Postponing disposing the font to the end of the method fixes the problem. However it is not clear from the javadoc that setAntialias() needs some font being set - and even if,... it shouldn't crash this way ;) Tested SWT versions: 3.1 -> CVS Thanks a lot! An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0xAA63B019 Function=Java_org_eclipse_swt_internal_gtk_OS_strlen+0xF Library=/home/fabian/workspace/org.eclipse.swt.gtk.linux.x86/libswt-pi-gtk-3210.so Current Java thread: at org.eclipse.swt.internal.gtk.OS.strlen(Native Method) at org.eclipse.swt.graphics.GC.setCairoFont(GC.java:2689) at org.eclipse.swt.graphics.GC.initCairo(GC.java:2469) at org.eclipse.swt.graphics.GC.setAntialias(GC.java:2631) at org.eclipse.draw2d.SWTGraphics.reconcileHints(SWTGraphics.java:795) at org.eclipse.draw2d.SWTGraphics.checkGC(SWTGraphics.java:282) at org.eclipse.draw2d.SWTGraphics.checkPaint(SWTGraphics.java:292) at org.eclipse.draw2d.SWTGraphics.drawOval(SWTGraphics.java:393) at org.eclipse.draw2d.Graphics.drawOval(Graphics.java:193) at de.dd.ferkel.gef.figure.custom.systemprofil.AufgabeFigure.paintFigure(AufgabeFigure.java:123) at org.eclipse.draw2d.Figure.paint(Figure.java:1053) 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:156) 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.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: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.Figure.paintClientArea(Figure.java:1123) at org.eclipse.draw2d.ScalableFreeformLayeredPane.paintClientArea(ScalableFreeformLayeredPane.java:61) 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:156) 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(DeferredUpdateManager.java:225) at org.eclipse.draw2d.DeferredUpdateManager.performUpdate(DeferredUpdateManager.java:145) - locked <0xac19b808> (a org.eclipse.draw2d.DeferredUpdateManager) at de.dd.ferkel.gef.part.DiagramPart$1.commandStackChanged(DiagramPart.java:79) at org.eclipse.gef.commands.CommandStack.notifyListeners(CommandStack.java:254) at org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:142) at org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTool.java:388) at org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(AbstractTool.java:400) at org.eclipse.gef.tools.CreationTool.performCreation(CreationTool.java:254) at org.eclipse.gef.tools.CreationTool.handleButtonUp(CreationTool.java:178) at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java:1053) at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:259) at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseReleased(DomainEventDispatcher.java:374) at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(LightweightSystem.java:547) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:137) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1051) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2946) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2634) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1734) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1698) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at de.dd.ferkel.FerkelApplication.run(FerkelApplication.java:64) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Dynamic libraries: 08048000-08056000 r-xp 00000000 03:07 760637 /opt/sun-jdk-1.4.2.08/jre/bin/java 08056000-08059000 rwxp 0000d000 03:07 760637 /opt/sun-jdk-1.4.2.08/jre/bin/java 08059000-08cab000 rwxp 08059000 00:00 0 [heap] a96ca000-a96da000 r-xp 00000000 03:07 3346261 /usr/share/fonts/TTF/VeraBI.ttf a96db000-a96ea000 r-xp 00000000 03:07 725500 /usr/share/icons/hicolor/icon-theme.cache a96ea000-a96f3000 r-xp 00000000 03:07 3589421 /home/fabian/workspace/org.eclipse.swt.gtk.linux.x86/libswt-cairo-gtk-3210.so a96f3000-a96f4000 rwxp 00008000 03:07 3589421 /home/fabian/workspace/org.eclipse.swt.gtk.linux.x86/libswt-cairo-gtk-3210.so a96f4000-a97ae000 r-xp 00000000 03:07 761102 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libfontmanager.so a97ae000-a97c9000 rwxp 000b9000 03:07 761102 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libfontmanager.so a97ca000-a97df000 r-xp 00000000 03:07 3339624 /usr/lib/libICE.so.6.3 a97df000-a97e0000 rwxp 00014000 03:07 3339624 /usr/lib/libICE.so.6.3 a97e2000-a97ea000 r-xp 00000000 03:07 3339592 /usr/lib/libSM.so.6.0 a97ea000-a97eb000 rwxp 00007000 03:07 3339592 /usr/lib/libSM.so.6.0 a97eb000-a9837000 r-xp 00000000 03:07 3339634 /usr/lib/libXt.so.6.0 a9837000-a983a000 rwxp 0004c000 03:07 3339634 /usr/lib/libXt.so.6.0 a983b000-a9842000 r-xp 00000000 03:07 3339422 /usr/lib/libXp.so.6.2 a9842000-a9843000 rwxp 00006000 03:07 3339422 /usr/lib/libXp.so.6.2 a9843000-a9896000 r-xp 00000000 03:07 761111 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libmlib_image.so a9896000-a9897000 rwxp 00052000 03:07 761111 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libmlib_image.so a9897000-a9b68000 r-xp 00000000 03:07 761130 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libawt.so a9b68000-a9b7e000 rwxp 002d0000 03:07 761130 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libawt.so a9ba3000-a9ba7000 r-xs 00000000 03:07 2677745 /usr/lib/eclipse-3.2/plugins/org.eclipse.gef.nl1_3.1.0/nl1.jar a9ba7000-a9bbd000 r-xs 00000000 03:07 2673269 /usr/lib/eclipse-3.2/plugins/org.eclipse.core.resources.nl1_3.0.1/nl1.jar a9bbd000-a9bcc000 r-xp 00000000 03:07 3346262 /usr/share/fonts/TTF/VeraBd.ttf a9bcc000-a9bd2000 r-xp 00000000 03:07 3589419 /home/fabian/workspace/org.eclipse.swt.gtk.linux.x86/libswt-atk-gtk-3210.so a9bd2000-a9bd3000 rwxp 00005000 03:07 3589419 /home/fabian/workspace/org.eclipse.swt.gtk.linux.x86/libswt-atk-gtk-3210.so a9bd3000-a9be4000 r-xp 00000000 03:07 3346260 /usr/share/fonts/TTF/Vera.ttf a9be4000-a9be6000 r-xp 00000000 03:07 3394891 /usr/lib/pango/1.4.0/modules/pango-basic-fc.so a9be6000-a9be7000 rwxp 00001000 03:07 3394891 /usr/lib/pango/1.4.0/modules/pango-basic-fc.so a9be7000-a9c47000 rwxs 00000000 00:07 1179659 /SYSV00000000 (deleted) a9c47000-a9cc9000 r-xs 00000000 03:07 937807 /home/fabian/workspace/de.dd.ferkel/jars/xseu.jar a9cc9000-a9d79000 r-xs 00000000 03:07 976958 /home/fabian/workspace/de.dd.ferkel/jars/jython.jar a9d79000-a9dd9000 rwxs 00000000 00:07 1114118 /SYSV00000000 (deleted) a9dd9000-a9dff000 r-xp 00000000 03:07 3589424 /home/fabian/workspace/org.eclipse.swt.gtk.linux.x86/libswt-gtk-3210.so a9dff000-a9e01000 rwxp 00025000 03:07 3589424 /home/fabian/workspace/org.eclipse.swt.gtk.linux.x86/libswt-gtk-3210.so a9e02000-a9e03000 r-xp 00000000 03:07 3339322 /usr/lib/X11/locale/lib/common/xlcUTF8Load.so.2 a9e03000-a9e04000 rwxp 00000000 03:07 3339322 /usr/lib/X11/locale/lib/common/xlcUTF8Load.so.2 a9e04000-a9edc000 r-xp 00000000 03:07 3382446 /usr/lib/locale/en_US.utf8/LC_COLLATE a9edc000-a9f00000 r-xp 00000000 03:07 182654 /usr/lib/libexpat.so.0.5.0 a9f00000-a9f02000 rwxp 00023000 03:07 182654 /usr/lib/libexpat.so.0.5.0 a9f02000-a9f24000 r-xp 00000000 03:07 2204843 /usr/lib/libglitz.so.1.0.0 a9f24000-a9f25000 rwxp 00022000 03:07 2204843 /usr/lib/libglitz.so.1.0.0 a9f25000-a9f48000 r-xp 00000000 03:07 2204903 /usr/lib/libpng12.so.0.1.2.8 a9f48000-a9f49000 rwxp 00022000 03:07 2204903 /usr/lib/libpng12.so.0.1.2.8 a9f49000-a9f5b000 r-xp 00000000 03:07 375407 /lib/libz.so.1.2.3 a9f5b000-a9f5c000 rwxp 00011000 03:07 375407 /lib/libz.so.1.2.3 a9f5c000-a9f5e000 r-xs 00000000 03:07 3389415 /usr/lib/eclipse-3.2/plugins/org.eclipse.ui.views.nl1_3.0.0/nl1.jar a9f5e000-a9f61000 rwxs 00000000 00:07 1146890 /SYSV00000000 (deleted) a9f61000-a9f6a000 r-xs 00000000 03:07 2676877 /usr/lib/eclipse-3.2/plugins/org.eclipse.jface.nl1_3.0.0/nl1.jar a9f6a000-a9f6b000 r-xp 00000000 03:07 3379958 /usr/lib/gconv/ISO8859-1.so a9f6b000-a9f6d000 rwxp 00001000 03:07 3379958 /usr/lib/gconv/ISO8859-1.so a9f6d000-a9f6e000 r-xp 00000000 03:07 3382440 /usr/lib/locale/en_US.utf8/LC_NUMERIC a9f6e000-a9f6f000 r-xp 00000000 03:07 3382445 /usr/lib/locale/en_US.utf8/LC_TIME a9f6f000-a9f70000 r-xp 00000000 03:07 3382449 /usr/lib/locale/en_US.utf8/LC_MONETARY a9f70000-a9f71000 r-xp 00000000 03:07 3382474 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES a9f71000-a9f72000 r-xp 00000000 03:07 3382476 /usr/lib/locale/en_US.utf8/LC_PAPER a9f72000-a9f73000 r-xp 00000000 03:07 3382478 /usr/lib/locale/en_US.utf8/LC_NAME a9f73000-a9f74000 r-xp 00000000 03:07 3382492 /usr/lib/locale/en_US.utf8/LC_ADDRESS a9f74000-a9f75000 r-xp 00000000 03:07 3382494 /usr/lib/locale/en_US.utf8/LC_TELEPHONE a9f75000-a9f76000 r-xp 00000000 03:07 3382495 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT a9f76000-a9fdd000 r-xp 00000000 03:07 2203565 /usr/lib/libfreetype.so.6.3.8 a9fdd000-a9fe0000 rwxp 00067000 03:07 2203565 /usr/lib/libfreetype.so.6.3.8 a9fe0000-aa003000 r-xp 00000000 03:07 3394638 /usr/lib/libpangoft2-1.0.so.0.1001.0 aa003000-aa004000 rwxp 00023000 03:07 3394638 /usr/lib/libpangoft2-1.0.so.0.1001.0 aa004000-aa008000 r-xp 00000000 03:07 3339347 /usr/lib/libXfixes.so.3.0 aa008000-aa009000 rwxp 00003000 03:07 3339347 /usr/lib/libXfixes.so.3.0 aa009000-aa010000 r-xp 00000000 03:07 3339628 /usr/lib/libXrender.so.1.2.2 aa010000-aa011000 rwxp 00006000 03:07 3339628 /usr/lib/libXrender.so.1.2.2 aa011000-aa019000 r-xp 00000000 03:07 3339668 /usr/lib/libXcursor.so.1.0.2 aa019000-aa01a000 rwxp 00007000 03:07 3339668 /usr/lib/libXcursor.so.1.0.2 aa01a000-aa047000 r-xp 00000000 03:07 790106 /usr/lib/libfontconfig.so.1.0.4 aa047000-aa04c000 rwxp 0002c000 03:07 790106 /usr/lib/libfontconfig.so.1.0.4 aa04d000-aa04f000 r-xp 00000000 03:07 3339612 /usr/lib/libXinerama.so.1.0 aa04f000-aa050000 rwxp 00001000 03:07 3339612 /usr/lib/libXinerama.so.1.0 aa050000-aa057000 r-xp 00000000 03:07 3339596 /usr/lib/libXi.so.6.0 aa057000-aa058000 rwxp 00006000 03:07 3339596 /usr/lib/libXi.so.6.0 aa058000-aa05a000 r-xp 00000000 03:07 3339428 /usr/lib/libXrandr.so.2.0 aa05a000-aa05b000 rwxp 00002000 03:07 3339428 /usr/lib/libXrandr.so.2.0 aa05b000-aa068000 r-xp 00000000 03:07 3339650 /usr/lib/libXext.so.6.4 aa068000-aa069000 rwxp 0000c000 03:07 3339650 /usr/lib/libXext.so.6.4 aa069000-aa0b1000 r-xp 00000000 03:07 3395363 /usr/lib/libcairo.so.2.2.3 aa0b1000-aa0b2000 rwxp 00048000 03:07 3395363 /usr/lib/libcairo.so.2.2.3 aa0b2000-aa131000 r-xp 00000000 03:07 3394741 /usr/lib/libglib-2.0.so.0.800.2 aa131000-aa132000 rwxp 0007f000 03:07 3394741 /usr/lib/libglib-2.0.so.0.800.2 aa132000-aa134000 r-xp 00000000 03:07 3394500 /usr/lib/libgmodule-2.0.so.0.800.2 aa134000-aa135000 rwxp 00002000 03:07 3394500 /usr/lib/libgmodule-2.0.so.0.800.2 aa135000-aa16b000 r-xp 00000000 03:07 3394768 /usr/lib/libgobject-2.0.so.0.800.2 aa16b000-aa16c000 rwxp 00036000 03:07 3394768 /usr/lib/libgobject-2.0.so.0.800.2 aa16c000-aa183000 r-xp 00000000 03:07 2205008 /usr/lib/libatk-1.0.so.0.1010.3 aa183000-aa185000 rwxp 00016000 03:07 2205008 /usr/lib/libatk-1.0.so.0.1010.3 aa185000-aa1b9000 r-xp 00000000 03:07 3395439 /usr/lib/libpango-1.0.so.0.1001.0 aa1b9000-aa1bb000 rwxp 00034000 03:07 3395439 /usr/lib/libpango-1.0.so.0.1001.0 aa1bb000-aa1c1000 r-xp 00000000 03:07 3395632 /usr/lib/libpangocairo-1.0.so.0.1001.0 aa1c1000-aa1c2000 rwxp 00005000 03:07 3395632 /usr/lib/libpangocairo-1.0.so.0.1001.0 aa1c2000-aa286000 r-xp 00000000 03:07 3339339 /usr/lib/libX11.so.6.2 aa286000-aa28a000 rwxp 000c4000 03:07 3339339 /usr/lib/libX11.so.6.2 aa28a000-aa304000 r-xp 00000000 03:07 3400871 /usr/lib/libgdk-x11-2.0.so.0.800.6 aa304000-aa307000 rwxp 00079000 03:07 3400871 /usr/lib/libgdk-x11-2.0.so.0.800.6 aa307000-aa31b000 r-xp 00000000 03:07 3400915 /usr/lib/libgdk_pixbuf-2.0.so.0.800.6 aa31b000-aa31c000 rwxp 00013000 03:07 3400915 /usr/lib/libgdk_pixbuf-2.0.so.0.800.6 aa31c000-aa320000 r-xp 00000000 03:07 3339350 /usr/lib/libXtst.so.6.1 aa320000-aa321000 rwxp 00003000 03:07 3339350 /usr/lib/libXtst.so.6.1 aa321000-aa324000 r-xp 00000000 03:07 3394674 /usr/lib/libgthread-2.0.so.0.800.2 aa324000-aa325000 rwxp 00003000 03:07 3394674 /usr/lib/libgthread-2.0.so.0.800.2 aa325000-aa5f8000 r-xp 00000000 03:07 3400846 /usr/lib/libgtk-x11-2.0.so.0.800.6 aa5f8000-aa600000 rwxp 002d3000 03:07 3400846 /usr/lib/libgtk-x11-2.0.so.0.800.6 aa603000-aa647000 r-xp 00000000 03:07 3589426 /home/fabian/workspace/org.eclipse.swt.gtk.linux.x86/libswt-pi-gtk-3210.so aa647000-aa649000 rwxp 00044000 03:07 3589426 /home/fabian/workspace/org.eclipse.swt.gtk.linux.x86/libswt-pi-gtk-3210.so aa649000-aa674000 r-xs 00000000 03:07 2672359 /usr/lib/eclipse-3.2/plugins/org.eclipse.ui.workbench.nl1_3.0.1/nl1.jar aa776000-aa7e2000 r-xs 00000000 03:07 2673365 /usr/lib/eclipse-3.2/plugins/org.eclipse.ui.workbench.texteditor_3.1.0.jar aa7e2000-aa7f2000 r-xs 00000000 03:07 2677179 /usr/lib/eclipse-3.2/plugins/org.eclipse.ui.views_3.2.0.jar aa7f2000-aa825000 r-xs 00000000 03:07 2673410 /usr/lib/eclipse-3.2/plugins/org.eclipse.ui.forms_3.1.0.jar aa825000-aa84d000 r-xs 00000000 03:07 2673585 /usr/lib/eclipse-3.2/plugins/org.eclipse.ui.cheatsheets_3.1.0.jar aa84d000-aa86b000 r-xs 00000000 03:07 2675521 /usr/lib/eclipse-3.2/plugins/org.eclipse.ui_3.2.0.jar aa86b000-aa898000 r-xs 00000000 03:07 3389361 /usr/lib/eclipse-3.2/plugins/org.eclipse.text_3.1.0.jar aa898000-aa93c000 r-xs 00000000 03:07 2673108 /usr/lib/eclipse-3.2/plugins/org.eclipse.jface.text_3.1.0.jar aa93c000-aa9e0000 r-xs 00000000 03:07 2673767 /usr/lib/eclipse-3.2/plugins/org.eclipse.jface_3.2.0.jar aa9e0000-aaa3a000 r-xs 00000000 03:07 2676800 /usr/lib/eclipse-3.2/plugins/org.eclipse.help.ui_3.1.0.jar aaa3a000-aaa6f000 r-xs 00000000 03:07 3389545 /usr/lib/eclipse-3.2/plugins/org.eclipse.help.base_3.1.0.jar aaa6f000-aaa80000 r-xs 00000000 03:07 2676141 /usr/lib/eclipse-3.2/plugins/org.eclipse.help_3.1.0.jar aaa80000-aab36000 r-xs 00000000 03:07 2676140 /usr/lib/eclipse-3.2/plugins/org.eclipse.gef_3.2.0.jar aab36000-aaba8000 r-xs 00000000 03:07 2673679 /usr/lib/eclipse-3.2/plugins/org.eclipse.draw2d_3.2.0.jar aaba8000-aabaf000 r-xs 00000000 03:07 2677678 /usr/lib/eclipse-3.2/plugins/org.eclipse.core.variables_3.1.0.jar aabaf000-aabc4000 r-xs 00000000 03:07 2678133 /usr/lib/eclipse-3.2/plugins/org.eclipse.core.runtime.compatibility_3.1.0.jar aabc4000-aabcb000 r-xs 00000000 03:07 2677839 /usr/lib/eclipse-3.2/plugins/org.eclipse.core.resources.linux_3.1.0.jar aabcb000-aabe7000 r-xs 00000000 03:07 2676856 /usr/lib/eclipse-3.2/plugins/org.eclipse.core.resources.compatibility_3.1.0.jar aabe7000-aac7d000 r-xs 00000000 03:07 2677349 /usr/lib/eclipse-3.2/plugins/org.eclipse.core.resources_3.1.0.jar aac7d000-aac93000 r-xs 00000000 03:07 2673153 /usr/lib/eclipse-3.2/plugins/org.eclipse.core.filebuffers_3.1.0.jar aac93000-aaca0000 r-xs 00000000 03:07 2677683 /usr/lib/eclipse-3.2/plugins/org.eclipse.core.expressions_3.1.0.jar aaca0000-aacb1000 r-xs 00000000 03:07 3389552 /usr/lib/eclipse-3.2/plugins/org.eclipse.core.commands_3.2.0.jar aacb1000-aacc7000 r-xs 00000000 03:07 2673109 /usr/lib/eclipse-3.2/plugins/org.eclipse.ant.core_3.1.0.jar aad48000-aad5f000 r-xs 00000000 03:07 2673149 /usr/lib/eclipse-3.2/plugins/org.eclipse.update.configurator_3.1.0.jar aade0000-aae4f000 r-xs 00000000 03:07 2676815 /usr/lib/eclipse-3.2/plugins/org.eclipse.core.runtime_3.1.0.jar aaed0000-aaee0000 r-xp 00000000 03:07 760660 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libnet.so aaee0000-aaee1000 rwxp 0000f000 03:07 760660 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libnet.so aaee1000-aaf98000 r-xs 00000000 03:07 2676137 /usr/lib/eclipse-3.2/plugins/org.eclipse.osgi_3.1.0.jar aaf98000-aafa0000 r-xs 00000000 03:07 262058 /usr/lib/eclipse-3.2/startup.jar aafa0000-ab05c000 r-xs 00000000 03:07 761093 /opt/sun-jdk-1.4.2.08/jre/lib/ext/localedata.jar ab05c000-ab069000 r-xs 00000000 03:07 761092 /opt/sun-jdk-1.4.2.08/jre/lib/ext/ldapsec.jar ab069000-ab085000 r-xs 00000000 03:07 761091 /opt/sun-jdk-1.4.2.08/jre/lib/ext/sunjce_provider.jar ab40c000-ab437000 r-xp 00000000 03:07 761119 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libjdwp.so ab437000-ab439000 rwxp 0002a000 03:07 761119 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libjdwp.so ab43c000-ab442000 r-xs 00000000 03:07 1400447 /usr/lib/gconv/gconv-modules.cache ab442000-ab475000 r-xp 00000000 03:07 3382437 /usr/lib/locale/en_US.utf8/LC_CTYPE ab475000-ab59d000 r-xp 00000000 03:07 1434541 /usr/lib/locale/locale-archive b37a0000-b37a1000 r-xp 00000000 03:07 3382496 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION b37a1000-b37a2000 r-xs 00000000 03:07 3389622 /usr/lib/eclipse-3.2/plugins/org.eclipse.ui.workbench.compatibility_3.2.0/compatibility.jar b37a2000-b37a8000 r-xp 00000000 03:07 761096 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libnio.so b37a8000-b37a9000 rwxp 00005000 03:07 761096 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libnio.so b5851000-b5df1000 r-xs 00000000 03:07 761229 /opt/sun-jdk-1.4.2.08/jre/lib/charsets.jar b5df1000-b5e02000 r-xs 00000000 03:07 761239 /opt/sun-jdk-1.4.2.08/jre/lib/jce.jar b5e02000-b5edf000 r-xs 00000000 03:07 761163 /opt/sun-jdk-1.4.2.08/jre/lib/jsse.jar b5edf000-b5ef5000 r-xs 00000000 03:07 761190 /opt/sun-jdk-1.4.2.08/jre/lib/sunrsasign.jar b5f3f000-b78ea000 r-xs 00000000 03:07 761231 /opt/sun-jdk-1.4.2.08/jre/lib/rt.jar b78ea000-b78fe000 r-xp 00000000 03:07 761104 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libzip.so b78fe000-b7901000 rwxp 00013000 03:07 761104 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libzip.so b7901000-b7921000 r-xp 00000000 03:07 761115 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libjava.so b7921000-b7923000 rwxp 0001f000 03:07 761115 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libjava.so b7923000-b792b000 r-xp 00000000 03:07 3378753 /lib/libnss_files-2.3.5.so b792b000-b792d000 rwxp 00007000 03:07 3378753 /lib/libnss_files-2.3.5.so b792d000-b7933000 r-xp 00000000 03:07 3379268 /lib/libnss_compat-2.3.5.so b7933000-b7935000 rwxp 00006000 03:07 3379268 /lib/libnss_compat-2.3.5.so b7935000-b7939000 r-xs 00000000 03:07 2673151 /usr/lib/eclipse-3.2/plugins/org.eclipse.help.appserver_3.1.0.jar b7939000-b793c000 r-xp 00000000 03:07 761125 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libdt_socket.so b793c000-b793d000 rwxp 00002000 03:07 761125 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libdt_socket.so b793d000-b794d000 r-xp 00000000 03:07 761098 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libverify.so b794d000-b794f000 rwxp 0000f000 03:07 761098 /opt/sun-jdk-1.4.2.08/jre/lib/i386/libverify.so b794f000-b796f000 r-xp 00000000 03:07 3376861 /lib/tls/libm-2.3.5.so b796f000-b7971000 rwxp 00020000 03:07 3376861 /lib/tls/libm-2.3.5.so b7971000-b7982000 r-xp 00000000 03:07 3379272 /lib/libnsl-2.3.5.so b7982000-b7984000 rwxp 00010000 03:07 3379272 /lib/libnsl-2.3.5.so b7986000-b7d8c000 r-xp 00000000 03:07 761109 /opt/sun-jdk-1.4.2.08/jre/lib/i386/client/libjvm.so b7d8c000-b7da7000 rwxp 00405000 03:07 761109 /opt/sun-jdk-1.4.2.08/jre/lib/i386/client/libjvm.so b7dbb000-b7ec9000 r-xp 00000000 03:07 3377111 /lib/tls/libc-2.3.5.so b7ec9000-b7eca000 r-xp 0010e000 03:07 3377111 /lib/tls/libc-2.3.5.so b7eca000-b7ecd000 rwxp 0010f000 03:07 3377111 /lib/tls/libc-2.3.5.so b7ecf000-b7ed1000 r-xp 00000000 03:07 3379269 /lib/libdl-2.3.5.so b7ed1000-b7ed3000 rwxp 00001000 03:07 3379269 /lib/libdl-2.3.5.so b7ed3000-b7ee1000 r-xp 00000000 03:07 3382259 /lib/tls/libpthread-2.3.5.so b7ee1000-b7ee2000 r-xp 0000d000 03:07 3382259 /lib/tls/libpthread-2.3.5.so b7ee2000-b7ee3000 rwxp 0000e000 03:07 3382259 /lib/tls/libpthread-2.3.5.so b7ee6000-b7ee9000 r-xs 00000000 03:07 761090 /opt/sun-jdk-1.4.2.08/jre/lib/ext/dnsns.jar b7ee9000-b7eed000 rwxs 00000000 03:07 3494985 /tmp/hsperfdata_fabian/29386 b7eed000-b7ef5000 r-xp 00000000 03:07 3378826 /lib/libnss_nis-2.3.5.so b7ef5000-b7ef7000 rwxp 00007000 03:07 3378826 /lib/libnss_nis-2.3.5.so b7ef7000-b7eff000 r-xp 00000000 03:07 761105 /opt/sun-jdk-1.4.2.08/jre/lib/i386/native_threads/libhpi.so b7eff000-b7f00000 rwxp 00007000 03:07 761105 /opt/sun-jdk-1.4.2.08/jre/lib/i386/native_threads/libhpi.so b7f00000-b7f15000 r-xp 00000000 03:07 3381978 /lib/ld-2.3.5.so b7f15000-b7f16000 r-xp 00014000 03:07 3381978 /lib/ld-2.3.5.so b7f16000-b7f17000 rwxp 00015000 03:07 3381978 /lib/ld-2.3.5.so bf7f9000-bf815000 rwxp bf7f9000 00:00 0 [stack] ffffe000-fffff000 ---p 00000000 00:00 0 [vdso] Heap at VM Abort: Heap def new generation total 896K, used 220K [0xab7a0000, 0xab890000, 0xabc80000) eden space 832K, 25% used [0xab7a0000, 0xab7d53a0, 0xab870000) from space 64K, 12% used [0xab870000, 0xab871fc0, 0xab880000) to space 64K, 0% used [0xab880000, 0xab880000, 0xab890000) tenured generation total 10760K, used 5280K [0xabc80000, 0xac702000, 0xaf7a0000) the space 10760K, 49% used [0xabc80000, 0xac1a81b8, 0xac1a8200, 0xac702000) compacting perm gen total 15616K, used 15468K [0xaf7a0000, 0xb06e0000, 0xb37a0000) the space 15616K, 99% used [0xaf7a0000, 0xb06bb2e0, 0xb06bb400, 0xb06e0000) Local Time = Wed Oct 19 23:27:42 2005 Elapsed Time = 457 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode) # # An error report file has been saved as hs_err_pid29386.log. # Please refer to the file for further information.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java