Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 51645 - Java core when running event loop on the Sun
Summary: Java core when running event loop on the Sun
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: Sun Solaris
: P3 major (vote)
Target Milestone: 3.0 M8   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 52160 52191 52403 52466 53179 53699 53701 54611 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-11 10:30 EST by Ines Khelifi CLA
Modified: 2004-03-12 10:03 EST (History)
14 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ines Khelifi CLA 2004-02-11 10:30:56 EST
200402101600
1.4.1.01 solaris virtual machine

When we started Eclipse and popped up a menu in a view it crashed with the trace
below

STEPS
1) Start Eclipse
2) Invoke a menu with a right click on the Resource Navigator

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xF1A34FC0
Function=XFilterEvent+0x24
Library=/usr/openwin/lib/libX11.so.4

Current Java thread:
	at org.eclipse.swt.internal.motif.OS.XtDispatchEvent(Native Method)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2155)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1550)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:265)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
	at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:245)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:104)
	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:279)
	at org.eclipse.core.launcher.Main.run(Main.java:742)
	at org.eclipse.core.launcher.Main.main(Main.java:581)

Dynamic libraries:
0x10000 	/home/users/tod/solaris/02101600/eclipse/./jre/bin/java
0xff350000 	/usr/lib/libthread.so.1
0xff390000 	/usr/lib/libdl.so.1
0xff200000 	/usr/lib/libc.so.1
0xff330000 	/usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
0xfe000000 
/home/users/tod/solaris/02101600/eclipse/jre/lib/sparc/client/libjvm.so
0xff2d0000 	/usr/lib/libCrun.so.1
0xff1e0000 	/usr/lib/libsocket.so.1
0xff100000 	/usr/lib/libnsl.so.1
0xff0d0000 	/usr/lib/libm.so.1
0xff300000 	/usr/lib/libw.so.1
0xff0b0000 	/usr/lib/libmp.so.2
0xff080000 
/home/users/tod/solaris/02101600/eclipse/jre/lib/sparc/native_threads/libhpi.so
0xff050000 	/home/users/tod/solaris/02101600/eclipse/jre/lib/sparc/libverify.so
0xfe7c0000 	/home/users/tod/solaris/02101600/eclipse/jre/lib/sparc/libjava.so
0xff020000 	/home/users/tod/solaris/02101600/eclipse/jre/lib/sparc/libzip.so
0xfe690000 	/usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
0xfe470000 	/home/users/tod/solaris/02101600/eclipse/jre/lib/sparc/libnet.so
0xfdfe0000 	/home/users/tod/solaris/02101600/eclipse/jre/lib/sparc/libnio.so
0xfdfc0000 	/usr/lib/librt.so.1
0xfdfa0000 	/usr/lib/libaio.so.1
0xfa290000 
/home/users/tod/solaris/02101600/eclipse/plugins/org.eclipse.swt.motif_3.0.0/os/solaris/sparc/libswt-motif-3038.so
0xf1180000 	/usr/lib/libXm.so.4
0xfa190000 	/usr/openwin/lib/libXt.so.4
0xf1a00000 	/usr/openwin/lib/libX11.so.4
0xfa3a0000 	/usr/openwin/lib/libXp.so.1
0xfa060000 	/usr/openwin/lib/libSM.so.6
0xfa030000 	/usr/openwin/lib/libICE.so.6
0xf1fd0000 	/usr/openwin/lib/libXext.so.0
0xfa010000 	/usr/openwin/lib/locale/common/xlibi18n.so.2
0xf1fa0000 	/usr/openwin/lib/locale/iso8859-1/xomEuro.so.2
0xf1ee0000 	/usr/lib//liblayout.so
0xf1e90000 	/usr/openwin/lib/locale/common/ximlocal.so.2

Local Time = Wed Feb 11 10:07:15 2004
Elapsed Time = 69
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode)
#
Comment 1 Grant Gayed CLA 2004-02-11 11:32:11 EST
I don't see this on our Solaris 9, but I do see it on your Solaris 8.  I'm not 
sure if this is a platform difference or if your install is inconsistent.  Will 
investigate when SSQ gets in.
Comment 2 Tod Creasey CLA 2004-02-11 18:17:14 EST
*** Bug 50145 has been marked as a duplicate of this bug. ***
Comment 3 Grant Gayed CLA 2004-02-17 09:50:28 EST
*** Bug 52191 has been marked as a duplicate of this bug. ***
Comment 4 Joakim Erdfelt CLA 2004-02-17 11:56:57 EST
I am experiencing this too, I filed a similar (duplicate?) bug 52160
before realizing this was already reported.

Yep, I'm using Eclipse/SWT(motif) under Solaris 8.

Here's what I've discovered. 

3796c62e539da15688a95469e78ba0de  eclipse-SDK-3.0M6-solaris-motif.zip
  3.0M6 - (build 200312182000) 
          Works correctly no crashes with regards to Context Menus.
          It uses libswt-motif-3034.so
          
baa0f4e14d54196d55fa7820d13e9a2a  eclipse-SDK-3.0M7-solaris-motif.zip     
  3.0M7 - (build 200402122000)
          Crashes reliably. 
          All context menus.
          It uses libswt-motif-3039.so

Out of curiosity, which plugins would I need to copy from 3.0M6 to 3.0M7 
in order to use the older working swt with the newer 3.0M7 eclipse?

I'd be happy to test smaller SWT specific testcases on the solaris 8 box
I have access to if it would help.
Comment 5 Debbie Wilson CLA 2004-02-17 12:21:02 EST
*** Bug 52160 has been marked as a duplicate of this bug. ***
Comment 6 Grant Gayed CLA 2004-02-17 13:47:55 EST
fixed > 0215 with SN and SSQ, and this will be included in tomorrow morning's 
integration re-build
Comment 7 Grant Gayed CLA 2004-02-18 16:38:15 EST
*** Bug 52403 has been marked as a duplicate of this bug. ***
Comment 8 Joakim Erdfelt CLA 2004-02-18 17:19:06 EST
A Test on 3.0M7 Integration Build 200402181101 fixed this bug for me.
Comment 9 Grant Gayed CLA 2004-02-19 09:02:48 EST
*** Bug 52466 has been marked as a duplicate of this bug. ***
Comment 10 Grant Gayed CLA 2004-02-26 16:03:47 EST
*** Bug 53179 has been marked as a duplicate of this bug. ***
Comment 11 Grant Gayed CLA 2004-03-04 10:44:22 EST
*** Bug 53701 has been marked as a duplicate of this bug. ***
Comment 12 Grant Gayed CLA 2004-03-04 10:45:44 EST
*** Bug 53699 has been marked as a duplicate of this bug. ***
Comment 13 Grant Gayed CLA 2004-03-12 10:03:31 EST
*** Bug 54611 has been marked as a duplicate of this bug. ***