Project: SWT
Bug 86145 VM Crash when running remotely via cygwin/X
Reported: 2005-02-22 11:08:01 | Status: resolved fixed

Using Cygwin 1.5.12 (0.116/4/2) and forwarding X from a Solaris 3.0.1 eclipse, the system fails to start with the following error: ssh -X eclipse.sun.box bash-2.05$ ./eclipse An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0xFF38058C Function=memcpy+0xB0 Library=/usr/platform/sun4u/lib/libc_psr.so.1 Current Java thread: at org.eclipse.swt.internal.motif.OS.memmove(Native Method) at org.eclipse.swt.graphics.Image.<init>(Image.java:245) at org.eclipse.swt.widgets.Label.setBitmap(Label.java:380) at org.eclipse.swt.widgets.Label.setImage(Label.java:462) at org.eclipse.jface.dialogs.TitleAreaDialog.createTitleArea(TitleAreaDialog.java:180) at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:107) at org.eclipse.jface.window.Window.create(Window.java:348) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:925) at org.eclipse.jface.window.Window.open(Window.java:637) at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.prompt(ChooseWorkspaceDialog.java:65) at org.eclipse.ui.internal.ide.IDEApplication.promptForWorkspace(IDEApplication.java:314) at org.eclipse.ui.internal.ide.IDEApplication.checkInstanceLocation(IDEApplication.java:219) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:83) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688) Dynamic libraries: 0x10000 /usr/bin/java 0xff360000 /usr/lib/libthread.so.1 0xff39a000 /usr/lib/libdl.so.1 0xff280000 /usr/lib/libc.so.1 0xff380000 /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1 0xfec00000 /usr/j2se/jre/lib/sparc/client/libjvm.so 0xff240000 /usr/lib/libCrun.so.1 0xff210000 /usr/lib/libsocket.so.1 0xff100000 /usr/lib/libnsl.so.1 0xff1c0000 /usr/lib/libm.so.1 0xff0e0000 /usr/lib/libsched.so.1 0xff0c0000 /usr/lib/libmp.so.2 0xff060000 /usr/j2se/jre/lib/sparc/native_threads/libhpi.so 0xfebd0000 /usr/j2se/jre/lib/sparc/libverify.so 0xfeb90000 /usr/j2se/jre/lib/sparc/libjava.so 0xff030000 /usr/j2se/jre/lib/sparc/libzip.so 0xfe1d0000 /usr/j2se/jre/lib/sparc/libnet.so 0xfc6e0000 /usr/j2se/jre/lib/sparc/libnio.so 0xfc6c0000 /usr/lib/librt.so.1 0xfc6a0000 /usr/lib/libaio.so.1 0xfc5e0000 /usr/lib/libmd5.so.1 0xfc5c0000 /usr/lib/libsendfile.so.1 0xfbe90000 /export/home/davidm/eclipse/plugins/org.eclipse.swt.motif_3.0.1/os/solaris/sparc/libswt-motif-3063.so 0xf0d00000 /usr/lib/libXm.so.4 0xfbd90000 /usr/openwin/lib/libXt.so.4 0xf0c00000 /usr/openwin/lib/libX11.so.4 0xfbfc0000 /usr/openwin/lib/libXp.so.1 0xfbfa0000 /usr/openwin/lib/libXtst.so.1 0xfbcd0000 /usr/openwin/lib/libXext.so.0 0xfbcb0000 /usr/openwin/lib/libSM.so.6 0xfbc80000 /usr/openwin/lib/libICE.so.6 0xfbc60000 /usr/lib//liblayout.so Heap at VM Abort: Heap def new generation total 2112K, used 1429K [0xf1800000, 0xf1a20000, 0xf1f10000) eden space 2048K, 66% used [0xf1800000, 0xf19555f0, 0xf1a00000) from space 64K, 100% used [0xf1a10000, 0xf1a20000, 0xf1a20000) to space 64K, 0% used [0xf1a00000, 0xf1a00000, 0xf1a10000) tenured generation total 4680K, used 3521K [0xf1f10000, 0xf23a2000, 0xf5800000) the space 4680K, 75% used [0xf1f10000, 0xf22806f0, 0xf2280800, 0xf23a2000) compacting perm gen total 5120K, used 4994K [0xf5800000, 0xf5d00000, 0xf9800000) the space 5120K, 97% used [0xf5800000, 0xf5ce0b08, 0xf5ce0c00, 0xf5d00000) Local Time = Tue Feb 22 08:01:34 2005 Elapsed Time = 11 # # 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_pid5146.log. # Please refer to the file for further information. # Running a Linux X server against it works OK, however. If this is a cygwin/X problem, I would like some information on what specifically is going wrong here so I can report it to the X folks. It seems to be having trouble copying the memory for an image..?

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java