Bug 4730 - Support for lesstif on Linux
Summary: Support for lesstif on Linux
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All Linux-Motif
: P2 normal (vote)
Target Milestone: 2.1 M1   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 7332 18461 25938 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-11 14:22 EDT by Greg Adams CLA
Modified: 2002-11-09 10:50 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Adams CLA 2001-10-11 14:22:01 EDT
Per discussions with Mcq I tried 0.9 against the RH beta 7.2 beta 3   (i.e. 7.1.93 roswell)

*	Start eclipse
*	It hangs generating an exception file which you can find in

Tue Aug 14 10:26:44 2001

SIGSEGV received at 14458be5 in unknown. Processing terminated.
J2RE 1.3.0 IBM build cx130-20010502
/home/greg/eclipse/jre/bin/exe/java -classpath /home/greg/eclipse/startup.jar org.eclipse.core.launcher.Main -ws motif -application org.eclipse.ui.workbench -endsplash /home/greg/eclipse/eclipse -endsplash 4379 

System Properties
-----------------
Java Home Dir:	/home/greg/eclipse/jre
Java DLL Dir:	/home/greg/eclipse/jre/bin
Sys Classpath:	/home/greg/eclipse/jre/lib/rt.jar:/home/greg/eclipse/jre/lib/i18n.jar:/home/greg/eclipse/jre/classes
User Args:
	-Djava.class.path=.
	-Djava.class.path=/home/greg/eclipse/startup.jar


Current Thread Details
----------------------
    PID:4380
    "main" (TID:0x403387e0, sys_thread_t:0x804fcc8, state:R, native ID:0x400) prio=5
	at org.eclipse.swt.internal.motif.OS.XmCreateScrolledList(Native Method)
	at org.eclipse.swt.widgets.Display.initializeList(Display.java:1117)
	at org.eclipse.swt.widgets.Display.init(Display.java:1258)
	at org.eclipse.swt.graphics.Device.<init>(Device.java:496)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:1322)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:1884)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:630)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:810)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:280)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:119)
	at org.eclipse.core.launcher.Main.run(Main.java:401)
	at org.eclipse.core.launcher.Main.main(Main.java:274)


	 ----- Native Stack -----
-------------------------------------------------------------------------
Operating Environment
---------------------
Host		: greglnx.(none)
OS Level	: 2.4.6-3.1.#1 Tue Jul 24 14:54:56 EDT 2001
glibc Version	: 2.2.3
No. of Procs	: 1
Memory Info:
        total:    used:    free:  shared: buffers:  cached:
Mem:  261394432 258138112  3256320  3010560 21061632 70557696
Swap:        0        0        0
MemTotal:       255268 kB
MemFree:          3180 kB
MemShared:        2940 kB
Buffers:         20568 kB
Cached:          68904 kB
SwapCached:          0 kB
Active:          25788 kB
Inact_dirty:     65420 kB
Inact_clean:      1204 kB
Inact_target:    65504 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       255268 kB
LowFree:          3180 kB
SwapTotal:           0 kB
SwapFree:            0 kB
NrSwapPages:         0 pages

User Limits (in bytes except for NOFILE and NPROC) -
	RLIMIT_FSIZE	: infinity
	RLIMIT_DATA	: infinity
	RLIMIT_STACK	: 2093056
	RLIMIT_CORE	: 0
	RLIMIT_NOFILE	: 1024
	RLIMIT_NPROC	: 1023

Application Environment
-----------------------
Signal Handlers - 
	SIGQUIT		: intrDispatchMD (libhpi.so)
	SIGILL		: intrDispatchMD (libhpi.so)
	SIGTRAP		: intrDispatchMD (libhpi.so)
	SIGABRT		: intrDispatchMD (libhpi.so)
	SIGFPE		: intrDispatchMD (libhpi.so)
	SIGBUS		: intrDispatchMD (libhpi.so)
	SIGSEGV		: intrDispatchMD (libhpi.so)
	SIGPIPE		: ignored
	SIGUSR1		: sigusr1Handler (libhpi.so)
	SIGUSR2		: get_self (libhpi.so)

