I get always segfaults with open-office-bin directly when I trie to start it, for example: > oowriter /usr/bin/soffice: line 254: 16835 Segmentation fault "$sd_prog/$sd_binary" "$@" The problem is, that I can't compile it myself because I have not enough ram on my laptop. therefore I have to use this binary package which crashes all the time.... >ooffice /usr/lib/openoffice/program/soffice: line 254: 16062 Segmentation fault "$sd_prog/$sd_binary" "$@" Reproducible: Always Steps to Reproduce: 1. starting open-office-2.4.1 2. 3. Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686) ================================================================= System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1500MHz Timestamp of tree: Mon, 30 Jun 2008 08:04:02 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 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 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="de en" MAKEOPTS="-j2" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac accessibility acl acpi alsa apm arts aspell berkdb bluetooth branding bzip2 cairo cardbus cdaudio cdr cern cli cpudetection cracklib crypt cups dbus disk-partition djvu dri dvd dvdr dvdread dvi dx dxr2 dxr3 dxr3-audio-denoise eds emacs emboss encode esd evo excel exif exiv2 fam ffmpeg fftw filepicker firefox flac fontconfig foomaticdb fortran fortran95 fpx gamess gdbm gif gimp glut glw gnome gnome-print gnomecd gnuplot gphoto2 gpm grammar graphics graphviz gs gstreamer gtk gtk2-perl gtkhtml gtkspell gzip hal hdri html htmlhandbook http humanities iconv imagemagick imlib ipv6 isdnlog java jpeg jpeg2k kde kerberos kpathsea ldap libnotify libwww lm_sensors logitech-mouse lyx lzma lzo mad mdnsresponder-compat midi mikmod mng motif mp3 mp4 mpeg mpeg2 mplayer mudflap ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre pdf perl plotutils png pop postscript ppds pppd preview-latex ps python qt3 qt3support qt4 quicktime rar raw readline realmedia reflection rpm scanner science sdl session spell spl ssl startup-notification stream svg tcpd tga theora threads thunderbird tiff tk truetype type1 unicode unzip usb vorbis wav wavpack win32codecs wma wmf x86 xine xml xorg xpm xprint xulrunner xv xvid zip 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I re-emerged openssl and glibc with O2 Cflags and the problem dissapeared. I don't know why but it doesn't occur anymore. I think the ebuild of openoffice-bin should contain a warning that users might have to reemerge openssh and glibc, because in the forums, it seems that many others have this problem.
Reemerging openssh shouldn't matter in this case. Reemerging openssl might, but it's unclear how. You should probably attach a backtrace log of /usr/bin/soffice to this bug.
you are correct, of course. It was simply a typo I made here. Of course I re-emerged openssl and glibc. Sorry but I cannot add a backtrace log, because i cleaned them after it worked. I only think that one should add a message to the ebuild of re-emerging glibc and openssl with O2.
-02 is default, if you raise your CFLAGS you are on your own, no way are we going to warn about each and every CFLAGS combination in all ebuilds. Nothing we can do here...