Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455124 - sci-geoscience/googleearth-7.0.2.8415 segfaults
Summary: sci-geoscience/googleearth-7.0.2.8415 segfaults
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard: [WORKAROUND in CVS]
Keywords:
: 346181 455264 (view as bug list)
Depends on: 455284
Blocks:
  Show dependency tree
 
Reported: 2013-02-02 13:25 UTC by Julian Ospald
Modified: 2014-02-08 15:59 UTC (History)
9 users (show)

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


Attachments
googleearth-7.0.2.8415-r1.ebuild (googleearth-7.0.2.8415.ebuild,5.99 KB, text/plain)
2013-02-03 19:05 UTC, Julian Ospald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ospald 2013-02-02 13:25:17 UTC
crashlog:
Major Version 7
Minor Version 0
Build Number 0002
Build Date Dec 13 2012
Build Time 17:54:43
OS Type 3
OS Major Version 3
OS Minor Version 4
OS Build Version 9
OS Patch Version 0
Crash Signal 11
Crash Time 1359810513
Up Time 0,010872

Stacktrace from glibc:
./libgoogleearth_free.so(+0x1e9fab)[0xf7622fab]
./libgoogleearth_free.so(+0x1ea1f3)[0xf76231f3]
linux-gate.so.1(__kernel_sigreturn+0x0)[0xf77c7400]
/usr/lib32/libexpat.so.1(+0x320e)[0xf3cdf20e]
/usr/lib32/libexpat.so.1(+0x3240)[0xf3cdf240]
/usr/lib32/libexpat.so.1(+0x5978)[0xf3ce1978]
/usr/lib32/libexpat.so.1(+0x69a2)[0xf3ce29a2]
/usr/lib32/libexpat.so.1(+0x78f1)[0xf3ce38f1]
/usr/lib32/libexpat.so.1(XML_ParseBuffer+0x83)[0xf3ce78a3]
/usr/lib32/libfontconfig.so.1(FcConfigParseAndLoad+0x1eb)[0xf67e36db]
/usr/lib32/libfontconfig.so.1(FcConfigParseAndLoad+0x54c)[0xf67e3a3c]
/usr/lib32/libfontconfig.so.1(+0x1dd0b)[0xf67e3d0b]
/usr/lib32/libexpat.so.1(+0x65b0)[0xf3ce25b0]
/usr/lib32/libexpat.so.1(+0x78f1)[0xf3ce38f1]
/usr/lib32/libexpat.so.1(+0x8dda)[0xf3ce4dda]
/usr/lib32/libexpat.so.1(+0x9a5a)[0xf3ce5a5a]
/usr/lib32/libexpat.so.1(XML_ParseBuffer+0x83)[0xf3ce78a3]
/usr/lib32/libfontconfig.so.1(FcConfigParseAndLoad+0x1eb)[0xf67e36db]
/usr/lib32/libfontconfig.so.1(FcInitLoadConfig+0x42)[0xf67d85f2]
/usr/lib32/libfontconfig.so.1(FcInitLoadConfigAndFonts+0xc)[0xf67d870c]
/usr/lib32/libfontconfig.so.1(FcInit+0x2d)[0xf67d897d]
./libQtGui.so.4(_Z7qt_initP19QApplicationPrivateiP9_XDisplaymm+0x1fff)[0xf6b8502f]
./libQtGui.so.4(_ZN19QApplicationPrivate9constructEP9_XDisplaymm+0x6a)[0xf6affb2a]
./libQtGui.so.4(_ZN12QApplicationC1ERiPPci+0x83)[0xf6b00a53]
./libgoogleearth_free.so(_ZN5earth6client11ApplicationC1ERiPPc+0x79)[0xf76b4f99]
./libgoogleearth_free.so(+0x1e8aaf)[0xf7621aaf]
./libgoogleearth_free.so(earthmain+0x249)[0xf7621e69]
./googleearth-bin[0x804879b]
/lib32/libc.so.6(__libc_start_main+0xe7)[0x49b1a0c7]
./googleearth-bin[0x80486e1]
Comment 1 Julian Ospald 2013-02-02 13:25:31 UTC
# emerge --info
Portage 2.2.0_alpha161 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r3, 3.4.9-gnu-ck3 x86_64)
=================================================================
System uname: Linux-3.4.9-gnu-ck3-x86_64-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-2.1
KiB Mem:     4047728 total,    200952 free
KiB Swap:    2047996 total,   1997924 free
Timestamp of tree: Wed, 30 Jan 2013 11:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.5.4-r4, 2.6.8, 2.7.3-r2, 3.1.5, 3.2.3
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.1, 1.12.6, 1.13.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.3, 4.7.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo gentoo-zh neurogeek sunrise hasufell arx-libertatis crossdev hasufell-overlay
Installed sets: @bleh, @optional, @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -Wall -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/applications /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /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=core2 -O2 -pipe -Wall -g"
DISTDIR="/home/distfiles"
EMERGE_DEFAULT_OPTS="--usepkg"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://de-mirror.org/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
PKGDIR="/home/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-z -9"
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="/var/lib/layman/gentoo-zh /var/lib/layman/neurogeek /var/lib/layman/sunrise /var/lib/layman/hasufell /var/lib/layman/arx-libertatis /usr/local/crossdev /usr/local/portage"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apng bash-completion berkdb bzip2 cairo cdr cli consolekit cracklib crypt cscope css cxx dbus dri dv dvd dvdr exif fat ffmpeg flac fontconfig fortran gdbm gif gpm gstreamer hddtemp iconv icq ipv6 jabber java jpeg jpeg2k lame libnotify lm_sensors matroska mmx modules mp3 mp4 mpeg mudflap multilib musepack ncurses nls nptl nsplugin ntfs ogg opengl openmp oscar pam pcre pdf png policykit python raw readline sdl session sound sse sse2 ssl ssse3 svg tcpd tiff timidity truetype udev unicode usb v4l vcd vdpau vim-syntax vnc vorbis wavpack wmf x264 xv xvid xvmc 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="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump" 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="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport presenter-console presenter-minimizer wiki-publisher" LINGUAS="de en" NETBEANS_MODULES="*" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="*" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" 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"
USE_PYTHON="2.5 2.6 2.7 3.1 3.2"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Julian Ospald 2013-02-02 13:25:49 UTC
temporary workaround:

