Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430432 - [java-overlay overlay] dev-util/eclipse-sdk-bin-4.2.0 - segmentation fault in: C [libgobject-2.0.so.0+0x1a8d0] g_object_get_qdata+0x20
Summary: [java-overlay overlay] dev-util/eclipse-sdk-bin-4.2.0 - segmentation fault in...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-08 11:19 UTC by Lukas Schneiderbauer
Modified: 2018-09-25 12:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
error log (hs_err_pid2884.log,96.55 KB, text/plain)
2012-08-08 11:20 UTC, Lukas Schneiderbauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Schneiderbauer 2012-08-08 11:19:59 UTC
After starting eclipse-sdk-bin the splashscreen appears and it asks about the default workspace path. Confirming the dialog results in a crash.

Reproducible: Always

Steps to Reproduce:
0. add java-overlay
1. emerge dev-util/eclipse-sdk-bin-4.2.0
2. start 'eclipse-sdk-bin'
3. confirm the 'set-default-workspace-path'-dialog
Actual Results:  
eclipse crashes with an error message:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f22790878d0, pid=2884, tid=139786228291328
#
# JRE version: 7.0_05-b21
# Java VM: OpenJDK 64-Bit Server VM (23.0-b21 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libgobject-2.0.so.0+0x1a8d0]  g_object_get_qdata+0x20
#
# 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/vootey/hs_err_pid2884.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.
#

Expected Results:  
Eclipse doesn't crash at startup.

$ emerge --info
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r2, 3.4.4-gentoo x86_64)
=================================================================
System uname: Linux-3.4.4-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.1
Timestamp of tree: Wed, 08 Aug 2012 10:30:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local_overlay gamerlay-stable vooteys-overlay java-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en ja zh_CN zh_TW"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/gamerlay /var/lib/layman/vooteys /var/lib/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi akonadi alsa amd64 apng avahi berkdb bluetooth branding bzip2 cairo cdda cdr cli connection-sharing consolekit cracklib crypt cups cxx dbus declarative dirac djvu dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran g3dvl gdbm gif git gnutls google gpg gpm gps hdaps iconv icu id3tag ipv6 jabber jpeg kde kdepim kipi latex lcms libkms libnotify lyx lzma mad matroska mmx mng modules mp3 mp4 mpeg msn mudflap multilib musicbrainz ncurses networkmanager nls nptl nsplugin ogg opengl openmp oscar otr pam pango pcre pdf phonon plasma png policykit ppds pppd pulseaudio python qt3support qt4 readline ruby samba schroedinger sdl semantic-desktop session sftp skype smp sse sse2 ssl ssse3 startup-notification subversion svg tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vdpau video vim-with-x vorbis x264 xcb xcomposite xinerama xml xscreensaver xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon krita sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en ja zh_CN zh_TW" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


As JDK I use dev-java/icedtea-bin-7.2.2.1-r1.
The mentioned error log follows as attachment.
Comment 1 Lukas Schneiderbauer 2012-08-08 11:20:58 UTC
Created attachment 320684 [details]
error log
Comment 2 Lukas Schneiderbauer 2012-08-08 12:43:30 UTC
Update:
While playing a little longer I found out that the crash occurs only when selecting a folder as workspace-path which _already exists_ but has no .metadata folder in it.
Choosing a 'new' unexistent path leads to a correct startup where the .metadata folder is created within the new workspace folder which apparently leads to a correct startup the next start-attempt (choosing the same workspace folder again).
Comment 3 Ian Whyman (thev00d00) gentoo-dev 2012-08-26 15:50:14 UTC
Hi,

I was experiencing this issue, but cant seem to reproduce it now.

What I would recommend is (re)moving your ~/.eclipse or ~/.org.eclipse.* folder if you have one from an older install, it seemed to help here at least.
Comment 4 Andreas Sturmlechner gentoo-dev 2014-05-10 21:55:00 UTC
I can reproduce this reliably with 3.7.1 as well as 4.2.1:

1.: open Find/Replace dialog in editor
2.: find something
3.: then press any button or [Esc]
4.: watch eclipse insta-close

x11-themes/oxygen-gtk-1.4.3
x11-libs/gtk+-2.24.23
dev-java/icedtea-7.2.4.7

Basically, it seems to happen after a gtk+-2 update. Most people seem to be affected when using oxygen-gtk, such as me, but it was also reported using the Raleigh theme.

Workaround without compromising the rest of your gtk looks, start it like that:

GTK2_RC_FILES=/usr/share/themes/Default/gtk-2.0/gtkrc eclipse-3.7


More coverage here: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1241101
Comment 5 Andreas Sturmlechner gentoo-dev 2014-05-10 22:54:48 UTC
Upstream bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=424235
Comment 6 Andreas Sturmlechner gentoo-dev 2014-05-11 19:18:28 UTC
And since it is really an oxygen-gtk bug, here the real upstream bug:

https://bugs.kde.org/show_bug.cgi?id=325196
Comment 7 William L. Thomson Jr. 2017-04-01 17:54:28 UTC
This should be closed, eclipse has its own overlay eclipse-overlay. It is no longer maintained in java-overlay.