Google Earth crashes on startup

This is apparently a longstanding problem with Google Earth. When I try to start the app, I get the following:

Wed Aug 06 20:59:54:> google-earth
[0806/210000:ERROR:net_util.cc(2195)] Not implemented reached in bool net::HaveOnlyLoopbackAddresses()
[0806/210000:WARNING:sqlite_persistent_cookie_store.cc(504)] Cookie database version 0 is too old to handle.
[0806/210000:WARNING:backend_impl.cc(1875)] Destroying invalid entry.
[0806/210000:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[0806/210000:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[0806/210000:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[0806/210000:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[0806/210000:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[0806/210000:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[0806/210000:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
[0806/210000:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
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/hattons/.googleearth/crashlogs/crashlog-53e2cf90.txt

Please include this file if you submit a bug report to Google.

I’ve found a lot of discussion about it, but no answers. I installed the Google Earth 64-bit rpm from the Google site. This is the crash dump.

Major Version 7
Minor Version 1
Build Number 0002
Build Date Oct  7 2013
Build Time 12:34:45
OS Type 3
OS Major Version 3
OS Minor Version 11
OS Build Version 10
OS Patch Version 0
Crash Signal 11
Crash Time 1407373200
Up Time 0.459062

Stacktrace from glibc:
./libgoogleearth_free.so(+0x23922c)[0x7fee395ce22c]
./libgoogleearth_free.so(+0x23948d)[0x7fee395ce48d]
/lib64/libpthread.so.0(+0xf9f0)[0x7fee3a2819f0]
./libbase.so(_ZN5earth15GfxCardInfoUnix25GetGraphicsCardMemoryInMBERi+0xe)[0x7fee3385d54e]
/opt/google/earth/free/libevll.so(_ZN5earth4evll13VisualContext26DetectHardwareCapabilitiesEv+0x450)[0x7fee2803e180]
/opt/google/earth/free/libevll.so(_ZN5earth4evll13VisualContext11OpenContextEN3Gap3Gfx25igRenderDestinationFormatERKNS0_8InitInfoE+0x1f4)[0x7fee2803e5c4]
/opt/google/earth/free/libevll.so(_ZN5earth4evll13VisualContext4initERKNS0_8InitInfoE+0x123)[0x7fee2803e723]
/opt/google/earth/free/libevll.so(_ZN5earth4evll17RenderContextImpl4initERKNS0_8InitInfoE+0xeb)[0x7fee27eebb9b]
./librender.so(_ZN12RenderWidget6SetApiEPN5earth4evll3APIE+0x7a)[0x7fee30d6064a]
./librender.so(_ZN5earth6render12RenderWindow12createWidgetEv+0x17c)[0x7fee30d4f12c]
./libgoogleearth_free.so(_ZN5earth6client12ModuleWidget9showEventEP10QShowEvent+0x86)[0x7fee395ae9d6]
./libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x599)[0x7fee386d5299]
./libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xac)[0x7fee3867e49c]
./libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x20f)[0x7fee3868673f]
./libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7fee369d8a6c]
./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x12a)[0x7fee386d72ca]
./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0xb1)[0x7fee386d70e1]
./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x3f)[0x7fee386d71df]
./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x1aa)[0x7fee386d75da]
./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146)[0x7fee386d7176]
./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x3f)[0x7fee386d71df]
./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0xb1)[0x7fee386d70e1]
./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x3f)[0x7fee386d71df]
./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x1aa)[0x7fee386d75da]
./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146)[0x7fee386d7176]
./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x3f)[0x7fee386d71df]
./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0xb1)[0x7fee386d70e1]
./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x3f)[0x7fee386d71df]
./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x1aa)[0x7fee386d75da]
./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146)[0x7fee386d7176]
./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x3f)[0x7fee386d71df]
./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x1aa)[0x7fee386d75da]
./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146)[0x7fee386d7176]
./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x3f)[0x7fee386d71df]
./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x1aa)[0x7fee386d75da]
./libQtGui.so.4(_ZN14QWidgetPrivate12showChildrenEb+0x146)[0x7fee386d7176]
./libQtGui.so.4(_ZN14QWidgetPrivate11show_helperEv+0x3f)[0x7fee386d71df]
./libQtGui.so.4(_ZN7QWidget10setVisibleEb+0x1aa)[0x7fee386d75da]
./libQtGui.so.4(_ZN7QWidget10showNormalEv+0x3d)[0x7fee386c8c0d]
./libgoogleearth_free.so(_ZN10MainWindow18readScreensizeInfoEv+0xbc5)[0x7fee395ab1a5]
./libgoogleearth_free.so(_ZN5earth6client11Application12SetupMainWinENS0_3Kvw7ProductEb+0x323)[0x7fee39657763]
./libgoogleearth_free.so(_ZN5earth6client11Application3runEv+0x700)[0x7fee3965e230]
./libgoogleearth_free.so(+0x238c42)[0x7fee395cdc42]
./libgoogleearth_free.so(earthmain+0x1dc)[0x7fee395cde4c]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fee39be1be5]
./googleearth-bin[0x4008b9]


