Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89881 - Openoffice Bus Error while mmaping libi18npool645li.so at startup time (truncated)
Summary: Openoffice Bus Error while mmaping libi18npool645li.so at startup time (trunc...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 91800 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-20 20:00 UTC by Joe Harvell
Modified: 2005-06-22 18:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Harvell 2005-04-20 20:00:58 UTC
I recently noticed that openoffice-1.1.4-r1 hangs at startup time while the Openoffice.org splash window is still visible.

I re-emerged and the problem remained.  I then downgraded to openoffice-1.1.4 and the problem remained.  I then went back to openoffice-1.1.4-r1 and the problem remains

strace shows the following:

open("/opt/OpenOffice.org/program/libi18npool645li.so", O_RDONLY) = 15
read(15, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\242"..., 512) = 512
fstat64(15, {st_mode=S_IFREG|0444, st_size=2240512, ...}) = 0
mmap2(NULL, 2501848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 15, 0) = 0x45e5e000
mmap2(0x45f0d000, 1777664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 15, 0xaf) = 0x45f0d000
--- SIGBUS (Bus error) @ 0 (0) ---
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigprocmask(SIG_SETMASK, NULL, ~[KILL STOP], 8) = 0
rt_sigsuspend(~[KILL STOP RTMIN]

I ran /opt/Openoffice.org/program/oosetup.bin as root and got it to dump a core.  When I run gdb and load the core file it complains as follows:

Reading symbols from /usr/lib/X11/locale/lib/common/ximcp.so.2...done.
Loaded symbols for /usr/lib/X11/locale/lib/common/ximcp.so.2
Reading symbols from /opt/OpenOffice.org/program/libsts645li.so...done.
Loaded symbols for /opt/OpenOffice.org/program/libsts645li.so
Error while reading shared library symbols:
"/opt/OpenOffice.org/program/libi18npool645li.so": can't read symbols: File truncated.
#0  0x40008caa in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2


When I run 'nm *.so' in the /opt/Openoffice.org/program directory it shows most files as 'no symbols.'  The only file it complains about shown below:

nm: libi18npool645li.so: File format not recognized


Reproducible: Always
Steps to Reproduce:
1. emerge openoffice.org-1.1.4 or openoffice.org-1.1.4-r1
2. from a terminal, enter 'oowriter' or any other openoffice program

Actual Results:  
Splash screen progress bar stops and nothing else happens. 

Expected Results:  
Openoffice.org should initialize. 

emerge --info 
Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.4.28-gentoo-r7-ird i686) 
================================================================= 
System uname: 2.4.28-gentoo-r7-ird i686 AMD Athlon(tm) MP 2600+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 
19:56:13)] 
dev-lang/python:     2.3.4-r1 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.5, 1.4_p6, 1.9.4, 1.8.5-r3, 1.6.3, 1.7.9-r1 
sys-devel/binutils:  2.15.92.0.2-r7 
sys-devel/libtool:   1.5.14 
virtual/os-headers:  2.4.22-r1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -pipe -march=athlon-mp -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -pipe -march=athlon-mp -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://128.213.5.34/gentoo/ http://mirror.tucdemonic.org/gentoo/ 
http://mirror.datapipe.net/gentoo" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 3dfx 3dnow X Xaw3d Xosd acl acpi adns aim alsa aobc apache2 apm arts 
audiofile avi berkdb bitmap-fonts bonobo caps cdr crypt cscope cups curl 
dedicated dga directfb divx4linux doc dvb dvd dvdr emacs emacs-w3 emboss 
encode esd ethereal evo fam fastcgi fbcon fdftk fftw firebird flac foomaticdb 
fortran freetds gd gdbm ggi gif ginac gmp gnome gphoto2 gpm gps gstreamer gtk 
gtk2 gtkhtml hardened icq imagemagick imap imlib informix innodb ipv6 jabber 
java jpeg junit kde ladcca lcms ldap libg++ libwww lirc mad mbox mcal memlimit 
mikmod mmx motif mozilla mp3 mpeg msn mysql ncurses nls oci8 offensive ogg 
oggvorbis opengl oscar pam pda pdflib perl pic pie plotutils png postgres 
prelude python qt quicktime readline samba sasl sdl slang slp speex spell 
sqlite ssl svga sziip tcltk tcpd tetex theora tiff truetype truetype-fonts 
type1-fonts unicode usb vhosts videos vorbis wmf wxWindows xface xinerama xml 
xml2 xmms xv xvid yahoo zlib video_cards_3dfx" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, 
PORTDIR_OVERLAY
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-05-07 12:07:19 UTC
Looks like one of the libraries is damaged. Which filesystem is this on?
Comment 2 Joe Harvell 2005-05-09 16:50:10 UTC
Filesystem info is included below.  It looks like there are no problems with filesystem resources.

jharvell@dingo jharvell $ df -k /opt/OpenOffice.org/program/
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/london/opt        1548144   1050972    418532  72% /opt
jharvell@dingo jharvell $ df -i /opt/OpenOffice.org/program/
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/london/opt       196608   27838  168770   15% /opt
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2005-05-09 23:11:14 UTC
You didn't understand me correctly. Which filesystem does the partition where PORTAGE_TMPDIR and /opt/OpenOffice is found use? ReiserFS? ReiserFS4? XFS? Ext3?
Comment 4 Joe Harvell 2005-05-10 06:06:19 UTC
They are both ext3, and are mounted with the default mount options.
Comment 5 Joe Harvell 2005-06-12 15:02:25 UTC
After unmerging completely (emerge -C openoffice) and then re-merging, the 
problem went away. The program loads fine, and the library libi18npool645li.so 
is reported by the file program to be a valid stripped ELF shared object. 
Comment 6 Jeffrey Forman (RETIRED) gentoo-dev 2005-06-22 18:16:23 UTC
*** Bug 91800 has been marked as a duplicate of this bug. ***