Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354281 - sci-geosciences/googleearth-6.0.1.2032_beta segfaults during the start
Summary: sci-geosciences/googleearth-6.0.1.2032_beta segfaults during the start
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 21:21 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2013-02-10 15:30 UTC (History)
11 users (show)

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


Attachments
crashlog (crashlog-4d5304f6.txt,1.82 KB, text/plain)
2011-02-09 21:22 UTC, Sergey 'L29Ah' Alirzaev
Details
crashlog (crashlog-4d47289b.txt,1.78 KB, text/plain)
2011-02-10 21:05 UTC, Jeroen Roovers (RETIRED)
Details
Emerge Info (emerge-info,4.58 KB, text/plain)
2011-03-09 18:09 UTC, Jochen Bauer
Details
google crashlog (crashlog,2.71 KB, text/plain)
2011-03-09 18:09 UTC, Jochen Bauer
Details
Google earth conf file as requested (GoogleEarthPlus.conf,2.43 KB, text/plain)
2011-03-13 21:00 UTC, Jochen Bauer
Details
~/.drirc file that makes googleearth crash (.drirc.old,824 bytes, application/x-trash)
2011-05-13 22:48 UTC, Henry Gebhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2011-02-09 21:21:40 UTC
It seems only amd64 is affected: i have two amd64 gentoo machines and one x86 one, where it runs perfectly.

‰ googleearth 
Google Earth has caught signal 11.



We apologize for the inconvenience, but Google Earth has crashed.
 This is a bug in the program, and should never happen under normal
 circumstances. A bug report and debugging data have been written
 to this text file:

    /home/l29ah/.googleearth/crashlogs/crashlog-4d5304f6.txt

Please include this file if you submit a bug report to Google.
Comment 1 Sergey 'L29Ah' Alirzaev 2011-02-09 21:22:57 UTC
Created attachment 261967 [details]
crashlog
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-10 21:04:54 UTC
No, I actually get the same thing on x86.

