Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132649 - Openoffice-bin 2.0.2 crashes on startup
Summary: Openoffice-bin 2.0.2 crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 132653 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-08 02:07 UTC by Thomas Skyt
Modified: 2006-08-17 04:57 UTC (History)
2 users (show)

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


Attachments
The strace of running ooffice2 (ooo.log,71.60 KB, text/plain)
2006-05-29 07:02 UTC, Thomas Skyt
Details
strace of ooffice2 after removing java and reinstalling (ooo.log,60.17 KB, text/plain)
2006-05-29 13:48 UTC, Thomas Skyt
Details
Emerge --info (emerge_info.txt,3.49 KB, text/plain)
2006-07-05 10:40 UTC, Rick Jenkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Skyt 2006-05-08 02:07:42 UTC
OpenOffice-bin 2.0.2 crashes after displaying the splashscreen and loading approx 20% (according to the progress-bar).
I am presented with a window stating that "Due to an unexpected error, OpenOffice.org has crashed." and that all the open files will be saved.

The output of 'emerge --info':
Portage 2203-svn (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.14.2 i686)
=================================================================
System uname: 2.6.14.2 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.12.0_pre19
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.4.3-r4, 1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks loadpolicy nostrip sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.uni-c.dk/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acl alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cd cdr chroot cli crypt cups curl debug dri dvd eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gdbm glut gmp gpm gstreamer gtk2 gtkhtml idn imagemagick imlib ipv6 isdnlog jpeg junit kde lcms ldap libg++ libwww mad mhash mikmod mmx mmxext mng motif mp3 mpeg mpm-common mpm-prefork musepack mysql ncurses network nls ogg oggvorbis openal opengl oss pam pcre pdflib perl php png pppd python qt quicktime radius readline recode reflection samba sdl session snmp spell spl sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml2 xmms xorg xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-08 02:22:41 UTC
*** Bug 132653 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2006-05-29 02:38:13 UTC
Try to re-install, could be that your installation is faulty. Also you migth try to remove your user install dir ( ~/.ooo-2.0 ) and see if that helps
Comment 3 Thomas Skyt 2006-05-29 03:47:22 UTC
I just re-installed it, to no avail. I did remove my ~/.ooo-2.0/ directory before trying to start it, but it still won't move any further than 20%.