One suggestion was to use the openSuse distributed video drivers, but I can’t run Mathematica with them. Any other suggestions? I would rather not go to the 32-bit version of the app.

Hmm…I’m using ‘google-earth-stable-7.1.2.2041-0.x86_64’ without issue

How does yours compare?

~> rpm -qi google-earth-stable-7.1.2.2041 
Name        : google-earth-stable
Version     : 7.1.2.2041
Release     : 0
Architecture: x86_64
Install Date: Tue 08 Jul 2014 16:40:00 NZST
Group       : Applications/Internet
Size        : 203244843
License     : Multiple, see http://www.google.com/earth
Signature   : (none)
Source RPM  : google-earth-stable-7.1.2.2041-0.src.rpm
Build Date  : Tue 08 Oct 2013 08:40:30 NZDT
Build Host  : gebuild-lnx-4.mtv.corp.google.com
Relocations : /opt 
Packager    : Google Earth Team <google-earth-support@google.com>
Vendor      : Google Inc.
URL         : http://www.google.com/earth
Summary     : Google Earth
Description :
Explore, search and discover the planet

Google Earth lets you fly anywhere to see satellite imagery, 3D buildings, 3D trees, terrain, Street Vieanets and much more.
Distribution: (none)

FWIW, I did tind this discussion

https://productforums.google.com/forum/#!topic/earth/rDwazZ_Um_I

In particular, the post by Alchemist251, along with the README link.

gdb shows this:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff11aa54e in earth::GfxCardInfoUnix::GetGraphicsCardMemoryInMB(int&)
    () from /opt/google/earth/free/libbase.so

I found one workaround for it:

https://productforums.google.com/forum/#!msg/earth/HU5sNXOU9r8/Yx-OXv1Ue9EJ

Not a real fix, but:

Put the following in ‘earth.gdb’:

file /opt/google/earth/free/googleearth-bin
set breakpoint pending on
set env LD_LIBRARY_PATH /opt/google/earth/free
break ‘earth::GfxCardInfoUnix::GetGraphicsCardMemoryInMB(int&)’
commands
return (int) 1000
continue
end
run

Then run:

gdb --command=earth.gdb

That gets the app running, but it is not a “solution”. Whoops! It’s locking up now.

Apparently we have the same bits installed. I’m pretty sure this is related to my video drivers. I am using the ones provided by ATI/AMD, not the ones distributed with OS13.1, but I have to do that to support Mathematica. I do believe the problem is with the Google code, and not with the drivers. I don’t know how to report a bug in Google Earth, or I would.


# rpm -qi google-earth-stable-7.1.2.2041-0.x86_64
Name        : google-earth-stable
Version     : 7.1.2.2041
Release     : 0
Architecture: x86_64
Install Date: Wed 06 Aug 2014 07:59:59 PM EDT
Group       : Applications/Internet
Size        : 203244843
License     : Multiple, see http://www.google.com/earth
Signature   : (none)
Source RPM  : google-earth-stable-7.1.2.2041-0.src.rpm
Build Date  : Mon 07 Oct 2013 03:40:30 PM EDT
Build Host  : gebuild-lnx-4.mtv.corp.google.com
Relocations : /opt 
Packager    : Google Earth Team <google-earth-support@google.com>
Vendor      : Google Inc.
URL         : http://www.google.com/earth
Summary     : Google Earth
Description :
Explore, search and discover the planet

