Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366339 - sci-geosciences/googleearth-6.0.2.2074 crashes when attempting to start
Summary: sci-geosciences/googleearth-6.0.2.2074 crashes when attempting to start
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major with 2 votes (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-07 13:59 UTC by Grigoriy
Modified: 2013-02-10 15:32 UTC (History)
6 users (show)

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


Attachments
crash log without USE-flag "qt-bundled" (crashlog-4dc55065.txt,1.82 KB, text/plain)
2011-05-07 14:00 UTC, Grigoriy
Details
crash log with USE-flag "qt-bundled" (crashlog-4dc54f75.txt,2.71 KB, text/plain)
2011-05-07 14:01 UTC, Grigoriy
Details
crashlog with (+qt-bundled +mdns-bundled) (crashlog-4ddab295.txt,3.55 KB, text/plain)
2011-05-23 19:18 UTC, Simeon Maryasin
Details
crashlog with (-qt-bundled -mdns-bundled) (intro screen wasn't even shown) (crashlog-4ddab348.txt,1.82 KB, text/plain)
2011-05-23 19:20 UTC, Simeon Maryasin
Details
crashlog with default USEs (+qt-bundled -mdns-bundled) (crashlog-4ddab3a0.txt,3.55 KB, text/plain)
2011-05-23 19:21 UTC, Simeon Maryasin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grigoriy 2011-05-07 13:59:39 UTC
sci-geosciences/googleearth-6.0.2.2074 crashes with or without flag "qt-bundled"

Reproducible: Always

Steps to Reproduce:
1. emerge googleearth
2. run googleearth
Comment 1 Grigoriy 2011-05-07 14:00:47 UTC
Created attachment 272379 [details]
crash log without USE-flag "qt-bundled"
Comment 2 Grigoriy 2011-05-07 14:01:18 UTC
Created attachment 272381 [details]
crash log with USE-flag "qt-bundled"
Comment 3 Marc Wathelet 2011-05-10 20:02:23 UTC
I do not know if this is related or not but I encountered difficulties after upgrading to the same version (sci-geosciences/googleearth-6.0.2.2074 with qt-bundled) under an amd64 architecture.

~ $ googleearth 
./googleearth-bin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

googleearth script launches /opt/googleearth/googleearth-bin

~ $ ldd /opt/googleearth/googleearth-bin 
        linux-gate.so.1 =>  (0xffffe000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf772e000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf772a000)
        libgoogleearth_free.so => not found
        [...]
        libstdc++.so.6 => not found
        [...]

libgoogleearth_free.so needs some LD_LIBRARY_PATH, fixed in launch script.

googleearth-bin is compiled for 32 bit and my libstdc++.so.6 compiled for 32bit is located at /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/32

There are probably better techniques but I patched /opt/googleearth/googleearth:

LD_LIBRARY_PATH=.:${GOOGLEEARTH_DATA_PATH}:${LD_LIBRARY_PATH}
LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/32:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

And googleearth runs fine now. IT should be integrated somehow in ebuild.
Comment 4 Grigoriy 2011-05-11 13:00:55 UTC
(In reply to comment #3)

> 
> There are probably better techniques but I patched
> /opt/googleearth/googleearth:
> 
> LD_LIBRARY_PATH=.:${GOOGLEEARTH_DATA_PATH}:${LD_LIBRARY_PATH}
> LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/32:${LD_LIBRARY_PATH}
> export LD_LIBRARY_PATH
> 
> And googleearth runs fine now. IT should be integrated somehow in ebuild.

No effect.
I resolve problem by this post:
If you aren't fast enough to uncheck "Show tips on start up" then look into the configuration file GoogleEarthPlus.conf which is located in ~/.config/Google
Place the string "enableTips=false" (without quotes) after the "lastTip=8" (number may be different)
at http://www.google.com/support/forum/p/earth/thread?tid=1d88037be5172629&hl=en
Comment 5 Simeon Maryasin 2011-05-23 19:16:28 UTC
Have similar problem here. AMD64, googleearth-6.0.2.2197 (renamed ebuild from .2074) crashes.
Tested with default use-flags (+qt-bundled -mdns-bundled), with all disabled (-qt-bundled -mdns-bundled) and with all enabled (-qt-bundled -mdns-bundled). I'll attach crash logs.

Portage 2.1.9.46 (default/linux/amd64/10.0/desktop, gcc-4.5.2, libc-0-r0, 2.6.38-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 23 May 2011 17:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.2_p8-r1
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 IBM-J1.6 skype-eula AdobeFlash-10.1 googleearth"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-O2 -march=native -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.corbina.net/pub/Linux/gentoo/  ftp://ftp.fi.debian.org/pub/gentoo/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/pro-audio /var/lib/layman/rion /var/lib/layman/arcon /var/lib/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr apache2 aspell avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cvs cxx d3d dbus djvu dri dts dv dvd dvdr emboss encode esd exif fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran frei0r ftp gcj gd gdbm gdu gif gimp gnutls gpm gsm gtk h323 iconv icu id3tag idn ieee1394 ipv6 jabber jack java jingle jpeg jpeg2k kqemu kvm ladspa lame lash lcms libcaca libnotify libsamplerate lua lzo mad midi mmx mng modplug modules mono motif mp3 mp4 mpeg mpi mplayer mudflap multilib mysql nas natspec ncurses nfs nls nptl nptlonly nsplugin offensive ofx ogg openal opengl openmp pam pango pcre pda pdf perl php png policykit portaudio ppds pppd pulseaudio python qt3support qt4 quicktime rar readline romio samba scanner sdl session sip smp sndfile soundtouch sox speex spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff timidity tk truetype twolame udev unicode usb v4l2 vamp vim-syntax vorbis wav wavpack webkit wininst wma wmf x264 xcb xcomposite xft xml xorg xscreensaver xulrunner xv xvid zip zlib zsh-completion" ALSA_CARDS="hda-intel intel8x0 intel8x0m" 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 kexi kpresenter krita tables words" CAMERAS="samsung canon" 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="keyboard mouse ps2mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa vga radeonhd radeon" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Simeon Maryasin 2011-05-23 19:18:26 UTC
Created attachment 274421 [details]
crashlog with (+qt-bundled +mdns-bundled)
Comment 7 Simeon Maryasin 2011-05-23 19:20:03 UTC
Created attachment 274423 [details]
crashlog with (-qt-bundled -mdns-bundled) (intro screen wasn't even shown)
Comment 8 Simeon Maryasin 2011-05-23 19:21:43 UTC
Created attachment 274425 [details]
crashlog with default USEs (+qt-bundled -mdns-bundled)
Comment 9 Simeon Maryasin 2011-05-23 19:44:22 UTC
With qt-bundled enabled it crashes soon after displaying a splash screen. With qt-bundled disabled it crashes even without splash screen at all.
I tried to disable tips in config, but it didn't help.
Comment 10 Richard Kenney 2011-06-20 22:28:28 UTC
I also had the same problem on my AMD64 system but came across this forum topic:

http://forums.gentoo.org/viewtopic-t-849468-highlight-google+earth.html

It seems (on my system at least) that Google Earth doesn't cope well with the two versions of libcrypto included in app-emulation/emul-linux-x86-baselibs, loads both and then falls over.  renaming libcrypto.so.0.9.8 to something else seems to stop Google Earth seeing it - everything is then fine.
Comment 11 Grigoriy 2011-10-24 21:31:38 UTC
Так и не пофиксили чтоли косяк?
Comment 12 Grigoriy 2011-10-24 21:33:03 UTC
Installed versions:  6.0.3.2197 (~amd64) - bug still exist бля дайте код сам исправлю а
Comment 13 Chris Smith 2012-02-26 23:13:12 UTC
(In reply to comment #12)
> Installed versions:  6.0.3.2197 (~amd64) - bug still exist бля дайте код сам
> исправлю а

Indeed. Googleearth still segfaults with 6.0.3.2197.
Comment 14 Julian Ospald 2013-02-10 15:32:38 UTC
is this still an issue with 7.0.2.8415-r1?