Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215318 - dev-util/eclipse-sdk-3.3.1.1 crashing with newest gtk+ (2.12.9-r1)
Summary: dev-util/eclipse-sdk-3.3.1.1 crashing with newest gtk+ (2.12.9-r1)
Status: RESOLVED DUPLICATE of bug 214863
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Development Tools Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
: 215516 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-29 13:42 UTC by Jan Rüegg
Modified: 2008-08-13 17:12 UTC (History)
4 users (show)

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


Attachments
gnome-bug-buddy bugreport (Eclipse-bugreport.txt,26.25 KB, text/plain)
2008-03-30 17:10 UTC, Jan Rüegg
Details
gtk+-2.12.9-fix64bitscrash.patch (gtk+-2.12.9-fix64bitscrash.patch,496 bytes, patch)
2008-04-02 12:38 UTC, Pacho Ramos
Details | Diff
gtk+-2.12.9-r2.ebuild (gtk+-2.12.9-r2.ebuild,4.61 KB, text/plain)
2008-04-08 17:30 UTC, Sumit Khanna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Rüegg 2008-03-29 13:42:27 UTC
eclipse Crashes on startup when x11-libs/gtk+-2.12.9-r1 are installed. Reverting to gtk+-2.12.8 made eclipse working again.

Reproducible: Always

Steps to Reproduce:
1.update to gtk+-2.12.9-r1
2.start eclipse

Actual Results:  
Crash

Expected Results:  
Start of eclipse

jan ~  $  emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-tuxonice-r3-mactel x86_64)
=================================================================
System uname: 2.6.24-tuxonice-r3-mactel x86_64 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Timestamp of tree: Sat, 29 Mar 2008 12:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer nodoc parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="en_GB.UTF-8"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdda cdio cdr cli cracklib crypt cups dbus dri dts dv dvd dvdr dvdread dvi eds emboss encode esd evo fam ffmpeg firefox foomaticdb fortran gdbm gecko gif glitz gnome gnutls gpm gstreamer gtk hal iconv ieee1394 injection ipv6 isdnlog java jpeg kerberos laptop latex ldap libwww lm_sensors mad matroska midi mikmod mmx mono mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin obex ogg opengl openmp oss pam pcre pda pdf perl png ppds python qt3support quicktime readline reflection reiserfs samba sdl session spell spl sse sse2 ssl stream svg symlink syslog tcpd tetex theora threads tiff truetype unicode vcd vim vim-syntax vorbis wifi wxwindows x264 xml xorg xv xvid 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 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-03-29 20:25:55 UTC
cc'ing gnome team, as this is blocking gtk+-next stabilization.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-29 20:46:34 UTC
would be helpful to have more info like a stdout of eclipse when it crashes, some kind of stack/back trace.
Comment 3 Jan Rüegg 2008-03-30 17:09:45 UTC
(In reply to comment #2)
> would be helpful to have more info like a stdout of eclipse when it crashes,
> some kind of stack/back trace.
> 

jan ~  $  eclipse-3.3 
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00002ae020158c0d, pid=6077, tid=1076017488
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b19 mixed mode linux-amd64)
# Problematic frame:
# C  [libc.so.6+0x60c0d]  fgets+0x2d
#
# An error report file with more information is saved as:
# /home/jan/hs_err_pid6077.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/usr/libexec/Eclipse: No such file or directory.


