Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse(Android Bundle) Crashing

I recently upgraded to Ubuntu 14.04. Since then Eclipse has been crashing. The message is

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x734be86d, pid=7930, tid=3076015872
#
# JRE version: Java(TM) SE Runtime Environment (8.0_05-b13) (build 1.8.0_05-b13)
# Java VM: Java HotSpot(TM) Client VM (25.5-b02 mixed mode linux-x86 )
# Problematic frame:
# C  [libsoup-2.4.so.1+0x5486d]  soup_session_feature_detach+0x1d
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/funcoding/Android Development/adt-bundle-linux-x86-20131030/eclipse/hs_err_pid7930.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

I also tried adding -Dorg.eclipse.swt.browser.DefaultType=mozilla" to eclipse.ini

Update: I tried many things but keeps on crashing unexpectedly. Finally I have decided to stick with Android Studio(Running smoothly as of now).

like image 607
curious_coder Avatar asked Apr 19 '14 16:04

curious_coder


3 Answers

This is just a temporary fix, and I am sure it won't be selected as an answer, but I am putting this here so that anyone with this problem can at least continue to use eclipse until a better solution is found.

Tool tips appear to be causing the problem so I disabled them. I am able to continue programming and I haven't had it crash on me again (yet).

To disable tool tips go to Windows>Preferences>Java>Editor>Hovers and deselect all of the text hover key modifier preferences.

I hope this helps.

edit:

It also crashes when eclipse tries to content assist users. To disable this go to Windows>Preferences>Java>Editor>Content Assist. Scroll down to Auto Activation and disable auto activation

like image 163
Ian Avatar answered Nov 03 '22 11:11

Ian


This bug has been reported here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=404776

Fix described in comments that works for me too is to add this line at the end of your eclipse.ini file

-Dorg.eclipse.swt.browser.DefaultType=mozilla

like image 27
Pablo A. Martínez Avatar answered Nov 03 '22 12:11

Pablo A. Martínez


I am running Ubuntu 14.04 and was getting this with the Android ADT bundle of eclipse. Installing eclipse via the Ubuntu Software Center and then installing ADT via the directions linked below worked for me.

http://developer.android.com/sdk/installing/installing-adt.html

like image 7
vitriolix Avatar answered Nov 03 '22 12:11

vitriolix