eclipse-ide doesn't start on precise

Bug #1004709 reported by Carsten Jacobi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On precise x86 I try to start eclipse-3.7.0 (indigo). After the splash appears for several seconds it disappears again and a message box pops up that informs me eclipse-IDE couldn't be started and one should refer to a log file in a "configuration" directory under the .eclipse directory in user home. In that directory I find several messages saying that Jar files can't be resolved and bundles were missing, though I checked in the strace output that the according jar files in the plugin directory were referred and either stat() or open() system calls to those files were successful.
Here an excempt from the log file in .eclipse:

!SESSION 2012-05-25 00:27:34.127 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.fullversion=JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr10fp1-20120202_101568 (JIT enabled, AOT enabled)
J9VM - 20120202_101568
JIT - r9_20111107_21307ifx1
GC - 20120202_AA
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86 -debug

!ENTRY org.eclipse.osgi 2 0 2012-05-25 00:27:37.724
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-05-25 00:27:37.724
!MESSAGE Bundle reference:file:plugins/org.eclipse.jface_3.7.0.dist.jar was not resolved.
!SUBENTRY 2 org.eclipse.jface 2 0 2012-05-25 00:27:37.724
!MESSAGE Missing required bundle org.eclipse.swt_[3.6.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-05-25 00:27:37.724
!MESSAGE Bundle reference:file:plugins/org.eclipse.jface.databinding_1.5.0.dist.jar was not resolved.
!SUBENTRY 2 org.eclipse.jface.databinding 2 0 2012-05-25 00:27:37.724
!MESSAGE Missing required bundle org.eclipse.swt_[3.2.0,4.0.0).
.
.
.

And here an excempt from strace looking for references to "org.eclipse.swt_":
[pid 13197] stat64("/usr/lib/eclipse/plugins/org.eclipse.swt_3.7.2.jar", {st_mod
e=S_IFREG|0644, st_size=2101744, ...}) = 0
[pid 13197] stat64("/usr/lib/eclipse/plugins/org.eclipse.swt_3.7.2.jar", {st_mode=S_IFREG|0644, st_size=2101744, ...}) = 0
[pid 13197] open("/usr/lib/eclipse/plugins/org.eclipse.swt_3.7.2.jar", O_RDONLY|O_LARGEFILE) = 92
[pid 13197] stat64("/usr/lib/eclipse/plugins/org.eclipse.swt_3.7.2.jar", {st_mode=S_IFREG|0644, st_size=2101744, ...}) = 0
[pid 13197] stat64("/usr/lib/eclipse/plugins/org.eclipse.swt_3.7.2.jar", {st_mode=S_IFREG|0644, st_size=2101744, ...}) = 0
[pid 13197] open("/usr/lib/eclipse/plugins/org.eclipse.swt_3.7.2.jar", O_RDONLY|O_LARGEFILE) = 92
.
.
.

So, I wonder why I get a report "org.eclipse.swt_" would be missing if in the strace I see clearly that the launcher was able to successfully get stat64() responses and even opened that file for reading!

Revision history for this message
Carsten Jacobi (jacobi-de) wrote :
Revision history for this message
Carsten Jacobi (jacobi-de) wrote :

Here is something else that strikes me, when I look at the latest jar file for swt that comes with the latest eclipse-rcp package and look at the libswt shared objects within I get this:

jacobi@jacobi-ThinkPad-T60:~$ dpkg --status eclipse-rcp | awk /^Version:/ && jar tvf /usr/lib/eclipse/plugins/org.eclipse.swt_3.7.2.jar | awk /libswt/
Version: 3.7.2-1
 23060 Thu Jun 11 16:42:00 EDT 2009 libswt-atk-gtk-3550.so
  3612 Thu Jun 11 16:42:00 EDT 2009 libswt-awt-gtk-3550.so
 40640 Thu Jun 11 16:42:00 EDT 2009 libswt-cairo-gtk-3550.so
 10080 Thu Jun 11 16:42:00 EDT 2009 libswt-glx-gtk-3550.so
 10432 Thu Jun 11 16:42:00 EDT 2009 libswt-gnome-gtk-3550.so
 11456 Thu Jun 11 16:42:00 EDT 2009 libswt-gtk-3550.so
 99480 Thu Jun 11 16:42:00 EDT 2009 libswt-mozilla-gcc3-gtk-3550.so
 98376 Thu Jun 11 16:42:00 EDT 2009 libswt-mozilla-gtk-3550.so
354996 Thu Jun 11 16:42:00 EDT 2009 libswt-pi-gtk-3550.so
 27500 Thu Jun 11 16:42:00 EDT 2009 libswt-xpcominit-gtk-3550.so
 85020 Thu Jun 11 16:42:00 EDT 2009 libswt-xulrunner-gtk-3550.so

And then, when I look at the latest swt-package that is available for precise I
get this:

jacobi@jacobi-ThinkPad-T60:~$ dpkg -L libswt-gtk-3-jni
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libswt-gtk-3-jni
/usr/share/doc/libswt-gtk-3-jni/copyright
/usr/share/doc/libswt-gtk-3-jni/changelog.Debian.gz
/usr/lib
/usr/lib/jni
/usr/lib/jni/libswt-atk-gtk-3740.so
/usr/lib/jni/libswt-awt-gtk-3740.so
/usr/lib/jni/libswt-gtk-3740.so
/usr/lib/jni/libswt-pi-gtk-3740.so

I don't know whether the version number next to the shared object files have a meaning,
but if they do have you deliver 3.74 version libswt libraries with the standalone DEB package
and 3.55 version libswt libraries within a jar file that is packages in the eclipse-rcp DEB package.
When I look at the strace as I start the eclipse application the shared objects from the libswt-gtk-3-jni
package are not touched but the jar file with the "3.55-libswt" shared objects is opened and read.
Can you find out whether the swt-libraries within the eclipse-rcp package are still up to date for
the eclipse-indigo environment that you ship with precise?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in eclipse (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.