Eclipse crashes on Help -> Install New Software... -> Anything Done Here

Bug #483882 reported by silverado
This bug report is a duplicate of:  Bug #445009: Eclipse SIGSEGVs in libpango. Edit Remove
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am running:

Ubuntu 9.10 Karmic Koala 64 Bit. All packages are up to date.

uname -a
Linux MyHost 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux

java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

Error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f3761360f7a, pid=31245, tid=139876503640336
#
# JRE version: 6.0-b16
# Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 )
# Distribution: Ubuntu 9.10, package 6b16-1.6.1-3ubuntu1
# Problematic frame:
# C [libpango-1.0.so.0+0x24f7a] pango_layout_new+0x2a
#
# An error report file with more information is saved as:
# /home/csherrell/Downloads/eclipse/hs_err_pid31245.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 crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

I installed eclipse and wanted to install CDT and some other tools so I went to:

Help -> Install New Software... -> Add
Name: Eclipse Galileo Release
Location: http://download.eclipse.org/releases/galileo
Clicked OK.
Added: Eclipse C/C++ Development Tools
Clicked Next
Clicked Next
Clicked Accept
Clicked Finished.
Then Eclipse Crashed

Restarted Eclipse...
Window -> Open Perspective -> Other
No C/C++ Perspective
Clicked Cancel
File -> New -> Other -> Cancel
Then Eclipse Crashed

Restarted Eclipse...
Help -> Install New Software... -> Cancel
Then Eclipse Crashed

When to: http://www.eclipse.org/downloads/
Downloaded: Eclipse IDE for C/C++ Developers 64 Bit.
Waited...And Waited...And Waited...
tar zxvf eclipse-cpp-galileo-SR1-linux-gtk-x86_64.tar.gz
cd eclipse/
Crossed my fingers...
./eclipse
Help -> Install New Software... -> Cancel
Then Eclipse Crashed

Currently I am not able to use eclipse for C/C++ development.

Revision history for this message
elettronica67 (nennap) wrote :

Hi, I am running Ubuntu 9.10 32bit and I have the same problem if I select new project and then exit with the cancel key

Revision history for this message
Fabien Michel (fmichel) wrote :

Hi, I am running Ubuntu 9.10 64bit and I have the same problem in many use cases with Eclipse (java EE and Sun's jdk 1.6_17). It is completely annoying.

Revision history for this message
jfanj (john-fanjoy) wrote :

Hi, I am running Ubuntu 9.10 64bit and I have this same error if I try to add software sources to eclipse. Trying to devleop php in eclipse but I can't install PDT. Program closes with same error message.

Revision history for this message
Ferran (makokibcn) wrote :

Hi all

I have the same ploble. I'm running a Karmik 9.10 32 bit. First I tried to installl new software with my Admin User, but it crashed. Then, I tried also with sudo eclipse, but it crashes anyway. I tried to intall the BIRT package, but i think this issue is for any soft you try to install.

Regards

Revision history for this message
emiperez (emiperez) wrote :

I use Karmic amd64 as well, but I didn't install eclipse and jdk from synaptic. I downloaded them from the websites of eclipse and sun. Some weeks ago I could install some new software from that menu option, but today i can not. So I suppose it is happening due to an update in Ubuntu.

Revision history for this message
emiperez (emiperez) wrote :

I've installed a clean Karmic Koala amd64.
No any JDK installed from synaptic.
I've downloaded the JDK from Java.com website and installed it.
I've downloaded SpringSource Tool Suite (Eclipse for Spring) and installed it.
added the following lines to ~/.bashrc

export JAVA_HOME=~/dev/jre1.6.0_17
export PATH=$PATH:$JAVA_HOME/bin
export GDK_NATIVE_WINDOWS=true

No problem to install new Software.
Then I've run the updates manager, installed all the updates and reboot the system and haven't found any problem to install new software from eclipse.
So, you can try to install a clean Ubuntu Karmic with no JDK from repositories, and download the jdk from Java.com and eclipse from eclipse.org

Revision history for this message
silverado (sherrell) wrote :

At the moment I need my system. Of those that have done the clean install they lose a day or more of productivity because of the grub issue. Our particular workstations will not boot with the clean install without significant hard-ache so personally I will have to wait for some downtime to fight this battle.

Revision history for this message
Mike Power (mpower) wrote :

I had this problem with both sun java and openjdk. Both reference libpango.

mpower@dodtsair:~$ uname -a
Linux dodtsair 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux

mpower@dodtsair:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

It sounds like this is a libpango bug and should be moved over there.

Revision history for this message
James Stansell (jamesstansell) wrote :

Hi Mike,

From my reading, this was a problem in libswt (yeah, weird that libpango gets fingered, but that's C for ya) that the eclipse project has a fix for now. One of the other LP bugs has an attached libswt file that some people have reported success with.

-james.

Revision history for this message
Mike Power (mpower) wrote :

Thanks for the input James do you have a URL for the libswt bug?

Revision history for this message
James Stansell (jamesstansell) wrote :

LP #445009

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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