Which Java versions does Openoffice *not* like? I am currently using Blackdown 1.4.2.03.
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2006-05-29 06:48:37 UTC
(In reply to comment #3)
> I just re-installed it, to no avail. I did remove my ~/.ooo-2.0/ directory
> before trying to start it, but it still won't move any further than 20%.
> 
> Which Java versions does Openoffice *not* like? I am currently using Blackdown
> 1.4.2.03.
> 

Blackdown should be fine, just to make sure, you could try to emerge it with -java and see if that helps.

Also it would be nice, if you could provide a strace of the startup, to see where it breaks
Comment 5 Thomas Skyt 2006-05-29 07:02:18 UTC
Created attachment 87799 [details]
The strace of running ooffice2

Lots of "file not found", but I don't know what to do with them.
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2006-05-29 08:31:44 UTC
The first thing that caught my attention: It is obviously trying to use another (broken?) java than blackdown, do you maybe have a leftover from an older install in this dir? (or java-config not correctly set)

/opt/sun-jre-bin-1.5.0.06/lib/i3
Comment 7 Thomas Skyt 2006-05-29 13:48:09 UTC
Created attachment 87823 [details]
strace of ooffice2 after removing java and reinstalling

This is the strace of ooffice2 after having removed java from the use-flags, reinstalling the application and cleaning the java-setup (removing blackdown-jre and -jdk, old versions of sun-jre and sun-jdk and traces of them).
Comment 8 Andreas Proschofsky (RETIRED) gentoo-dev 2006-05-30 11:24:38 UTC
what do you get when you do:

equery b /usr/lib/mozilla/libnss3.so

Also you could try to rebuild OpenOffice.org, make sure you have something like 4-6 Gigs free on your PORTAGE_TMPDIR, might be that your install just is plain broken, sometimes if the build runs out of diskspace it produces a faulty install instead of just stopping.

And if you are at it: You might try to use a more up-to-date gcc-version (3.4.x), if there are no special reasons why you are still on 3.3.x
Comment 9 Thomas Skyt 2006-05-30 12:36:27 UTC
"equery b /usr/lib/mozilla/libnss3.so" gives me this:

www-client/mozilla-1.7.13 (/usr/lib/mozilla/libnss3.so)

Regarding the rebuilding, I haven't built Openoffice, it's the pre-compiled package. I usually don't like having the computer running day and night for 24 hours just compiling one single package.

That aside, I am already using GCC 3.4.5-r1.
Comment 10 Andreas Proschofsky (RETIRED) gentoo-dev 2006-05-30 12:49:30 UTC
(In reply to comment #9)
> 
> Regarding the rebuilding, I haven't built Openoffice, it's the pre-compiled
> package. I usually don't like having the computer running day and night for 24
> hours just compiling one single package.

Sorry, missed that
 
> That aside, I am already using GCC 3.4.5-r1.

Is that a recent switch? Cause your emerge info says otherwise. Anyway, this shouldn't be the problem here

About rebuilding: Still try it maybe some file was damaged, also maybe you could attach a log of the emerge output just to make sure

If it's not something of the above: Did you try to revdep-rebuild recently? Could be that something else is broken on your system and causes this.

Comment 11 Frédéric COIFFIER 2006-06-22 14:45:11 UTC
For 2 days, I'm no more able to run ooimpress2 (from openoffice-bin-2.0.2) : it systematically crashes (but no problem with oowriter2).
For 2 days, I've updated following packages :

=sys-fs/udev-087-r1
=sys-apps/man-pages-2.33
=media-libs/freetype-2.1.10-r1
=sys-apps/dbus-0.62
Comment 12 Frédéric COIFFIER 2006-06-23 08:20:13 UTC
In my case, the problem seems to be solved with :
=media-libs/freetype-2.1.10-r2
Comment 13 Andreas Proschofsky (RETIRED) gentoo-dev 2006-07-03 07:48:18 UTC
@Thomas: Do you still get this with OOo 2.0.3 (and most recent freetype)
Comment 14 Frédéric COIFFIER 2006-07-04 05:55:17 UTC
In my case, not reproduced since the upgrade to media-libs/freetype-2.1.10-r2.
OOo 2.0.3 works fine too.
Comment 15 Rick Jenkins 2006-07-05 10:40:39 UTC
Created attachment 90987 [details]
Emerge --info
Comment 16 Rick Jenkins 2006-07-05 10:44:04 UTC
I am attempting to run openoffice 2.0.2-r1 with freetype 2.1.10-r2 and blackdown-jdk-1.4.2. If I open a writer window and simply ignore it, it crashes with a SIGSEGV after about one minute. Re-emerging openoffice did not help.
Comment 17 Andreas Proschofsky (RETIRED) gentoo-dev 2006-07-07 12:06:54 UTC
I've raised the dependency to >=media-libs/freetype-2.1.10-r2, so original bug is fixed, closing.

@Rich: The original bug is about openoffice-bin not openoffice. so yours seems to be not related.
Comment 18 Martin Väth 2006-08-17 04:57:32 UTC
Just for the records, if anybody else runs into this bug:

I had the original problem (crash after 20%) even with freetype-2.1.10-r2.
In my case the problem was solved by omitting -ftree-vectorize from C*FLAGS when building freetype/zlib on x86 (on amd64 the same option causes no problem with openoffice-bin). Strangely enough, openoffice-bin seems to be the only application on my systems for which this compile option of freetype seems to be relevant (but I didn't check which of the programs on my systems use freetype at all).

Of course, this is not really a bug, since -ftree-vectorize does not belong to any recommended C*FLAG options.