Eclipse crash with g_type_check_instance_is_a

Bug #1317972 reported by Javier
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Confirmed
High
Unassigned

Bug Description

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?

Tags: utopic
Revision history for this message
Javier (javiersmail) wrote :
Javier (javiersmail)
tags: added: utopic
removed: trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in eclipse (Ubuntu):
status: New → Confirmed
Revision history for this message
marco (nazgul17) wrote :

I am also affected by this bug.

Here is the output:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fb463bba718, pid=27556, tid=140413065697024
#
# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32)
# Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.5.3
# Distribution: Ubuntu 14.04 LTS, package 7u71-2.5.3-0ubuntu0.14.04.1
# Problematic frame:
# C [libgobject-2.0.so.0+0x19718] g_object_get_qdata+0x18
#
# 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/marco/hs_err_pid27556.log
Compiled method (nm) 83770 441 n org.eclipse.swt.internal.gtk.OS::_g_object_get_qdata (native)
 total in heap [0x00007fb46c952ad0,0x00007fb46c952e50] = 896
 relocation [0x00007fb46c952bf0,0x00007fb46c952c50] = 96
 main code [0x00007fb46c952c60,0x00007fb46c952e50] = 496
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
marco@marco-Z230:~$ java -version
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

My Eclipse version is 3.8.1 and I am using oxigen-gtk theme.

Changed in eclipse (Ubuntu):
importance: Undecided → High
vivi (guoxiaohong1992)
description: updated
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.