Google Earth lets you fly anywhere to see satellite imagery, 3D buildings, 3D trees, terrain, Street View, planets and much more.
Distribution: (none)

# fglrxinfo 
display: localhost:10.0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7700 Series  
OpenGL version string: 4.4.12874 Compatibility Profile Context 14.10.1006

https://support.google.com/earth/?hl=en#topic=4363013

Although, I’m cynical that they would put much energy into a timely resolution :confused:

FWIW, here’s a blog explaining how to install and run Windows version from wine

However, despite reports of success from some people (and I guess that is dependant on their graphics hardware), the author is quick to mention

So, you might like to try that if you cannot run Google Earth in Linux but you have WINE installed. However, note that you will be wasting your time if the native Linux version of Google Earth crashes because of its incompatibility with the closed-source ATI or NVIDIA video driver. For example, Google Earth 7.1.2.2041 for Linux crashes on my main laptop using the 14.3_beta version of ati-drivers (AMD ATI Catalyst driver, a.k.a. FGLRX).

It would be useful to see what others using proprietary drivers report/advise about this ugly issue. (I’m just glad I’m running old Intel graphics hardware as I use GE as part of my job.)

Bah! That is just a runaround.

It may do no good, but there is an email address listed in the RPM info to which I sent an email.

It seems a shame to have a half-assed build of a genuinely impressive application. I just reinstalled openSuse 13.1, and GE was one of the first 3rd party applications I’ve been motivated to install.

Linux has always been plagued by these unnecessary inconveniences. I am willing to put in the time to work around them, but many users would rather sacrifice freedom for convenience.

My thoughts too, but I like to share anyway… sometimes helpful to others who come searching.

It may do no good, but there is an email address listed in the RPM info to which I sent an email.

Good idea.

It seems a shame to have a half-assed build of a genuinely impressive application. I just reinstalled openSuse 13.1, and GE was one of the first 3rd party applications I’ve been motivated to install.

Linux has always been plagued by these unnecessary inconveniences. I am willing to put in the time to work around them, but many users would rather sacrifice freedom for convenience.

On the same page as you about that.

BTW, will using Google Maps suffice for you at the moment?

…and for others who may wonder about possible alternatives…

…although I fully recognise GE is hard to beat for most of us. :slight_smile:

I’m running 13.1 with the fglrx driver. I get the same error as the original poster with the x86_64 version of Google Earth. However, the i386 version 7.1.2.2041 rpm installs and runs with no problems. It’s better than nothing and beats running under Wine. Admittedly, the 64 bit version would be better and certainly Google could and should institute whatever the required fix is – they’ve been sitting on this for a long time.

That’s good to hear, and the pragmatic part of me would say ‘use what works’ anyway.

It’s better than nothing and beats running under Wine. Admittedly, the 64 bit version would be better and certainly Google could and should institute whatever the required fix is – they’ve been sitting on this for a long time.

Yes, it is unfortunate, and Linux users are low on their priority list.

GE was originally a wine app ie an exe that hard linked in wine libraries. Don’t know if it still is

getting the version from Google 7.1.2.2041 I believe I selected the 64 bit version but still required libgthread-2_0_0-32 package

It certainly has that fell about it.

The said README is my current solution for GE 64bit crashes under Debian/Ubuntu/Mint and similar distributions.

My solution for openSuse 13.1 (both 32bit and 64bit) is much better:

https://forums.opensuse.org/showthread.php/485283-Google-Earth-7?p=2611672#post2611672

It uses the native QT libraries of openSuse instead of GE’s bundled ones, and solves most of the non-driver related crashes. However, if you use this native QT libs solution under KDE, you will still have an issue with Panoramio (no Panoramio problems under other desktops, like Gnome).

I have a work around for that too, which I published for Fedora here. I guess that a variant of it can work for OpenSuse too.

Amir