Environment Variables -
PWD=/home/greg
LD_ASSUME_KERNEL=2.2.5
XAUTHORITY=/home/greg/.Xauthority
VENDOR=intel
HOSTNAME=greglnx
LD_LIBRARY_PATH=/home/greg/eclipse/jre/bin:/home/greg/eclipse/jre/bin/classic:
QTDIR=/usr/lib/qt-2.3.1
LESSOPEN=|/usr/bin/lesspipe.sh %s
GDMSESSION=Default
GNOME_SESSION_NAME=Default
USER=greg
LS_COLORS=
MACHTYPE=i386
MAIL=/var/spool/mail/greg
INPUTRC=/etc/inputrc
XMODIFIERS=@im=none
LANG=en_US
JAVAHOME=/home/greg/eclipse/jre
HOST=greglnx
DISPLAY=:0
LOGNAME=greg
SHLVL=2
GROUP=common
GNOME_DISABLE_CRASH_DIALOG=1
GDM_LANG=en_US
SESSION_MANAGER=local/greglnx:/tmp/.ICE-unix/3141
SUPPORTED=en_US:en
USERNAME=greg
SHELL=/bin/csh
HOSTTYPE=i386-linux
OSTYPE=linux
HISTSIZE=1000
HOME=/home/greg
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
TERM=dumb
PATH=/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/usr/X11R6/bin
IBM_JAVA_COMMAND_LINE=/home/greg/eclipse/jre/bin/exe/java -classpath /home/greg/eclipse/startup.jar org.eclipse.core.launcher.Main -ws motif -application org.eclipse.ui.workbench -endsplash /home/greg/eclipse/eclipse -endsplash 4379 

Full Thread Dump
----------------
    PID:4387
    "Finalizer" (TID:0x40338708, sys_thread_t:0x80d33a0, state:S, native ID:0xc04) prio=8
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:114)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:129)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:168)


	 ----- Native Stack -----
	pthread_setconcurrency at 0x40035ba9 in libpthread.so.0
	pthread_cond_wait at 0x40031e0c in libpthread.so.0
	condvarWait at 0x40021082 in libhpi.so
	sysMonitorWait at 0x40022d1f in libhpi.so
	lkMonitorWait at 0x4024d380 in libjvm.so
	JVM_MonitorWait at 0x4021542e in libjvm.so
	??
	ivq_doinvoke_I__ at 0x4026e6b1 in libjvm.so
	ivq_doinvoke_I__ at 0x4026e6b1 in libjvm.so
	EJivq_doinvoke_V__ at 0x40269869 in libjvm.so
	??
-------------------------------------------------------------------------
    PID:4386
    "Reference Handler" (TID:0x40338750, sys_thread_t:0x80cf648, state:S, native ID:0x803) prio=10
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:421)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)


	 ----- Native Stack -----
	pthread_setconcurrency at 0x40035ba9 in libpthread.so.0
	pthread_cond_wait at 0x40031e0c in libpthread.so.0
	condvarWait at 0x40021082 in libhpi.so
	sysMonitorWait at 0x40022d1f in libhpi.so
	lkMonitorWait at 0x4024d380 in libjvm.so
	JVM_MonitorWait at 0x4021542e in libjvm.so
	??
	ivoq_doinvoke_V__ at 0x4026ec01 in libjvm.so
	EJivq_doinvoke_V__ at 0x40269869 in libjvm.so
	??
