Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 142629 - crash - XtOpenDisplay - Eclipse core dumps on exit
Summary: crash - XtOpenDisplay - Eclipse core dumps on exit
Status: RESOLVED DUPLICATE of bug 50145
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1.2   Edit
Hardware: Sun Solaris-Motif
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-18 16:46 EDT by Lisa CLA
Modified: 2006-11-15 10:55 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lisa CLA 2006-05-18 16:46:03 EDT
Eclipse core dumps every time on exit.  I don't even need to do anything, just start it and exit and it will core dump.  I am running on a Solaris 9 machine.

Lisa


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xDFD61754
Function=[Unknown.]
Library=(N/A)

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.motif.OS._XtOpenDisplay(Native Method)
	at org.eclipse.swt.internal.motif.OS.XtOpenDisplay(OS.java:3838)
	at org.eclipse.swt.widgets.Display.createDisplay(Display.java:763)
	at org.eclipse.swt.widgets.Display.create(Display.java:717)
	at org.eclipse.swt.graphics.Device.<init>(Device.java:184)
	- locked <0xe7ddfce0> (a java.lang.Object)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:406)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:398)
	at org.eclipse.swt.widgets.Display.getDefault(Display.java:1301)
	- locked <0xf5c39df0> (a java.lang.Class)
	at org.eclipse.swt.widgets.Display$1.run(Display.java:364)
	at org.eclipse.swt.graphics.Device.getDevice(Device.java:138)
	- locked <0xf5c31010> (a java.lang.Class)
	at org.eclipse.swt.graphics.Image.<init>(Image.java:564)
	at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:295)
	at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:233)
	at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:211)
	at org.eclipse.hyades.trace.internal.ui.PDPluginImages.createManaged(PDPluginImages.java:164)
	at org.eclipse.hyades.trace.internal.ui.PDPluginImages.<clinit>(PDPluginImages.java:103)
	at org.eclipse.hyades.trace.ui.UIPlugin.stop(UIPlugin.java:383)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1035)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1031)
	at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:397)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:408)
	at org.eclipse.core.runtime.internal.adaptor.BundleStopper.basicStopBundles(BundleStopper.java:82)
	at org.eclipse.core.runtime.internal.adaptor.BundleStopper.stopBundles(BundleStopper.java:72)
	at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:766)
	at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:528)
	- locked <0xe748d010> (a org.eclipse.osgi.framework.internal.core.Framework)
	at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:171)
	at java.lang.Thread.run(Thread.java:534)

Dynamic libraries:
0x10000 	/usr/j2se/bin/java
0xff370000 	/usr/lib/libthread.so.1
0xff3fa000 	/usr/lib/libdl.so.1
0xff280000 	/usr/lib/libc.so.1
0xff3a0000 	/usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
0xfec00000 	/usr/j2se/jre/lib/sparc/client/libjvm.so
0xff240000 	/usr/lib/libCrun.so.1
0xff220000 	/usr/lib/libsocket.so.1
0xff100000 	/usr/lib/libnsl.so.1
0xff1d0000 	/usr/lib/libm.so.1
0xff0e0000 	/usr/lib/libsched.so.1
0xff0c0000 	/usr/lib/libmp.so.2
0xff080000 	/usr/j2se/jre/lib/sparc/native_threads/libhpi.so
0xff040000 	/usr/j2se/jre/lib/sparc/libverify.so
0xfebc0000 	/usr/j2se/jre/lib/sparc/libjava.so
0xfeba0000 	/usr/j2se/jre/lib/sparc/libzip.so
0xfe960000 	/usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
0xfe820000 	/usr/j2se/jre/lib/sparc/libnet.so
0xfe230000 	/usr/j2se/jre/lib/sparc/libnio.so
0xfe210000 	/usr/lib/librt.so.1
0xfe1f0000 	/usr/lib/libaio.so.1
0xfe1c0000 	/usr/lib/libmd5.so.1
0xfc7e0000 	/usr/lib/libsendfile.so.1
0xe0290000 	/home/v909658/.eclipse/org.eclipse.platform_3.1.2/configuration/org.eclipse.osgi/bundles/31/1/.cp/libswt-motif-3139.so
0xdfe80000 	/usr/lib/libXm.so.4
0xe0190000 	/usr/lib/libXt.so.4
0xdfd80000 	/usr/lib/libX11.so.4
0xe0500000 	/usr/lib/libXp.so.1
0xe00e0000 	/usr/lib/libXtst.so.1
0xe00b0000 	/usr/lib/libXext.so.0
0xdfe60000 	/usr/lib/libSM.so.6
0xdfe30000 	/usr/lib/libICE.so.6
0xdfcb0000 	/usr/lib//liblayout.so
0xdfbd0000 	/hes06/system/vendor/eclipse_3.1.2/plugins/org.eclipse.cdt.core.solaris_3.0.2/os/solaris/sparc/libspawner.so
0xdf0d0000 	/usr/lib/nss_files.so.1

Heap at VM Abort:
Heap
 def new generation   total 4480K, used 3648K [0xe5800000, 0xe5c80000, 0xe7470000)
  eden space 4352K,  80% used [0xe5800000, 0xe5b70048, 0xe5c40000)
  from space 128K,  99% used [0xe5c40000, 0xe5c5fff8, 0xe5c60000)
  to   space 128K,   0% used [0xe5c60000, 0xe5c60000, 0xe5c80000)
 tenured generation   total 36416K, used 14799K [0xe7470000, 0xe9800000, 0xf5800000)
   the space 36416K,  40% used [0xe7470000, 0xe82e3fd0, 0xe82e4000, 0xe9800000)
 compacting perm gen  total 25344K, used 25308K [0xf5800000, 0xf70c0000, 0xf9800000)
   the space 25344K,  99% used [0xf5800000, 0xf70b7340, 0xf70b7400, 0xf70c0000)

Local Time = Thu May 18 15:25:33 2006
Elapsed Time = 205
#
# 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)
#
Comment 1 Felipe Heidrich CLA 2006-05-19 16:19:43 EDT
dup of Bug 110183 ?

Grant, you also have Bug 50145. They all talk about crash on Exit on Solaris.
Comment 2 Steve Northover CLA 2006-11-15 10:54:16 EST
It looks like Eclipse is shutting down, the display is disposed and then a new display is being created.
Comment 3 Steve Northover CLA 2006-11-15 10:55:45 EST
It's a dup of bug 50145 in the sense that the crash is coming from a graphics request from a background thread either after or while the display is being disposed.

*** This bug has been marked as a duplicate of 50145 ***