Comment 0 for bug 1317972

Revision history for this message
Javier (javiersmail) wrote :

Eclipse always crashes when creating a new Java Proyect.

Started with all projects closed and try to crete a new one, after clicking 'finish' in the wizard the IDE crahes. The new project is created, when restarting the IDE I can see the created project, crete a new Class in it and execute a simple 'Hello Worls' (not test further).

The console output is:

eclipse
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fa6f1d01d6c, pid=27614, tid=140355305113344
#
# JRE version: 6.0_31-b31
# Java VM: OpenJDK 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libgobject-2.0.so.0+0x31d6c] g_type_check_instance_is_a+0x3c
#
# 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/javi/hs_err_pid27614.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 also try it with openjdk-7 instead, also crahes.

Also I am unable to create the bug through 'ubuntu-bug', when running it the output is:

ubuntu-bug eclipse
ERROR: hook /usr/share/apport/package-hooks/source_eclipse.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
    symb['add_info'](report, ui)
TypeError: add_info() takes 1 positional argument but 2 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 202, in _run_hook
    symb['add_info'](report)
  File "/usr/share/apport/package-hooks/source_eclipse.py", line 23, in add_info
    if len(lines) > 0:
TypeError: object of type 'filter' has no len()

Am I doing something wrong or is this another bug?