-------------------------------------------------------------------------
    PID:4385
    "Signal dispatcher" (TID:0x40338798, sys_thread_t:0x80cbdb8, state:S, native ID:0x402) prio=5


	 ----- Native Stack -----
	pthread_setconcurrency at 0x40035ba9 in libpthread.so.0
	pthread_cond_wait at 0x40031e0c in libpthread.so.0
	condvarWait at 0x40021082 in libhpi.so
	intrUnlock at 0x40021863 in libhpi.so
	sysSignalWait at 0x400219e5 in libhpi.so
	xmSetProtectionDomain at 0x4029f766 in libjvm.so
	xmExecuteThread at 0x402a117a in libjvm.so
	double2ll at 0x4029bb4e in libjvm.so
	sysThreadRegs at 0x40025c42 in libhpi.so
	pthread_exit at 0x40033b3b in libpthread.so.0
	__clone at 0x4014c2ca in libc.so.6
-------------------------------------------------------------------------
    PID:4380
    "main" (TID:0x403387e0, sys_thread_t:0x804fcc8, state:R, native ID:0x400) prio=5
	at org.eclipse.swt.internal.motif.OS.XmCreateScrolledList(Native Method)
	at org.eclipse.swt.widgets.Display.initializeList(Display.java:1117)
	at org.eclipse.swt.widgets.Display.init(Display.java:1258)
	at org.eclipse.swt.graphics.Device.<init>(Device.java:496)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:1322)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:1884)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:630)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:810)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:280)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:119)
	at org.eclipse.core.launcher.Main.run(Main.java:401)
	at org.eclipse.core.launcher.Main.main(Main.java:274)


	 ----- Native Stack -----
-------------------------------------------------------------------------

Monitor pool info:
  Initial monitor count: 32
  Minimum number of free monitors before expansion: 5
  Pool will next be expanded by: 16
  Current total number of monitors: 32
  Current number of free monitors: 28

Monitor Pool Dump (inflated object-monitors):
  sys_mon_t:0x0804f240 infl_mon_t: 0x0804ee10:
    java.lang.ref.Reference$Lock@4033FE28/4033FE30: <unowned>
	Waiting to be notified:
	    "Reference Handler" (0x80cf648)
  sys_mon_t:0x0804f2d0 infl_mon_t: 0x0804ee50:
    java.lang.ref.ReferenceQueue$Lock@40342A20/40342A28: <unowned>
	Waiting to be notified:
	    "Finalizer" (0x80d33a0)

JVM System Monitor Dump (registered monitors):
    ACS Heap lock: <unowned>
    System Heap lock: <unowned>
    Sleep lock: <unowned>
    Method trace lock: <unowned>
    UTF8 Cache lock: <unowned>
    Heap lock: <unowned>
    Rewrite Code lock: <unowned>
    Monitor Cache lock: owner "main" (0x804fcc8) 1 entry
    JNI Pinning lock: <unowned>
    JNI Global Reference lock: <unowned>
    Classloader lock: <unowned>
    Linking class lock: <unowned>
    Binclass lock: <unowned>
    Monitor Registry lock: owner "main" (0x804fcc8) 1 entry
    Thread queue lock: owner "main" (0x804fcc8) 1 entry

Thread identifiers (as used in flat monitors):
    ident 5 "Finalizer" (0x80d33a0) ee 0x080d31d4
    ident 4 "Reference Handler" (0x80cf648) ee 0x080cf47c
    ident 3 "Signal dispatcher" (0x80cbdb8) ee 0x080cbbec
    ident 2 "main" (0x804fcc8) ee 0x0804fafc

Java Object Monitor Dump (flat & inflated object-monitors):
    java.lang.ref.Reference$Lock@4033FE28/4033FE30
        locknflags 80000200 Monitor inflated infl_mon 0x0804ee10
    java.lang.ref.ReferenceQueue$Lock@40342A20/40342A28
        locknflags 80000400 Monitor inflated infl_mon 0x0804ee50


NOTES:

SN (8/22/01 2:05:28 PM)
	Didn't happen when I tried it.  Talked to GA about this.

SN (9/7/01 6:00:24 PM)
	GA, can I close this PR?
Comment 1 DJ Houghton CLA 2001-10-29 16:34:22 EST
PRODUCT VERSION:
0.9

