[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
persists with eclipse 3.5.1+repack~3-0ubuntu1 -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
fwiw, you can load eclipse in a debugger (jdb) by invoking something like this $ jdb -classpath /usr/lib/eclipse/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar org.eclipse.core.launcher.Main -debug -consolelog -data `mktemp -d` -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
Definitely seems to be a problem with gcj's compilation to bytecode of eclipse-3.5.1+repack~2/eclipse-3.5.1/plugins/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java Have attached a simple test class to show the difference between a fresh compile of an identical IS_64 check, versus invoking the SWT loadLibrary compiled bytecode. This was done with the IBM 1.6 JRE $ javac -cp .:/usr/lib/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.5.1.v3555a.jar IS64.java $ java -cp .:/usr/lib/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.5.1.v3555a.jar IS64 IS_64: false Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM at org.eclipse.swt.internal.Library.loadLibrary(Library.java:179) at IS64.main(IS64.java:5) ** Attachment added: "Simple IS_64 test class" http://launchpadlibrarian.net/37124315/IS64.java -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
The problem would seem to be the IS_64 static boolean incorrectly being set as true? > static /*final*/ boolean IS_64 = 0x1L == (int /*long*/)0x1L; -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
Note that it's not specific to sun jdk on my install. I had the same error running both with the IBM jdk and the icetea runtime. And the previous eclipse package ran fine with both. On 21 Dec 2009, at 22:24, Benjamin Drung wrote: > ** Changed in: eclipse (Ubuntu) > Importance: Undecided => High > > -- > eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit > system > https://bugs.launchpad.net/bugs/483676 > You received this bug notification because you are a direct subscriber > of the bug. -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
** Changed in: eclipse (Ubuntu) Importance: Undecided => High -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
Reliably reproduced the problem thusly: Create a new VM with VirtualBox 3.1.2, 4 gig virtual disk Install xubuntu lucid alpha1 live CD # apt-get update # apt-get dist-upgrade reboot # apt-get install sun-java6-jdk # apt-get install eclipse-platform create a new user, log in as that user $ eclipse At this point eclipse will fail to launch, leaving the aforementioned failure to load 64 bit SWT libraries on 32 bit JVM error in ~/workspace/.metadata/log There are no '.so' files under /usr/share/eclipse, but /usr/lib/eclipse has ELF 32-bit libraries. The swt .so libraries are shipped as part of the swt jars. Those also appear to be 32-bit. This is probably a bogus error caused by something else (like not being able to load gcj-specific libraries with sun's jdk?) -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
Hi We have experienced quite a few variants of issues affecting a lot of users that were fixed by a simple rm -fr ~/.eclipse, which is why I suggested it here as well. On a related note -data affects the workspace; not where it finds your personal configuration. Anyhow, back to your issue: * Does it mention any name of the library it cannot load? * What is the output of: find /usr/share/eclipse /usr/lib/eclipse/ -name '*.so' -exec file {} \; ~Niels -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
seemingly 6 other people have confirmed this as also effecting them so I do not believe it to be related to my setup -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
Yeah the original commandline I was testing is created a new directory in /tmp and using that as workspace (mktemp -d) Re-tested with no ~/.eclipse, but still having the same problem. $ rm -rf ~/.eclipse $ eclipse -debug -consolelog -console -data `mktemp -d` ** Changed in: eclipse (Ubuntu) Status: Incomplete => Confirmed -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
Hi The 3.5.1+repack~2-0ubuntu1version of swt for i386 only contains 32-bit libraries; can you please try to remove/rename your ~/.eclipse folder and start eclipse again using an empty workspace? ~Niels ** Changed in: eclipse (Ubuntu) Status: Confirmed => Incomplete -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
** Changed in: eclipse (Ubuntu) Status: New => Confirmed -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
May not be easy to sense from dependencies -- the only JVM installed on the system is sun-java6-jdk, package version 6-16-1. No GCJ or other VMs. -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/35751600/Dependencies.txt -- eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system https://bugs.launchpad.net/bugs/483676 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs