eclipse crashes in Ubuntu 14.04 when using oxygen-gtk theme

Bug #1408614 reported by Steffen Kieß
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk2-engines-oxygen (Ubuntu)
New
Undecided
Unassigned

Bug Description

eclipse crashes in Ubuntu 14.04 when using oxygen-gtk theme (which AFAIK is the default when running eclipse under KDE).

Steps to reproduce:
env GTK2_RC_FILES=/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc eclipse
- Open the properties dialog for a project
- Close the dialog

Result:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ff89e26d718, pid=9825, tid=140706574657280
#
# 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/kiesssn/hs_err_pid9825.log
#
# 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.
#

Package versions:
ii eclipse 3.8.1-5.1 all Extensible Tool Platform and Java IDE
ii gtk2-engines-oxygen:amd64 1.4.5-0ubuntu1 amd64 Oxygen widget theme for GTK+-based applications

Adding this line to the end of ~/.gtkrc-2.0 will fix (or workaround) the problem (unless GTK2_RC_FILES is set and the file is not read):
style "oxygen-default" { GtkComboBox::appears-as-list = 0 }
Setting GtkComboBox::appears-as-list in /usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc to 0 also works.

Related bug reports:
https://bugzilla.gnome.org/show_bug.cgi?id=736323
https://bugs.eclipse.org/bugs/show_bug.cgi?id=372560
http://askubuntu.com/questions/513471/kubuntu-14-04eclipse-adt-crashes-at-button-ok-from-project-properties

Revision history for this message
Ruslan (b7-10110111) wrote :

This is a bug in GTK2: https://bugzilla.gnome.org/show_bug.cgi?id=736323
See this KDE bug report for more details: https://bugs.kde.org/show_bug.cgi?id=329814

Revision history for this message
Prashant Adlinge (adlingepa) wrote :

Thank you.
It works for me.
"Setting GtkComboBox::appears-as-list in /usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc to 0 also works."

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.