Comment 2 Richi Plana CLA 2001-11-10 11:26:33 EST
Confirmed on RH7.2 with eclipse 1.0.

Output message (with Sun JDK 1.3.x and 1.4.0 beta3):

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x400C245B
Function=strlen+0xF
Library=/lib/libc.so.6

Current Java thread:
	at org.eclipse.swt.internal.motif.OS.XmCreateScrolledList(Native Method)	at
org.eclipse.swt.widgets.Display.initializeList(Display.java:1117)
	at org.eclipse.swt.widgets.Display.init(Display.java:1258)
	at org.eclipse.swt.graphics.Device.<init>(Device.java:496)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:1322)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:1887)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:664)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:810)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:280)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
	at java.lang.reflect.Method.invoke(Method.java:327)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
	at org.eclipse.core.launcher.Main.run(Main.java:433)
	at org.eclipse.core.launcher.Main.main(Main.java:306)

Comment 3 Grant Gayed CLA 2001-11-14 18:41:13 EST
Could not duplicate for Eclipse 1.0 or 2.0 using:

- RH7.2 Enigma OSR 2.4.7-10
- Java 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 
1.3.0, J2RE 1.3.0 IBM build cn130-20010502 (JIT enabled: jitc)
- Open Motif for Linux 2.1.30 Release 4 (the one that ships with Eclipse)
Comment 4 Richi Plana CLA 2001-11-15 15:09:21 EST
Without looking at the code (just the error messages), what would be your best
guess as to the problem? Specifically the lines:

Function=strlen+0xF
Library=/lib/libc.so.6

- and -

Current Java thread:
	at org.eclipse.swt.internal.motif.OS.XmCreateScrolledList(Native Method) at
org.eclipse.swt.widgets.Display.initializeList(Display.java:1117)
	at org.eclipse.swt.widgets.Display.init(Display.java:1258)
	at org.eclipse.swt.graphics.Device.<init>(Device.java:496)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:1322)
	at org.eclipse.swt.widgets.Display.<init>(Display.java:1887)
Comment 5 Richi Plana CLA 2001-11-16 02:59:24 EST
After a hint from Grant, I was able to make it work. The trick was running the
program from the eclipse directory. That way, the eclipse launcher would use the
Motif library that came with the the package. It seems that the lesstiff library
that came with RH7.2 would cause it to SIGSEGV.

So switch to OpenMotif
Comment 6 Grant Gayed CLA 2001-11-16 10:16:22 EST
Thanks for the assistance in determining the problem.  I've posted it to the 
newsgroup as a temporary workaround for others that may be stuck on the issue 
as well.

A means of ensuring that this doesn't happen is required on our end, so this PR 
is remaining open.
Comment 7 Mike Wilson CLA 2001-12-10 13:15:13 EST
GG is looking at this.
Comment 8 Mike Wilson CLA 2002-01-08 09:20:24 EST
*** Bug 7332 has been marked as a duplicate of this bug. ***
Comment 9 Marco Qualizza CLA 2002-02-12 00:41:57 EST
I don't know if this is related, but since it might be:

I was experiencing the same problem on RH 7.2, and so I tried to fix it by
removing lesstif and installing openmotif (2.2).  Now, whenever I try to start
eclipse, I get:

#####################################################################

mqualizz@lightning [14] /opt/eclipse$ ./eclipse -data ~/.workspace

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x0
Function name=(N/A)
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.KDE.KMimeType_allMimeTypes(Native Method)
        at org.eclipse.swt.program.Program.kde_getMimeInfo(Program.java:564)
        at org.eclipse.swt.program.Program.findProgram(Program.java:123)
        at org.eclipse.swt.program.Program.findProgram(Program.java:108)
        at
org.eclipse.ui.internal.registry.EditorRegistry.getSystemEditorImageDescriptor(EditorRegistry.java:401)
        at
org.eclipse.ui.internal.registry.EditorRegistry.getImageDescriptor(EditorRegistry.java:299)
        at