And the gnome-bug-buddy bugreport is attached
Comment 4 Jan Rüegg 2008-03-30 17:10:33 UTC
Created attachment 147703 [details]
gnome-bug-buddy bugreport
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-30 17:35:39 UTC
looks like it's related to the print backend bug.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-30 17:36:18 UTC
does eclipse stop crashing with gtk+ compiled with USE="-cups" ?
Comment 7 Jan Rüegg 2008-03-30 17:55:41 UTC
(In reply to comment #6)
> does eclipse stop crashing with gtk+ compiled with USE="-cups" ?
> 

Yes, disabling cups makes it work again...
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-04-02 09:34:27 UTC
*** Bug 215516 has been marked as a duplicate of this bug. ***
Comment 9 Pacho Ramos gentoo-dev 2008-04-02 12:38:00 UTC
Created attachment 148075 [details, diff]
gtk+-2.12.9-fix64bitscrash.patch

Patch from Mandriva for fixing this
Comment 10 Mart Raudsepp gentoo-dev 2008-04-02 16:05:31 UTC
Then this is a dup of bug 214863?
Comment 11 Mart Raudsepp gentoo-dev 2008-04-02 16:11:11 UTC
I suppose it is with the depend already on it.. Will get to it soon. Adding upstream bug link
Comment 12 Sumit Khanna 2008-04-03 02:03:46 UTC
I tried downgrading to 2.12.8. I had 2.12.9 masked because I had to downgrade due to the printer issue. The printer issue is fixed in 2.12.9-r1, but now I have this eclipse issue. When I downgrade, I get the following compile error from gtk+2.12.8:

>> xgen-gmh \
	&& (cmp -s xgen-gmh gdk-pixbuf-marshal.h || cp xgen-gmh gdk-pixbuf-marshal.h) \
	&& rm -f xgen-gmh xgen-gmh~ \
	&& echo timestamp > stamp-gdk-pixbuf-marshal.h
make  all-recursive
make[3]: Entering directory `/var/tmp/portage/x11-libs/gtk+-2.12.8/work/gtk+-2.12.8/gdk-pixbuf'
Making all in pixops
make[4]: Entering directory `/var/tmp/portage/x11-libs/gtk+-2.12.8/work/gtk+-2.12.8/gdk-pixbuf/pixops'
if /bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng12    -DGDK_PIXBUF_DISABLE_DEPRECATED    -O2 -march=nocona -Wall -MT pixops.lo -MD -MP -MF ".deps/pixops.Tpo" \
	  -c -o pixops.lo `test -f 'pixops.c' || echo './'`pixops.c; \
	then mv -f ".deps/pixops.Tpo" ".deps/pixops.Plo"; \
	else rm -f ".deps/pixops.Tpo"; exit 1; \
	fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng12    -DGDK_PIXBUF_DISABLE_DEPRECATED    -O2 -march=nocona -Wall -MT timescale.o -MD -MP -MF ".deps/timescale.Tpo" \
	  -c -o timescale.o `test -f 'timescale.c' || echo './'`timescale.c; \
	then mv -f ".deps/timescale.Tpo" ".deps/timescale.Po"; \
	else rm -f ".deps/timescale.Tpo"; exit 1; \
	fi
../../libtool: line 463: CDPATH: command not found
../../libtool: line 1299: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.2, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.2
libtool: and run autoconf again.
make[4]: *** [pixops.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.8/work/gtk+-2.12.8/gdk-pixbuf/pixops'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.8/work/gtk+-2.12.8/gdk-pixbuf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.8/work/gtk+-2.12.8/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.8/work/gtk+-2.12.8'
make: *** [all] Error 2
 * 
 * ERROR: x11-libs/gtk+-2.12.8 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2899:  Called die
 * The specific snippet of code:
 *       emake || die "compile failed"
 *  The die message:
 *   compile failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.12.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.12.8/temp/environment'.
 * 



I also applied the fix64bitscrash patch above by adding the following to my ebuild in my portage overlay:

epatch "${FILESDIR}/${PN}-2.12.9-fix64bitscrash.patch

I get the exact same compile error!!

I tried to do an env-update and sourced /etc/profile and ran emerge again. Same result. 
Comment 13 Mart Raudsepp gentoo-dev 2008-04-03 02:10:10 UTC
libtool-2.2.2 is hardmasked. Why do you have it? Downgrade, it breaks too many things still
Comment 14 Sumit Khanna 2008-04-03 03:10:13 UTC
According to /usr/portage/profile/package.mask, libtool-2.2 is hardmasked, 2.2.2 is not. I added it to my local package mask. This should probably be reported in another bug too shouldn't it?
Comment 15 Sumit Khanna 2008-04-03 03:22:11 UTC
Downgraded back to libtool-1.5.26 , installed  x11-libs/gtk+-2.12.9-r2 (which is in my /usr/local/portage overlay and contains the fix64bitcrash.patch attached in bug), restarted Eclipse and it no longer crashes on my old or new workspace.

Comment 16 Marcello Magaldi 2008-04-08 07:27:35 UTC
(In reply to comment #15)
> Downgraded back to libtool-1.5.26 , installed  x11-libs/gtk+-2.12.9-r2 (which
> is in my /usr/local/portage overlay and contains the fix64bitcrash.patch
> attached in bug), restarted Eclipse and it no longer crashes on my old or new
> workspace.
> 

so should this bug be marked resolved fixed since the gtk+-2.12.9-r2 ebuild contain a patch that fixes this issue ?
Comment 17 Sumit Khanna 2008-04-08 17:30:18 UTC
Created attachment 149114 [details]
gtk+-2.12.9-r2.ebuild

This e-build adds in the 64bit patch attached to this bug.
Comment 18 Sumit Khanna 2008-04-08 17:32:43 UTC
No. That e-build is in my LOCAL portage overlay (/usr/local/portage). I've attached it to this bug. It is not yet in portage

(In reply to comment #16)
> so should this bug be marked resolved fixed since the gtk+-2.12.9-r2 ebuild
> contain a patch that fixes this issue ?
> 

Comment 19 Mart Raudsepp gentoo-dev 2008-04-10 01:27:42 UTC
This is definitely just a duplicate of 214863. Marking as such. It's fixed now in gtk+-2.12.9-r2 btw, as soon as it hits the rsync mirrors.


(In reply to comment #14)
> According to /usr/portage/profile/package.mask, libtool-2.2 is hardmasked,
> 2.2.2 is not.

I had tweaked the mask to include 2.2.2 by the time I commented. You probably just got a rsync before that.

*** This bug has been marked as a duplicate of bug 214863 ***
Comment 20 Roman Krylov 2008-08-13 17:12:03 UTC
I had eclipse crashes when working with Clearlooks-Classic GTK theme.
With new ClearLooks it does not crash.