Thu Feb 10 22:02:14 CET 2011
Portage 2.2.0_alpha23 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-gentoo-r12-JeR i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r12-JeR-i686-AMD_Athlon-TM-_XP_2500+-with-gentoo-2.0.1
Timestamp of tree: Thu, 10 Feb 2011 16:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
Repositories: gentoo JeR
Installed sets: @system
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -Wall -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/distcc/bin /usr/share/X11/app-defaults/XTerm /usr/share/X11/app-defaults/XTerm-color"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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="-O2 -pipe -Wall -march=athlon-xp"
DISTDIR="/aches/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distcc distlocks fixlafiles fixpackages metadata-transfer news notitles parallel-fetch protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.leaseweb.com/gentoo/ http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en en_GB nl"
MAKEOPTS="-j4"
PKGDIR="/keeps/gentoo/packages/astrid"
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="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="256-color 3dnow 3dnowext X a52 aac aalib acpi alsa amr asf audiofile bash-completion berkdb bl boost branding bzip2 cairo cdda cddb cdio cdparanoia cdr chroot cli cpath cracklib crypt cscope css cups curl custom-cflags custom-cpuopts custom-cxxflags custom-optimization cxx dbus dga dillo dirac divx dri dts dv dvd dvdr dvdread edl elf emboss encode exif extensions faac faad fame fbcon ffmpeg fftw flac flash fontconfig fontforge foomaticdb fortran freetype gdbm gdu geoip ggi gif gimpprint glib glut gmedia gnokii gnutls gpm graphite grp gs gstreamer gtk gtk2 hog iconv id3tag idn imlib inkjar ipv6 jingle jpeg ladspa lcms libcaca libsamplerate live lm_sensors logrotate lua lzo mad matroska midi mikmod mjpeg mmx mmxext mng modplug modules mozilla mozsvg mozxmlterm mp3 mp4 mpeg mplayer mudflap multislot musepack mvl mxxext ncurses nethack network network-cron nforce2 nl nls nptl nptlonly nsplugin nss nvidia offensive ogg opengl openmp openssl optimisememory pam pango pcre pda pdf perl physfs plotutils png policykit ppds pppd python qpak qt3support quicktime readline realmedia rtc rtmp rtsp ruby samba savedconfig server session sftplogging shout skins smi smux snmp speex spell sse ssl stream svg sysfs syslog tcpd test tetex tga theora threads thunar tiff truetype udev unicode upnp usb userlocales utils v4l v4l2 vaapi vcd vidix vim visualizer vlm vorbis wad web webdav-neon win32codecs winbind wmp x264 x86 xanim xcb xcomposite xml xml2 xorg xosd xterm-color xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" 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 evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia via" 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, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sci-geosciences/googleearth-6.0.1.2032_beta was built with the following:
USE="test -mdns-bundled -qt-bundled"
CFLAGS="-O2 -pipe -Wall -ggdb -march=athlon-xp"
CXXFLAGS="-O2 -pipe -Wall -ggdb -march=athlon-xp"
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-10 21:05:19 UTC
Created attachment 262083 [details]
crashlog
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-02-10 23:34:50 UTC
Any difference with qt-bundled enabled?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-11 07:07:11 UTC
Yes, USE=qt-bundled removes the problem. FWIW, in my case x11-libs/qt-*-4.6.3* happen to be installed.
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-02-13 09:26:20 UTC
I'll probably have to put a big warning there. It used to work with system Qt, but seems not anymore. Can't fix a binary package though, and upstream also probably won't care as they bundle the libs.
Comment 7 Sergey 'L29Ah' Alirzaev 2011-02-14 12:19:23 UTC
(In reply to comment #4)
> Any difference with qt-bundled enabled?
Nope.
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-02-15 16:07:01 UTC
(In reply to comment #7)
> (In reply to comment #4)
> > Any difference with qt-bundled enabled?
> Nope.

Too bad. I can't suggest anything else than submitting report to google/searching their forums, and include the crashlog as requested. Keep qt-bundled enabled though, so it's not dismissed as a consequence of replacing their qt libs.
Comment 9 Jochen Bauer 2011-03-09 18:07:42 UTC
I have the same problem here, but with a longer related story.

I used to run google earth 5.1.3535.3218-r1 which ran perfectly beside ugly fonts. A qt-bundled flag isn't there for that version.

So today I decided to give 6.0.1.2032_beta a try. It installed wothout any problems. Google earth 6.0.1.2032_beta started and was fully usable, but the fonts were unreadable small. I went through various Workarounds for that and tried some unmerging and reemerging. I didn't get the fonts fixed. During my whole tries (including deleting /opt/googleearth and ~/.googleearth after unmerging, then reemerging) the version 6.0.1.2032_beta remained usable. It did'nt crash.

My last try to fix it somehow, was the idea to remove whole ~/.config/Google to have a cleaner environment. After that 6.0.1.2032_beta didn't start anymore. The splash screen shows up, the main window and the "Hints at startup"-window appeared for a second, then it crashed.

I wanted to go back to stable 5.1.3535.3218-r1 but that is not possible anymore because of the fetch restriction. (Should get out of the Portage Tree, cause it is not emergeable anymore)

So I tried it with the other 5.2 unstable version but with the same crashing as described abve on startup. 

Both times with USE +qt-bundled. Tries with USE -qt-bundled were not sucessful too.

So now I am stucked without any working googleearth for the moment.

What I find somehow strange is that 6.0.1.2032_beta worked well, with the existing ~/.config/Google directory from the previously installed 5.1.3535.3218-r1

The Crashing began after removing that directory.

To finish the long story, here is my emerge --info and the google crash report:
Comment 10 Jochen Bauer 2011-03-09 18:09:12 UTC
Created attachment 265323 [details]
Emerge Info
Comment 11 Jochen Bauer 2011-03-09 18:09:38 UTC
Created attachment 265325 [details]
google crashlog
Comment 12 Richard 2011-03-13 15:07:31 UTC
I have been having this problem for several months. I tried doing strace googlearth to try to diagnose the cause of the problem, but there is nothing in the strace that indicates that anything is wrong.
Comment 13 Jochen Bauer 2011-03-13 15:38:40 UTC
As a workaround for the startup issue, I found that I had to add the line:

enableTips=false

to the [General] section in the googleEarthPlus.conf file in ~/.config. So it runs, but the fonts remain worst ugly.
Comment 14 Richard 2011-03-13 16:47:53 UTC
That file does not appear to exist on my system. Is there any chance that you could attach it and state the path from ~/?
Comment 15 Jochen Bauer 2011-03-13 21:00:15 UTC
Created attachment 265763 [details]
Google earth conf file as requested

Of course,

the  Path is: ~/.config/Google/GoogleEarthPlus.conf

and it looks like attached.

But I could imagine that you don't have that file, because Google earth doesn't even get to a point where the file is needed. If you are missing that file or folder, then Google Earth will definitely make them on the first startup. If it crashes on your system before it needs that file, it will not help you if you put it there manually, I guess. But give it a try.
Comment 16 Josh Parsons 2011-03-17 10:40:41 UTC
I also find that 6.0.1.2032_beta crashes as described above. However, I have found that it works fine with LIBGL_ALWAYS_INDIRECT=1 in the environment. That suggests some conflict between a Mesa dri library (or some library it depends on) and the libraries that the googleearth binary was built with.
Comment 17 Ulenrich 2011-03-18 00:05:40 UTC
Another workaround:
- Install as normal user the googleearth bin in distfiles, 
  then copy to /opt and chown -R root

It seems the emerge ebuild does something wrong. Perhaps 
this config thing LIBGL_ALWAYS_INDIRECT=1  ?
Comment 18 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-04-02 17:49:10 UTC
(In reply to comment #17)
> Another workaround:
> - Install as normal user the googleearth bin in distfiles, 
>   then copy to /opt and chown -R root
> 
> It seems the emerge ebuild does something wrong. Perhaps 
> this config thing LIBGL_ALWAYS_INDIRECT=1  ?

I suppose it's because the ebuild removed the bundled libGLU.so.1 library. In the new 6.0.2.2074 version it's no longer removed, so please try to ugprade and report if there are any improvements, and whether LIBGL_ALWAYS_INDIRECT=1 still makes some difference. On my Intel graphics laptop I see no difference with and without the flag and with and without the bundled library. On my radeon-powered desktop the flag improved performance tremendously in 6.0.1, but I couldn't test 6.0.2 yet to see if keeping the bundled lib has the same effect.
Comment 19 urcindalo 2011-04-03 08:17:36 UTC
(In reply to comment #13)
> As a workaround for the startup issue, I found that I had to add the line:
> 
> enableTips=false
> 
> to the [General] section in the googleEarthPlus.conf file in ~/.config. So it
> runs, but the fonts remain worst ugly.

Thanks very much. That worked, indeed. I get no more crashes when starting :)
By the way, that's when I have the qt-bundled USE flag active. If I deactivate it the program does not even launch, in a mostly stable amd64 box (KDE 4 and qt come from stable packages).
 
Regarding ugly fonts, I found something when trying to change the charset selection in the program. Do you have media-fonts/font-adobe-75dpi installed? In the past I had to install it to get good fonts in GoogleEarth 5.x, but I discovered that by *uninstalling* this package you get a "beautiful" font in GoogleEarth 6.0.2.2074. At least, much better than the 75 dpi fonts by Adobe if the former package is installed. I use a laptop with a resolution of 1366x768 and the screen dpi correctly and automatically set at 96 dpi by xf86-video-ati.

On the other hand, I had to remove two files: "/opt/googleearth/lang/es-419.qm" and "/opt/googleearth/lang/es.qm". When the program starts in Spanish all the accented characters do not display properly. I get a hollow square instead, which is really annoying, so I prefer to launch it in English.

* Would it be possible to make the package honor the LINGUAS USE flags, instead of installing all of them?
* Would it be possible to add a utf-8 USE flag, or something like that, so that the ebuild converts the included language charset from ISO-8859-1 or whatever to UTF8?
Comment 20 Vadim Efimov 2011-04-05 22:00:02 UTC
(In reply to comment #19)
> (In reply to comment #13)
> > As a workaround for the startup issue, I found that I had to add the line:
> > 
> > enableTips=false
> > 
> > to the [General] section in the googleEarthPlus.conf file in ~/.config. So it
> > runs, but the fonts remain worst ugly.
> 
> Regarding ugly fonts, I found something when trying to change the charset
> selection in the program. Do you have media-fonts/font-adobe-75dpi installed?
> In the past I had to install it to get good fonts in GoogleEarth 5.x, but I
> discovered that by *uninstalling* this package you get a "beautiful" font in
> GoogleEarth 6.0.2.2074. At least, much better than the 75 dpi fonts by Adobe

enableTips=false work for my amd64 system too

When I remove all adobe fonts, googleearth start displaying Russian letters correctly. If I remove only font-adobe-75dpi, I get menu, but other things like search field & popups on map don't displayed.
Comment 21 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-05-06 02:06:16 UTC
On my ~amd64 system (glibc-2.13-r2, xorg-server-1.10.1, nvidia-drivers-270.41.03), googleearth-6.0.2.2074 with USE=qt-bundled crashes unless "enableTips=false" is the LAST line in the [General] section of the config file.

I originally had "enableTips=false" in the middle of the [General] section, and googleearth-6 would always crash on startup (both with and without qt-enabled USE flag). After adding a second "enableTips=false" line at the end of the [General] section, googleearth-6 would start correctly, but it would automatically remove the second entry from the config file, forcing me to edit the config file every time I wanted to run the program.

After moving the "enableTips=false" line to the end of the [General] section, googleearth-6 has stopped rewriting its config file and now mostly works correctly (it still crashes with a "*** glibc detected *** ./googleearth-bin: munmap_chunk(): invalid pointer: 0xf75dcd48 ***" error when I exit the program).
Comment 22 Henry Gebhardt 2011-05-13 22:45:06 UTC
Here on ~amd64 googleearth has been crashing for a while during startup, too. It was solved by removing the ~/.drirc file. I'll attach it. Setting "enableTips=false" didn't help. This is on an Intel GM965 graphics card, googleearth-6.0.2.2074.

PS: Running googleearth as a new user (useradd -m test, etc.) helped a lot in finding this.
Comment 23 Henry Gebhardt 2011-05-13 22:48:46 UTC
Created attachment 273151 [details]
~/.drirc file that makes googleearth crash

If this file is present at ~/.drirc, then googleearth crashes. My video card is an "Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)".
Comment 24 christian.staffa 2011-06-15 21:06:49 UTC
hi,

i got a crash on GE, too. i am using the GE v6.0.3.2197.

after reading for me i got it working with the environment variable LIBGL_ALWAYS_INDIRECT=1. in my box is a Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03).
i've the use flag qt-bundled active and have not deleted the ~/.drirc or something.
Comment 25 Julian Ospald 2013-02-10 15:30:32 UTC
try 7.0.2.8415-r1