Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 227023

Summary: cannot run any openoffice-bin-2.4.1 application as a regular user
Product: Gentoo Linux Reporter: Marek Kozlowski <kozlowsm>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED DUPLICATE    
Severity: major CC: Hannes.Krueger, ikelos, vinil
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The result of the strace

Description Marek Kozlowski 2008-06-14 19:11:55 UTC
I was able to run the 2.4 with no problems. After upgrade to 2.4.1 I can run it as  root. Unfotunately when I try to start it as a regular user it crashes with no error messages. I've tried to run revdep-rebuild (no errors) and I've deleted the old configuration files in my home directory. The result of my emerge --info is as follows:

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.70GHz
Timestamp of tree: Sat, 14 Jun 2008 09:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
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-r1
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="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ "
LINGUAS="en pl"
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.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog java jpeg kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd tiff truetype unicode vorbis win32codecs x86 xml xorg xulrunner xv 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="radeon fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

The result of strace is attached as the "OOo" file.

Reproducible: Always

Steps to Reproduce:
1. Calling any oo* command
2. Tries to start and then -- unexpectedly ends. No error message
3.
Comment 1 Marek Kozlowski 2008-06-14 19:12:35 UTC
Created attachment 156773 [details]
The result of the strace
Comment 2 Atanas Kamburov 2008-06-15 09:41:37 UTC
I can confirm this bug. The same crash happens on my AMD 64 bit machine. On my Pentium M (32 bit) it works fine. 
Comment 3 Marek Kozlowski 2008-06-15 11:38:03 UTC
As you noticed I'm using the Pentium M processor. So presumably it is not any processor issue.

The crash happens when the registration window appears.

I've masked the openoffice-bin-2.4.1 package and re-emerged the previuous, that is 2.4.0 one. This version works fine. 

Maybe some Java issue? I'm using the:
	Sun JDK 1.6.0.06 [sun-jdk-1.6]
Comment 4 Hannes Krüger 2008-06-17 07:33:02 UTC
On my P4 x86 machine openoffice-bin-2.4.1 chrashed with segfault:

/usr/lib/openoffice/program/soffice: line 254: 26828 Speicherzugriffsfehler  "$sd_prog/$sd_binary" "$@"

after cleaning the .ooo-2.0 it starts, but crashes without messages in the file open dialog, instantly launching the document-recovery thing.
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2008-06-18 06:36:50 UTC

*** This bug has been marked as a duplicate of bug 202447 ***
Comment 6 Mike Auty (RETIRED) gentoo-dev 2008-06-25 11:06:41 UTC
I've just come across a very similar problem.  It came into effect with 2.4.1, and runs fine as root, but not as a user.  I don't think this is related to the bug this has been marked as a duplicate of, since I discovered a workaround that allows a user to reliably run openoffice apps.

Running the apps from the command line gave me:

Gtk-Message: Failed to load module "gnomebreakpad": /usr/lib/openoffice/program/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/bug-buddy/libbreakpad.so.0)

By disabling gnomebreakpad (which can be bypassed by setting GTK_MODULES="" or at least, not to include gnomebreakpad) I was then able to run any of the OOo apps.  It's not clear if this is a glibc-2.8 issue or not.  I can provide further information if necessary, but I'd like to ask others on this bug to please test this and see if it resolves their problems.  Thanks...  5:)
Comment 7 Vladimir Linek 2008-07-07 09:59:15 UTC
GTK_MODULES="" solves the startup crash problem for me. Naturally, all gnome integration is gone as well.
Comment 8 Mike Auty (RETIRED) gentoo-dev 2008-07-07 12:43:06 UTC
Hmmm, that shouldn't remove all gnome integration, the only entry normally found in GTK_MODULES is gnomebreakpad, which is just the bug-buddy integration.  Sadly it still doesn't explain what the root cause it...  5:(  Thanks for the additional testing though, handy to know it's a definite work around.
Comment 9 Vladimir Linek 2008-07-07 13:09:11 UTC
Yes, you are right. Sorry for the confusion -- it was too early in the morning, so the OOo widgets looked somewhat strange to me.
GTK_MODULES="" trick works. Gnome integration remains untouched.