Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477410 - app-office/libreoffice-4.1.0.2 - .../work/libreoffice-4.1.0.2/i18npool/source/nativenumber/nativenumbersupplier.cx x:523:19: internal compiler error: Segmentation fault
Summary: app-office/libreoffice-4.1.0.2 - .../work/libreoffice-4.1.0.2/i18npool/source...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-19 16:46 UTC by Charles Svitlik
Modified: 2013-10-06 08:32 UTC (History)
2 users (show)

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


Attachments
build.log.gz (build.log.gz,238.81 KB, application/x-gzip)
2013-07-19 16:48 UTC, Charles Svitlik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Svitlik 2013-07-19 16:46:43 UTC
I thought I was getting bug #477028, but it's actually something else causing a Segmentation fault.

Reproducible: Always

Steps to Reproduce:
1. emerge libreoffice
2. wait
Actual Results:  
Segmentation fault

Expected Results:  
app-office/libreoffice merged successfully

Portage 2.1.12.13 (hardened/linux/amd64, gcc-4.7.3, glibc-2.17, 3.9.9-hardened x86_64)
=================================================================
System uname: Linux-3.9.9-hardened-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.2
KiB Mem:     8102204 total,    242732 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 19 Jul 2013 00:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo steam-overlay x11
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/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=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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/steam /var/lib/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl alsa amd64 berkdb bzip2 cairo cdinstall cjk cli consolekit cracklib crypt cups cxx dbus dga dri eds egl exif fbcon ffmpeg fftw flac fontconfig gdbm gif gles1 gles2 gnome gnome-keyring gnutls gpm gstreamer gtk gtk3 hardened iconv icu imagemagick infinality inotify ipv6 jit jpeg justify libnotify lm_sensors mmx modules mp3 mudflap multilib mxxext nautilus ncurses nls nptl offensive ogg opengl openmp openvg opus pam pax_kernel pcre pdf pic png policykit pulseaudio python readline rss samba sdl session smp sqlite sse sse2 sse3 ssl startup-notification svg tcpd theora threads truetype udev unicode urandom usb v4l vala vdpau vim-syntax vorbis x264 xft xinerama xv xvmc zip zlib zsh-completion" ABI_X86="64 32" 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" 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 author" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby20 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Charles Svitlik 2013-07-19 16:48:59 UTC
Created attachment 353668 [details]
build.log.gz
Comment 2 jospezial 2013-07-24 13:18:12 UTC
The failing files seem to be random.

I get the problem on another part:

[build CXX] sc/source/core/tool/consoli.cxx
/var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/source/core/tool/chgtrack.cxx: In Funktion »__gnu_cxx::new_allocator<_Tp>::size_type __gnu_cxx::new_allocator<_Tp>::max_size() const [mit _Tp = long unsigned int; __gnu_cxx::new_allocator<_Tp>::size_type = long unsigned int]«:
/var/tmp/portage/app-office/libreoffice-4.1.0.2/work/libreoffice-4.1.0.2/sc/source/core/tool/chgtrack.cxx:4831:1: interner Compiler-Fehler: Speicherzugriffsfehler
 }
 ^


A few weeks ago I changed my MAKEOPTS="-j3" to MAKEOPTS="-j2" when I had compiler errors and it worked. but now it does not help.

cpu family      : 15
model           : 107
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
stepping        : 1

2GB RAM

If I run after that crash "make" in the work dir then it has no problems with the former file.

