Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 243478 - app-office/openoffice-3.0.0 - terminate called after throwing an instance of 'std::bad_alloc'
Summary: app-office/openoffice-3.0.0 - terminate called after throwing an instance of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-23 20:26 UTC by Michael Orlitzky
Modified: 2009-11-28 22:11 UTC (History)
2 users (show)

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


Attachments
Build log. (app-office:openoffice-3.0.0:20081023-202957.log.gz,225.24 KB, application/octet-stream)
2008-10-23 20:55 UTC, Michael Orlitzky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2008-10-23 20:26:41 UTC
Compilation of openoffice-3.0.0 fails on amd64/hardened.

My current toolchain is from the GCC4 overlay (see emerge --info), but this is the same error that I received before switching toolchains. In fact, I switched only to see if I could fix this issue.

Switching to the vanilla GCC does not help.

I believe it dies while compiling the i18npool module; this is the error that kills it:

../../../unxlngx6.pro/bin/saxparser en_AU en_AU.xml ../../../unxlngx6.pro/misc/\
localedata_en_AU.cxx ../../../unxlngx6.pro/bin/localedata_en_AU.rdb /var/tmp/po\
rtage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.\
pro/bin/types.rdb
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
dmake:  Error code 134, while making '../../../unxlngx6.pro/misc/localedata_en_\
AU.cxx'

Reproducible: Always

Steps to Reproduce:
1. emerge openoffice
Actual Results:  
It crashes.

Expected Results:  
It does not crash.

Portage 2.1.4.5 (hardened/linux/amd64, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.25-hardened-r8 x86_64)
=================================================================
System uname: 2.6.25-hardened-r8 x86_64 Intel(R) Core(TM)2 Duo CPU L7700 @ 1.80GHz
Timestamp of tree: Thu, 23 Oct 2008 18:34:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r4
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage /home/mjo/src/toolchain-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi alsa amd64 bash-completion bzip2 cairo cli cracklib crypt cups curl dbus djvu doc dri emacs encode exif fastcgi flac gif hardened iconv imap isdnlog jbig jpeg jpeg2k justify lcms midi mmx mng mp3 mudflap multilib ncurses nptl offensive openal opengl pam pcre pdf php pic png posix pppd readline reflection sdl session spell spl sse sse2 ssl startup-notification svg tcpd threads tiff truetype unicode urandom vnc vorbis wifi wma wmf xorg xpm xscreensaver xvid 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="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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Orlitzky gentoo-dev 2008-10-23 20:55:34 UTC
Created attachment 169636 [details]
Build log.

This is one of the failed build logs (gzipped), compiled with MAKEOPTS="-j1".
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-25 13:02:08 UTC
Do you still get this?
Comment 3 Michael Orlitzky gentoo-dev 2009-11-25 13:29:15 UTC
Don't know, been using 3.1.x for a while. Some build problems still exist there, but I believe they're due to the hardened kernel features (as opposed to the hardened toolchain).

You can close this.
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-28 22:11:37 UTC
Thanks for reporting back, closing