Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30

Thread: Eclipse crashes

  1. #21
    Join Date
    Mar 2011
    Location
    Mexico City
    Beans
    1
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Eclipse crashes

    Same here.

    • Ubuntu 10.10 on 64bits
    • Eclipse Elios SR1 (downloaded from the website)
    • Sun java 6
    • Using CDT

    I don't now what the problem is, it worked for me for tree days, and then it started crashed and crashed again.

    I't crashed at the indexing and with the
    -XX:-UseCompressedOops

    At the eclipse.ini is working now. But i think we should use it as a temporary fix.

  2. #22
    Join Date
    Mar 2007
    Location
    Panama
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Eclipse crashes

    Use openJDK.

    Open galternatives and set all of your java programs to openJDK instead of the Sun Java alternative.

  3. #23
    Join Date
    Feb 2009
    Location
    47.3505, 8.71842
    Beans
    168
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Eclipse crashes

    Quote Originally Posted by everweb View Post
    Use openJDK.

    Open galternatives and set all of your java programs to openJDK instead of the Sun Java alternative.
    I can confirm this. On my notebook I have exactly the same setup as on my desktop, except that I use OpenJDK. No crashes on my notebook yet. Both are 64-bit as well.
    “The ships hung in the sky in much the same way that bricks don't.”
    Douglas Adams

  4. #24
    Join Date
    Feb 2011
    Beans
    1

    Re: Eclipse crashes

    Quote Originally Posted by alberto1976 View Post
    Some updates:


    • I managed to disable the C++ indexer (and you need to be fast) and the problem seemed fixed. I did experience few random crashes though even without the indexer.
    • I found a possible solution at https://bugs.eclipse.org/bugs/show_bug.cgi?id=333227 where somebody suggested to add
      Code:
      -XX:-UseCompressedOops
      to the file /usr/lib/eclipse.ini. I have done that and managed to re-activate indexing without seeing any crash.
    That's a bug in the 64Bit version of the Sun JDK/JRE. You should either add the above quoted line to your eclipse.ini or use OpenJDK.

  5. #25
    Join Date
    Dec 2007
    Location
    Louvain-la-Neuve
    Beans
    173
    Distro
    Xubuntu 13.10 Saucy Salamander

    Re: Eclipse crashes

    funny thing... I switched to the repository version and it worked. Not that running away from the problem actually solves the problem, but...

  6. #26
    Join Date
    Nov 2010
    Location
    Kyiv, Ukraine
    Beans
    2
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Eclipse crashes

    Today eclipse with C++ starts crashing, but yesterday worked like a charm (nothing was updated, same cpp project and files).

    '-XX:-UseCompressedOops' solved problem.

    Is there any explanation somewhere? Interesting when I can remove this switch (and should I?)

  7. #27
    Join Date
    Jun 2007
    Beans
    1

    Re: Eclipse crashes

    Hi,
    Got same crash ! I found this workaround :
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=333227
    it worked for me

    Hope it helps

  8. #28
    Join Date
    Oct 2009
    Beans
    18

    Re: Eclipse crashes

    Quote Originally Posted by alberto1976 View Post
    Some updates:


    • I managed to disable the C++ indexer (and you need to be fast) and the problem seemed fixed. I did experience few random crashes though even without the indexer.
    • I found a possible solution at https://bugs.eclipse.org/bugs/show_bug.cgi?id=333227 where somebody suggested to add
      Code:
      -XX:-UseCompressedOops
      to the file /usr/lib/eclipse.ini. I have done that and managed to re-activate indexing without seeing any crash.
    That worked like a charm! Thanks!

  9. #29
    Join Date
    Apr 2007
    Location
    Seattle, WA
    Beans
    6
    Distro
    Ubuntu 7.04 Feisty Fawn
    Fix seems to work for me too. Thanks!

  10. #30
    Join Date
    Sep 2007
    Beans
    66

    Re: Eclipse crashes

    unfortunately fix doesn't seem to work for me.
    Here is a copy of my log file:

    !SESSION Mon May 23 18:51:54 EDT 2011 ------------------------------------------
    !ENTRY org.eclipse.equinox.launcher 4 0 2011-05-23 18:51:54.131
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarte
    r
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 21)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66)
    at org.eclipse.equinox.launcher.Main.invokeFramework( Main.java:556)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:13 11)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1 287)
    Last edited by davidgutu; May 24th, 2011 at 05:29 AM.

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •