Ok finally got it working stable. =) here's the solution for anyone
encountering the same problem:

The eclipse version from repository relies on alternate libswt (gnome,
cairo and gtk) "versions" . For example it requires: libswt3.4-gtk-
java instead of the "official" libswt-gtk-3.4-java.

The solution is pretty simple: get the right packages (libswt-gtk-3.4-
java, libswt-cairo-*, libswt-gnome-*) and download eclipse manually
from the eclipse website. Do NOT install it from repository under
karmic.

Hope that helps lost souls out there. =)

On Oct 6, 11:00 am, Sparky <[email protected]> wrote:
> Hmm, this solution worked in ubuntu for about a few days until the
> latest karmic updates. Now I am getting the same rrror again. Anybody
> help, please?
>
> On Oct 1, 10:36 am, Roman Semko <[email protected]> wrote:
>
> > hmmm. to anyone who might encoutner this problem:
> > Adding "-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.1.3/
> > xulrunner"  to eclipse.ini seems to fix the first (1) problem.
>
> > The crash problem in Window > Preferences > Help (2) seems to have
> > disappeared. Instead getting the following error:
>
> > An error occurred during creation of embedded help browser.
> > XPCOM error -2147467259
>
> > Something SWT related. Well, at least eclipse didn't crash...
>
> > On Thu, Oct 1, 2009 at 8:49 AM, Sparky <[email protected]> wrote:
> > > My system:
> > > OS: Ubuntu 9.10
> > > Eclipse: 3.5* Galileo
> > > Java: java-6-openjdk (although this problem is confirmed with sun's
> > > jvm as well)
>
> > > I have followed the instructions to install Android ADT in developer
> > > guide and here:http://source.android.com/using-eclipse
>
> > > Problem:
> > > 1. Now, everytime I start typing the name of an object followed by a
> > > point (for example "android.") so that the tooltip for al it's sub-
> > > objects/properties opens, eclipse crashes.
> > > 2. If I go to Window > Preferences and Click on the "Help" category,
> > > the eclipse crashes with the same error as above.
>
> > > I can confirm that this problem is android ADT related since without
> > > this plugin my eclipse works no-problem. Any ideas what could be the
> > > reason of these crashes?
>
> > > Here's the terminal output:
> > > =======================================================================
> > > nefe...@neferty:/usr/lib/jvm$ eclipse
> > > searching for compatible vm...
> > >  testing /usr/lib/jvm/default-java...found
> > > #
> > > # A fatal error has been detected by the Java Runtime Environment:
> > > #
> > > #  SIGSEGV (0xb) at pc=0x4f4d0045, pid=9841, tid=3073264496
> > > #
> > > # JRE version: 6.0-b16
> > > # Java VM: OpenJDK Server VM (14.0-b16 mixed mode linux-x86 )
> > > # Distribution: Ubuntu karmic (development branch), package
> > > 6b16-1.6.1-1ubuntu1
> > > # Problematic frame:
> > > # C  0x4f4d0045
> > > #
> > > # An error report file with more information is saved as:
> > > # /home/neferty/hs_err_pid9841.log
> > > #
> > > # If you would like to submit a bug report, please include
> > > # instructions how to reproduce the bug and visit:
> > > #  https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
> > > #
> > > =======================================================================
> > > The output of hs_err_*.log:
> > > =======================================================================
> > > #
> > > # A fatal error has been detected by the Java Runtime Environment:
> > > #
> > > #  SIGSEGV (0xb) at pc=0x4f4d0045, pid=9841, tid=3073264496
> > > #
> > > # JRE version: 6.0-b16
> > > # Java VM: OpenJDK Server VM (14.0-b16 mixed mode linux-x86 )
> > > # Distribution: Ubuntu karmic (development branch), package
> > > 6b16-1.6.1-1ubuntu1
> > > # Problematic frame:
> > > # C  0x4f4d0045
> > > #
> > > # If you would like to submit a bug report, please include
> > > # instructions how to reproduce the bug and visit:
> > > #  https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
> > > # The crash happened outside the Java Virtual Machine in native code.
> > > # See problematic frame for where to report the bug.
> > > #
>
> > > ---------------  T H R E A D  ---------------
>
> > > Current thread (0x086d0c00):  JavaThread "main" [_thread_in_native,
> > > id=9842, stack(0xb7294000,0xb72e5000)]
>
> > > siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
> > > si_addr=0x4f4d0045
>
> > > Registers:
> > > EAX=0x733f612c, EBX=0x733e8ff4, ECX=0x71e11422, EDX=0xb72e2b04
> > > ESP=0xb72e2a4c, EBP=0xb72e2a58, ESI=0xb72e2b04, EDI=0xb72e2b04
> > > EIP=0x4f4d0045, CR2=0x4f4d0045, EFLAGS=0x00210293
>
> > > Top of Stack: (sp=0xb72e2a4c)
> > > 0xb72e2a4c:   72960ce6 b72e2b04 733e8ff4 b72e2aa8
> > > 0xb72e2a5c:   7292c204 73bb88a4 7292ceb0 73bb8730
> > > 0xb72e2a6c:   733e8ff4 7277d339 733e8ff4 b72e2a88
> > > 0xb72e2a7c:   7292ce30 73bb88a4 733e8ff4 b72e2aa8
> > > 0xb72e2a8c:   7142d83a b72e2b04 71e11422 0000000b
> > > 0xb72e2a9c:   721a5ff4 b72e2b04 73bb89a0 b72e2b78
> > > 0xb72e2aac:   71c3557e 73bb88a0 b72e2b04 73bb88a4
> > > 0xb72e2abc:   73bb88a4 00000002 767002f0 00000057
>
> > > Instructions: (pc=0x4f4d0045)
> > > 0x4f4d0035:
> > > [error occurred during error reporting (printing registers, top of
> > > stack, instructions near pc), id 0xb]
>
> > > Stack: [0xb7294000,0xb72e5000],  sp=0xb72e2a4c,  free space=314k
> > > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
> > > C=native code)
> > > C  0x4f4d0045
> > > C  [libxul.so+0x187204]
> > > C  [libxul.so+0x9a257e]  NS_InitXPCOM3_P+0x1d8
> > > C  [libxul.so+0x1a71e4]  XRE_InitEmbedding+0x103
> > > C  [libswt-xulrunner-gtk-3555.so+0x64c8]
> > > Java_org_eclipse_swt_internal_mozilla_XPCOM__1Call__IIIIII+0x18
> > > j  org.eclipse.swt.internal.mozilla.XPCOM._Call(IIIIII)I+0
> > > j  org.eclipse.swt.internal.mozilla.XPCOM.Call(IIIIII)I+15
> > > j  org.eclipse.swt.browser.Mozilla.create(Lorg/eclipse/swt/widgets/
> > > Composite;I)V+1542
> > > j  org.eclipse.swt.browser.Browser.<init>(Lorg/eclipse/swt/widgets/
> > > Composite;I)V+227
> > > j
> > > org.eclipse.ui.internal.browser.WebBrowserUtil.canUseInternalWebBrowser
> > > ()Z+59
> > > j
>
> > > org.eclipse.ui.internal.browser.DefaultBrowserSupport.isInternalWebBrowserAvailable
> > > ()Z+0
> > > j
>
> > > org.eclipse.ui.internal.browser.WorkbenchBrowserSupport.isInternalWebBrowserAvailable
> > > ()Z+4
> > > j
>
> > > org.eclipse.help.ui.internal.preferences.HelpPreferencePage.createHelpViewOpenPrefs
> > > (Lorg/eclipse/swt/widgets/Group;)V+8
> > > j
>
> > > org.eclipse.help.ui.internal.preferences.HelpPreferencePage.createOpenModesPrefs
> > > (Lorg/eclipse/swt/widgets/Composite;)V+53
> > > j
> > > org.eclipse.help.ui.internal.preferences.HelpPreferencePage.createContents
> > > (Lorg/eclipse/swt/widgets/Composite;)Lorg/eclipse/swt/widgets/Control;
> > > +97
> > > j  org.eclipse.jface.preference.PreferencePage.createControl(Lorg/
> > > eclipse/swt/widgets/Composite;)V+88
> > > j  org.eclipse.jface.preference.PreferenceDialog.createPageControl
> > > (Lorg/eclipse/jface/preference/IPreferencePage;Lorg/eclipse/swt/
> > > widgets/Composite;)V+2
> > > j  org.eclipse.jface.preference.PreferenceDialog$14.run()V+18
> > > j  org.eclipse.core.runtime.SafeRunner.run(Lorg/eclipse/core/runtime/
> > > ISafeRunnable;)V+5
> > > j  org.eclipse.core.runtime.Platform.run(Lorg/eclipse/core/runtime/
> > > ISafeRunnable;)V+1
> > > j  org.eclipse.ui.internal.JFaceUtil$1.run(Lorg/eclipse/core/runtime/
> > > ISafeRunnable;)V+1
> > > j  org.eclipse.jface.util.SafeRunnable.run(Lorg/eclipse/core/runtime/
> > > ISafeRunnable;)V+4
> > > j  org.eclipse.jface.preference.PreferenceDialog.showPage(Lorg/eclipse/
> > > jface/preference/IPreferenceNode;)Z+115
> > > j  org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage
> > > (Lorg/eclipse/jface/preference/IPreferenceNode;)Z+2
> > > j  org.eclipse.jface.preference.PreferenceDialog$10.run()V+37
> > > j  org.eclipse.swt.custom.BusyIndicator.showWhile(Lorg/eclipse/swt/
> > > widgets/Display;Ljava/lang/Runnable;)V+116
> > > j  org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged
> > > (Lorg/eclipse/jface/viewers/SelectionChangedEvent;)V+38
> > > j  org.eclipse.jface.viewers.StructuredViewer$3.run()V+8
> > > j  org.eclipse.core.runtime.SafeRunner.run(Lorg/eclipse/core/runtime/
> > > ISafeRunnable;)V+5
> > > j  org.eclipse.core.runtime.Platform.run(Lorg/eclipse/core/runtime/
> > > ISafeRunnable;)V+1
> > > j  org.eclipse.ui.internal.JFaceUtil$1.run(Lorg/eclipse/core/runtime/
> > > ISafeRunnable;)V+1
> > > j  org.eclipse.jface.util.SafeRunnable.run(Lorg/eclipse/core/runtime/
> > > ISafeRunnable;)V+4
> > > j  org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged
> > > (Lorg/eclipse/jface/viewers/SelectionChangedEvent;)V+32
> > > j  org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(Lorg/
> > > eclipse/swt/events/SelectionEvent;)V+15
> > > j  org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(Lorg/
> > > eclipse/swt/events/SelectionEvent;)V+5
> > > j  org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(Lorg/
> > > eclipse/swt/events/SelectionEvent;)V+38
> > > j  org.eclipse.jface.util.OpenStrategy.access$5(Lorg/eclipse/jface/
> > > util/OpenStrategy;Lorg/eclipse/swt/events/SelectionEvent;)V+2
> > > j  org.eclipse.jface.util.OpenStrategy$3.run()V+57
> > > j  org.eclipse.swt.widgets.RunnableLock.run()V+11
> > > j  org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Z)Z+29
> > > j  org.eclipse.swt.widgets.Display.runAsyncMessages(Z)Z+5
> > > j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+48
> > > j  org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/swt/
> > > widgets/Shell;)V+23
> > > j  org.eclipse.jface.window.Window.open()I+49
> > > j  org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open()I
> > > +47
> > > j  org.eclipse.ui.internal.OpenPreferencesAction.run()V+17
> > > j  org.eclipse.jface.action.Action.runWithEvent(Lorg/eclipse/swt/
> > > widgets/Event;)V+1
> > > j
> > > org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
> > > (Lorg/eclipse/swt/widgets/Event;Z)V+354
> > > j  org.eclipse.jface.action.ActionContributionItem.access$2(Lorg/
> > > eclipse/jface/action/ActionContributionItem;Lorg/eclipse/swt/widgets/
> > > Event;Z)V+3
> > > j  org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Lorg/
> > > eclipse/swt/widgets/Event;)V+60
>
> > > Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> > > j  org.eclipse.swt.internal.mozilla.XPCOM._Call(IIIIII)I+0
> > > j  org.eclipse.swt.internal.mozilla.XPCOM.Call(IIIIII)I+15
> > > j  org.eclipse.swt.browser.Mozilla.create(Lorg/eclipse/swt/widgets/
> > > Composite;I)V+1542
> > > j
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to