org.eclipse.ui.internal.registry.EditorRegistry.getImageDescriptor(EditorRegistry.java:309)
        at
org.eclipse.ui.internal.model.WorkbenchFile.getBaseImage(WorkbenchFile.java:22)
        at
org.eclipse.ui.internal.model.WorkbenchResource.getImageDescriptor(WorkbenchResource.java:29)
        at
org.eclipse.ui.model.WorkbenchLabelProvider.getImage(WorkbenchLabelProvider.java:87)
        at
org.eclipse.jface.viewers.DecoratingLabelProvider.getImage(DecoratingLabelProvider.java:65)
        at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer.java:89)
       at
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:352)
        at
org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:979)
        at
org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:256)
        at
org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:241)
        at
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:731)
        at
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:728)
        at
org.eclipse.jface.viewers.AbstractTreeViewer.setExpandedElements(AbstractTreeViewer.java:1098)
        at
org.eclipse.ui.views.navigator.ResourceNavigator.restoreState(ResourceNavigator.java:571)
        at
org.eclipse.ui.views.navigator.ResourceNavigator.createPartControl(ResourceNavigator.java:205)
        at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:58)
        at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:817)
        at org.eclipse.core.runtime.Platform.run(Platform.java:395)
        at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:56)
       at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:98)
        at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:174)
        at
org.eclipse.ui.internal.PartTabFolder.createPartTab(PartTabFolder.java:237)
        at
org.eclipse.ui.internal.PartTabFolder.createControl(PartTabFolder.java:209)
        at
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:174)
        at
org.eclipse.ui.internal.PerspectivePresentation.activate(PerspectivePresentation.java:88)
        at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:551)
        at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:1069)
        at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:919)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56)
       at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:907)
        at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:820)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:746)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:504)
        at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:817)
        at org.eclipse.core.runtime.Platform.run(Platform.java:395)
        at
org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:489)
        at org.eclipse.ui.internal.Workbench.openWindows(Workbench.java:539)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:389)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:768)
        at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:777)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
        at org.eclipse.core.launcher.Main.run(Main.java:502)
        at org.eclipse.core.launcher.Main.main(Main.java:362)


#####################################################################

So, I tried with a new workspace, and Eclipse starts up no problem.

Next, I created a new Java Project, and when it appeared I tried to import my
old stuff (filesystem import).  The moment I clicked on one of the white boxes
to indicate "include this in the import", Eclipse crashed with

#####################################################################

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x0
Function name=(N/A)
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.KDE.KMimeType_allMimeTypes(Native Method)
        at org.eclipse.swt.program.Program.kde_getMimeInfo(Program.java:564)
        at org.eclipse.swt.program.Program.findProgram(Program.java:123)
        at org.eclipse.swt.program.Program.findProgram(Program.java:108)
        at
org.eclipse.ui.internal.registry.EditorRegistry.getSystemEditorImageDescriptor(EditorRegistry.java:401)
        at
org.eclipse.ui.internal.registry.EditorRegistry.getImageDescriptor(EditorRegistry.java:299)
        at
org.eclipse.ui.dialogs.FileSystemElement$1.getImageDescriptor(FileSystemElement.java:78)
        at
org.eclipse.ui.model.WorkbenchLabelProvider.getImage(WorkbenchLabelProvider.java:87)
        at org.eclipse.jface.viewers.TableViewer.doUpdateItem(TableViewer.java:186)
        at
org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:979)
        at
org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:474)
        at
org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:416)
        at
org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:626)
        at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:572)
        at
org.eclipse.jface.viewers.CheckboxTableViewer.preservingSelection(CheckboxTableViewer.java:264)
        at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:624)
        at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:592)
        at org.eclipse.jface.viewers.TableViewer.inputChanged(TableViewer.java:383)
        at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:234)
        at
org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:730)
        at
org.eclipse.ui.internal.dialogs.ResourceTreeAndListGroup.populateListViewer(ResourceTreeAndListGroup.java:600)
        at