eselect fontconfig disable 65-fonts-persian.conf
Comment 3 Denis M. (Phr33d0m) 2013-02-03 10:31:24 UTC
*** Bug 455264 has been marked as a duplicate of this bug. ***
Comment 4 Denis M. (Phr33d0m) 2013-02-03 10:33:02 UTC
Even that 455264's OP can't get it to work with the temporary workaround suggestion here, it's still the same bug.
Comment 5 poncho 2013-02-03 11:56:06 UTC
(In reply to comment #3)
> *** Bug 455264 has been marked as a duplicate of this bug. ***

googleearth-7.0.2.8415 segfaults in /usr/lib32/libexpat.so.1 from emul-linux-x86-baselibs-20121202

They are talking about libexpat in the openSUSE bugreport here:
fontconfig 2.9.0 makes google-earth 7.x crash
https://bugzilla.novell.com/show_bug.cgi?id=798644
Comment 6 Uros 2013-02-03 13:38:16 UTC
Same segfault here. Disabling 65-fonts-persian.conf doesn't work. Haven't tried building expat with "-Bsymbolic-links" as mentioned on novell bugzilla.
Comment 7 Julian Ospald 2013-02-03 13:46:03 UTC
(In reply to comment #6)
> Same segfault here. Disabling 65-fonts-persian.conf doesn't work. Haven't
> tried building expat with "-Bsymbolic-links" as mentioned on novell bugzilla.

LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,-Bsymbolic-functions' emerge -av1 --usepkg=n expat

didn't work for me
Comment 8 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-03 14:30:25 UTC
(In reply to comment #7)
> LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,-Bsymbolic-functions' emerge -av1
> --usepkg=n expat
> 
> didn't work for me

Tried that as well but then I noticed that this changes /usr/lib64/libexpat.so.1.6.0 (from dev-libs/expat), and not /usr/lib32/libexpat.so.1 (from app-emulation/emul-linux-x86-baselibs) where the actual issue lies; I've reported a summary of the issue in bug #455284 such that they take can take a look into this or at least track the resolution.
Comment 9 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-03 14:37:04 UTC
*** Bug 346181 has been marked as a duplicate of this bug. ***
Comment 10 Julian Ospald 2013-02-03 19:05:56 UTC
Created attachment 337836 [details]
googleearth-7.0.2.8415-r1.ebuild

This googleearth ebuild fetches a prebuilt expat which includes the suse patches and installs those expat libs into it's basedir.

I don't have experience with prebuilt library shipping, so I just attach this here for now.
Comment 11 Uros 2013-02-03 20:05:59 UTC
(In reply to comment #10)
> This googleearth ebuild fetches a prebuilt expat which includes the suse
> patches and installs those expat libs into it's basedir.

Thank you, startup segfault gone from my system.
Comment 12 Magnus Kessler 2013-02-04 10:33:54 UTC
Another way of getting rid of the seqfault is to remove $HOME/.drirc if it exists. But in the end it all comes down to a fault in (the use of) libexpat. What changes if any have to be applied to the system (emul-linux-x86) version of expat to avoid such errors?
Comment 13 Magnus Kessler 2013-02-04 10:42:48 UTC
As an observation, the expat parser seems to crash on files starting with the <?xml version="1.0"?> processing instruction. Taking the PI out allows googleearth to process the rest of such a file correctly.
Comment 14 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-04 10:47:12 UTC
(In reply to comment #12)
> Another way of getting rid of the seqfault is to remove $HOME/.drirc if it
> exists. But in the end it all comes down to a fault in (the use of)
> libexpat. What changes if any have to be applied to the system
> (emul-linux-x86) version of expat to avoid such errors?

This is not true, what you suggest is a temporary solution to an entirely different stack trace. See bug #455284 for solutions to the Expat stack trace listed in this bug report, although it won't serve as solutions to the DRI stack trace.
Comment 15 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-04 10:50:06 UTC
(In reply to comment #13)
> As an observation, the expat parser seems to crash on files starting with
> the <?xml version="1.0"?> processing instruction. Taking the PI out allows
> googleearth to process the rest of such a file correctly.

Interesting, although this doesn't seem acceptable as a fix to media-libs/fontconfig.

Hmm... Is there maybe something in the file that is not XML-1.0?
Comment 16 Julian Ospald 2013-02-04 23:33:29 UTC
I just took the freedom to commit this as a revbump, blame me if it breaks more shit


+*googleearth-7.0.2.8415-r1 (04 Feb 2013)
+
+  04 Feb 2013; Julian Ospald <hasufell@gentoo.org>
+  +googleearth-7.0.2.8415-r1.ebuild:
+  revbump to fix bug #455124