[build MOD] jvmfwk
[build MOD] package
[build PRL] CustomTarget/postprocess/images/sorted.lst
[build PRL] CustomTarget/postprocess/images/commandimagelist.ilst
[build CXX] sc/source/core/tool/chgtrack.cxx
[build CXX] sc/source/core/tool/consoli.cxx
[build CXX] sc/source/core/tool/dbdata.cxx
[build CXX] sc/source/core/tool/ddelink.cxx
[bu


jlgentoo ~ # emerge --info
Portage 2.2.0_alpha188 (default/linux/amd64/13.0, gcc-4.8.1, glibc-2.17, 3.11.0-rc2 x86_64)
=================================================================
System uname: Linux-3.11.0-rc2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.2
KiB Mem:     4050292 total,   2714372 free
KiB Swap:    8068880 total,   8068880 free
Timestamp of tree: Wed, 24 Jul 2013 01:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.8.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo overlay_jl
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --quiet-build=y"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X Xaw3d a52 aac aacplus aacs aalib ace acl acpi activefilter aften alsa amd64 ap apm apng archive async audacious audiofile automount avcodec bash-completion bazaar berkdb binary-drivers binfilter blender-game bluray boost bzip2 bzr cairo canusb ccache cdda cddb cdio cdparanoia cdr cdrdao cdrom cgi charconv chroot city cjk cleartype cli colordiff colors compress consolekit corefonts cpio cracklib crypt css cue cups curl curlwrappers cvs cxx daemon dbus declarative demo device-mapper dga dhcp doom doomsday dri dts dv dvb dvd dvdnav eap eap-sim eap-tls emerald emoticon enca encode enscript equalizer exif extensions extras faac faad farsight farstream fat fax fbcon fdformat ffmpeg fftw firefox flac floppy fluidsynth fontconfig foomaticdb fortran freedoom ftp fts3 fuse g3dvl gallium gd gdbm gdu geoip gif gimp git glib glut gme gnutls gphoto2 gpm graphite gsm gstreamer gtk gtk3 gudev gui gzip hddtemp hdf hdf5 heretic hexen highlight hwdb iconv icq icu id3 id3tag idn imagemagick introspection ios ipc ipod ipv6 irc jack java javascript jit jpeg jpeg2k kate kde keymap ladspa lame laptop lcms lensfun lha libass libcaca libcanberra libkms libnl libnotify libsamplerate libssh2 libtiger libv4l libv4l2 libwww llvm lm_sensors logrotate lua lxde lzma lzo mad madwifi magic man matroska md5sum metalink midi mikmod mime minizip mixer mjpeg mmap mms mmx mmxext mng mod modplug modules mono mouse mozilla mp3 mp4 mpeg mplayer mudflap multilib multislot musepack musicbrainz nano-syntax ncat ncurses ndiff network nfs nfsidmap nfsv3 nfsv4 nfsv41 nls nmap nmap-update nokia normalize nowlistening nping nptl nsplugin nss ntfs ntfsprogs ntp nvidia nvram obex ocr ogg ogm openal opencl opengl openmp optimized-qmake oscar osdmenu osmesa otr p2p pam pango panorama parport parse-clocks pcap pci pcre pdf pdfimport phonon pipes plasma plugins pm-utils pmu png policykit portaudio postscript ppds privacy projectm projectx pulseaudio pvr qalculate qt3support qt4 quicktime r600-llvm-compiler radio rar raw rdesktop readline recording redeyes reiser4 reiserfs remote-access remoteosd replaygain resources rpm rtc rtmp rtsp rubberband samba sbsms scanner schroedinger sdl secure-delete semantic-desktop sensord session sftp sha512 shorten shout skins slang smbclient smi sndfile snowberry sockets sound soundtouch speex spell sql sqlite sqlite3 sse sse2 sse3 ssh ssl startup-notification statistics stk stream subtitles subversion svg swat symlink syslog szip taglib tcpd texteffect tftp theora threads thumbnail tiff translator truetype twolame udev udisks unicode upcall urlpicpreview usb v4l vaapi vamp vcd vcdx vdpau video videos vidmode vim-syntax virtualbox vlm vnc vorbis vpx vroot vst wad wav wavpack webgl webkit webm webpresence wifi winpopup wireshark wmf wps wxwidgets x264 xa xattr xcb xcomposite xfs xine xinerama xinetd xml xorg xosd xpm xrandr xscreensaver xv xvid xvmc zip zlib" ABI_X86="64" 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" 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 author" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa svga vga radeon radeonsi v4l modesetting r600" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 jospezial 2013-07-30 18:21:41 UTC
internal compiler errors now with libreoffice-4.1.0.4 (gcc-4.8.1)


[build CXX] dbaccess/source/ui/querydesign/TableConnectionData.cxx
In file included from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/include/com/sun/star/uno/Type.hxx:24:0,
                 from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/UnoApiHeadersTarget/udkapi/normal/com/sun/star/lang/Locale.hpp:8,
                 from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/include/i18nlangtag/languagetag.hxx:15,
                 from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/include/tools/resmgr.hxx:23,
                 from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/include/tools/rc.hxx:25,
                 from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/include/vcl/outdev.hxx:27,
                 from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/include/vcl/window.hxx:25,
                 from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/include/svtools/editbrowsebox.hxx:27,
                 from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx:22,
                 from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx:20:
/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/include/cppu/unotype.hxx: In Instanziierung von »const com::sun::star::uno::Type& cppu::detail::cppu_detail_getUnoTy
pe(const com::sun::star::uno::Reference<T>*) [mit T = com::sun::star::script::XLibraryContainer2]«:
/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/include/cppu/unotype.hxx:267:60:   erfordert durch »static const com::sun::star::uno::Type& cppu::UnoType< <Template
-Parameter-1-1> >::get() [mit T = com::sun::star::uno::Reference<com::sun::star::script::XLibraryContainer2>]«
/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/UnoApiHeadersTarget/offapi/normal/com/sun/star/script/XLibraryContainer2.hpp:35:100:   von hier
 erfordert
/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/include/cppu/unotype.hxx:237:1: interner Compiler-Fehler: Speicherzugriffsfehler
 }
 ^
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2013-09-15 11:05:38 UTC
Not much for me to test. Assigning to toolchain.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2013-10-06 08:32:47 UTC
If it's failing randomly and in different places then it's probably a hardware issue.  If it was a toolchain problem it would be consistent.