org.eclipse.ui.internal.dialogs.ResourceTreeAndListGroup.selectionChanged(ResourceTreeAndListGroup.java:669)
        at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:147)
        at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:999)
        at
org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:466)
        at
org.eclipse.jface.viewers.CheckboxTreeViewer.handleSelect(CheckboxTreeViewer.java:233)
        at
org.eclipse.jface.viewers.AbstractTreeViewer$1.widgetSelected(AbstractTreeViewer.java:624)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:85)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:74)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:488)
        at
org.eclipse.swt.widgets.SelectableItemWidget.selectNotify(SelectableItemWidget.java:1687)
        at
org.eclipse.swt.widgets.SelectableItemWidget.selectNotify(SelectableItemWidget.java:1710)
        at org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:1041)
        at org.eclipse.swt.widgets.Tree.handleEvents(Tree.java:808)
        at
org.eclipse.swt.widgets.SelectableItemWidget$1.handleEvent(SelectableItemWidget.java:1190)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:74)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:488)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1577)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1431)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:538)
        at org.eclipse.jface.window.Window.open(Window.java:525)
        at
org.eclipse.ui.internal.ImportResourcesAction.run(ImportResourcesAction.java:62)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:452)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361)
        at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352)
        at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:74)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:488)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1577)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1431)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:788)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:771)
        at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:777)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
        at org.eclipse.core.launcher.Main.run(Main.java:502)
        at org.eclipse.core.launcher.Main.main(Main.java:362)

#####################################################################

As a final note:
1. new workspace
2. set default bin/src directories in preferences
3. create new java project
4. switch to navigator view
5. click on the + next to your project name
6. watch Eclipse crash and burn.  And the stack trace looks kinda familiar,
except that, near the top, instead of 
TableViewer#doUpdateItem -> WorkbenchLabelProvider#getImage
you get
TreeViewer#doUpdateItem -> DecoratingLabelProvider#getImage ->
WorkbenchLabelProvider#getImage


I hope this adds more information than confusion,
   Marco.
Comment 10 Claus Olesen CLA 2002-02-12 01:42:09 EST
See bug 8526. Maybe helpful.
Comment 11 Marco Qualizza CLA 2002-02-12 08:55:41 EST
Thank you, I'll try this too tonight and report on the results.  In the
meantime, my LD_LIBRARY_PATH isn't set. (ie/ for all of these crashes, I haven't
had an LD_LIBRARY_PATH set)
Comment 12 Marco Qualizza CLA 2002-02-12 21:21:17 EST
Tried with LD_LIBRARY_PATH set.  Still didn't work.  Then I realized something
fairly significant:  The 20020125 build works perfectly.  Infact, I go back to
it every time the new build proves to be a bust.  The latest to fail is
I-0212-motif.

Same (at org.eclipse.swt.internal.motif.KDE.KMimeType_allMimeTypes(Native
Method)) error.
Comment 13 Marco Qualizza CLA 2002-03-01 09:48:20 EST
I've created bug 10581 http://bugs.eclipse.org/bugs/show_bug.cgi?id=10581 to
track the allMimeTypes problem, since it seems that it might be a KDE problem.
Comment 14 Grant Gayed CLA 2002-09-10 14:43:41 EDT
summary for post-2.0 bug review: incompatibility with lesstif implementation
Comment 15 Veronika Irvine CLA 2002-09-11 14:28:12 EDT
Renamed from "SWT fails to initialize on RedHat Roswell Beta (7.1.93) (1GIGE7S)"
Comment 16 Grant Gayed CLA 2002-09-11 14:39:18 EDT
*** Bug 18461 has been marked as a duplicate of this bug. ***
Comment 17 Grant Gayed CLA 2002-09-16 14:09:13 EDT
Fixed ScrolledList and ScrolledText so that Eclipse now starts up using Lesstif.
Comment 18 Grant Gayed CLA 2002-11-09 10:50:02 EST
*** Bug 25938 has been marked as a duplicate of this bug. ***