Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202447 - app-office/openoffice-bin-2.3.1 does not start as user, but starts as root
Summary: app-office/openoffice-bin-2.3.1 does not start as user, but starts as root
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 227023 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-16 04:30 UTC by Mark Webster
Modified: 2008-12-26 10:20 UTC (History)
6 users (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 Mark Webster 2007-12-16 04:30:44 UTC
Openoffice-bin will only start as root. When I start it as a user, it will produce the following error

4be86df6-60ff-e5ed-3cb0803c-46f9540b is dumped

the hex code will change after each attempt. I've tried creating a new user, with the same result. I've also changed the openoffice use flag to include java and to exclude gnome, but with no effect.

Reproducible: Always

Steps to Reproduce:
1.Open terminal
2.type ooffice
3.crash

Actual Results:  
4be86df6-60ff-e5ed-3cb0803c-46f9540b is dumped


Expected Results:  
Program should have started
Comment 1 Mark Webster 2007-12-16 04:40:18 UTC
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.19-gentoo-r1 i686)
=================================================================
System uname: 2.6.19-gentoo-r1 i686 Mobile AMD Sempron(tm) Processor 2600+
Timestamp of tree: Sat, 08 Dec 2007 04:30:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks 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="en_NZ.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/local/portage /usr/local/portage/xeffects/trunk /usr/local/portage/xeffects/experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa apache2 apm arts artworkextra asf audiofile avahi avc avi berkdb bitmap-fonts bluetooth bzip2 cairo caps cdr cli cracklib crypt cups daap dbus debug discouraged dri dvd dvdr dvdread eds eeprom emboss encode esd evo exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipod ipv6 isdnlog java jpeg kerberos lcms ldap libg++ libwww lirc mad midi mikmod mmx mng mono motif mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcmcia pcre pdf pdflib perl png ppds pppd pwlib python qt3 qt3support qt4 quicktime readline reflection regex rt2500pci samba sdl session spell spl sse sse2 ssl svg tcpd theora threadsafe tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs x264 x86 xine xml xml2 xorg xscreensaver xv xvid 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" DVB_CARDS="usb2 usb-a800" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon vesa fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Horst Prote 2007-12-18 14:44:17 UTC
Mee too. But with slightly different behaviour:
- as root "ooffice -writer" starts (window comes up) and you can work with it
- as normal user "ooffice -writer" starts (window comes up) but than hangs
- as normal user "strace -o oo -ff ooffice -writer" starts (window comes up) and
  you can work with it

my emerge --info:
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-hardened-r8 i686)
=================================================================
System uname: 2.6.22-hardened-r8 i686 Intel(R) Xeon(TM) CPU 3.06GHz
Timestamp of tree: Thu, 06 Dec 2007 08:16:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/ltsp-4.2/i386/etc /tftpboot/pxe/pxelinux.cfg /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"                   CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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=pentium4 -funroll-loops -pipe"                                             DISTDIR="/usr/portage/distfiles"                                                                FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"         GENTOO_MIRRORS="http://hanf.informatik.uni-stuttgart.de/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"                      LANG="en_US"                                                                                    LINGUAS="en de fr ru"                                                                           MAKEOPTS="-j6"                                                                                  PKGDIR="/usr/portage/packages"                                                                  PORTAGE_RSYNC_EXTRA_OPTS="--timeout=30"                                                         PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"                                                      PORTAGE_TMPDIR="/var/tmp"                                                                       PORTDIR="/usr/portage"                                                                          PORTDIR_OVERLAY="/usr/local/portage"                                                            SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 arts berkdb bitmap-fonts cairo caps cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox font-server gcj gdbm gif gimpprint gnome gpm gstreamer gtk hal iconv imap isdnlog jpeg kde ldap mad mailwrapper mbox midi mikmod mng mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode urandom userlocales vorbis win32codecs wmf x86 xml xorg 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de fr ru" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev mach64 r128 radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 3 Horst Prote 2007-12-18 19:39:48 UTC
Oh, I found the reason (at least in my case):
Just found some files ooffice wrote during my previous test (as normal user):
  .crash_report_checksum
  .crash_report_frames
  .crash_report_preview
  .crash_report_unsent
In .crash_report_checksum for example one can read:
<errormail:Checksums type="MD5">
<errormail:Checksum sum="0xF243531E76B63CEFF13A5E229439F40C" bytes="1789184" file="libuno_sal.so.3"/>
<errormail:Checksum sum="0xF243531E76B63CEFF13A5E229439F40C" bytes="1789184" file="libuno_sal.so.3"/>
<errormail:Checksum sum="0xCC046C7DF4F59B25E737159C8F38B898" bytes="75780" file="libnss_ldap.so.2"/>
<errormail:Checksum sum="0xCC046C7DF4F59B25E737159C8F38B898" bytes="75780" file="libnss_ldap.so.2"/>
<errormail:Checksum sum="0xC9206098757A93C764A370F0ACC16F7C" bytes="1237276" file="libc.so.6"/>
<errormail:Checksum sum="0xC9206098757A93C764A370F0ACC16F7C" bytes="1237276" file="libc.so.6"/>
<errormail:Checksum sum="0xC9206098757A93C764A370F0ACC16F7C" bytes="1237276" file="libc.so.6"/>
...

This reminded me that I rebuild the toolchain after the last openoffice update and wondered if an remerge of openoffice-bin would help:
Yes it does.

If this works for you too, Mark, I think we should close this bug as invalid then.
Comment 4 Mark Webster 2007-12-21 07:27:33 UTC
(In reply to comment #3)
> Oh, I found the reason (at least in my case):
> Just found some files ooffice wrote during my previous test (as normal user):
>   .crash_report_checksum
>   .crash_report_frames
>   .crash_report_preview
>   .crash_report_unsent
> In .crash_report_checksum for example one can read:
> <errormail:Checksums type="MD5">
> <errormail:Checksum sum="0xF243531E76B63CEFF13A5E229439F40C" bytes="1789184"
> file="libuno_sal.so.3"/>
> <errormail:Checksum sum="0xF243531E76B63CEFF13A5E229439F40C" bytes="1789184"
> file="libuno_sal.so.3"/>
> <errormail:Checksum sum="0xCC046C7DF4F59B25E737159C8F38B898" bytes="75780"
> file="libnss_ldap.so.2"/>
> <errormail:Checksum sum="0xCC046C7DF4F59B25E737159C8F38B898" bytes="75780"
> file="libnss_ldap.so.2"/>
> <errormail:Checksum sum="0xC9206098757A93C764A370F0ACC16F7C" bytes="1237276"
> file="libc.so.6"/>
> <errormail:Checksum sum="0xC9206098757A93C764A370F0ACC16F7C" bytes="1237276"
> file="libc.so.6"/>
> <errormail:Checksum sum="0xC9206098757A93C764A370F0ACC16F7C" bytes="1237276"
> file="libc.so.6"/>
> ...
> 
> This reminded me that I rebuild the toolchain after the last openoffice update
> and wondered if an remerge of openoffice-bin would help:
> Yes it does.
> 
> If this works for you too, Mark, I think we should close this bug as invalid
> then.
> 

(In reply to comment #3)
> Oh, I found the reason (at least in my case):
> Just found some files ooffice wrote during my previous test (as normal user):
>   .crash_report_checksum
>   .crash_report_frames
>   .crash_report_preview
>   .crash_report_unsent
> In .crash_report_checksum for example one can read:
> <errormail:Checksums type="MD5">
> <errormail:Checksum sum="0xF243531E76B63CEFF13A5E229439F40C" bytes="1789184"
> file="libuno_sal.so.3"/>
> <errormail:Checksum sum="0xF243531E76B63CEFF13A5E229439F40C" bytes="1789184"
> file="libuno_sal.so.3"/>
> <errormail:Checksum sum="0xCC046C7DF4F59B25E737159C8F38B898" bytes="75780"
> file="libnss_ldap.so.2"/>
> <errormail:Checksum sum="0xCC046C7DF4F59B25E737159C8F38B898" bytes="75780"
> file="libnss_ldap.so.2"/>
> <errormail:Checksum sum="0xC9206098757A93C764A370F0ACC16F7C" bytes="1237276"
> file="libc.so.6"/>
> <errormail:Checksum sum="0xC9206098757A93C764A370F0ACC16F7C" bytes="1237276"
> file="libc.so.6"/>
> <errormail:Checksum sum="0xC9206098757A93C764A370F0ACC16F7C" bytes="1237276"
> file="libc.so.6"/>
> ...
> 
> This reminded me that I rebuild the toolchain after the last openoffice update
> and wondered if an remerge of openoffice-bin would help:
> Yes it does.
> 
> If this works for you too, Mark, I think we should close this bug as invalid
> then.
> 

Hello,

I took your advice and ran emerge -eav system, but it didn't help.

You said that you had some error files generated. What path are they?
Comment 5 Horst Prote 2007-12-21 09:55:41 UTC
(In reply to comment #4)
> I took your advice and ran emerge -eav system, but it didn't help.
I think you mistook my lines.

To make it clear: In my case the problem was caused by rebuilding the toolchain (glibc, gcc, etc.) after the installation/update of openoffice-bin. Aparently openoffice-bin stores the checksums of the libs it is linked with somewhere and refuses to start (except for root) when the checksums don't match. And I fixed the problem by reemerging openoffice-bin. As openoffice is not part of the "system" set your "emerge -eav system" did not rebuild openoffice-bin.

> You said that you had some error files generated. What path are they?
In my HOME directory.

Comment 6 przem 2008-01-06 20:06:28 UTC
hi, same problem here
but it doesn't want to run, even with ooffice -writer

comparing strace outputs between user and root execution, the difference is
root:
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 22168
user:
waitpid(-1, 005dd2b3-e7be-409f-5c3b21f5-05507f52 is dumped

reemerging openoffice-bin didn't fix the problem


Comment 7 przem 2008-01-06 20:13:17 UTC
Appendix :)

przem przemek # emerge --info
Portage 2.1.4_rc14 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.7-r1, 2.6.23-gentoo-r5 i686)
=================================================================
System uname: 2.6.23-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.70GHz
Timestamp of tree: Sun, 06 Jan 2008 12:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -msse2 -pipe "
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/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -msse2 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa audacious bash-completion berkdb bitmap-fonts bluetooth cairo cdr cli cpdflib cpudetection cracklib crypt cups dba dbus divx dri dts dvd dvdnav dvdr dvdread eds emboss encode escreen esd evo evolution exif fam ffmpeg firefox foomaticdb fortran gdbm gif glitz gmedia gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv ipv6 irmc isdnlog java java5 jpeg kerberos laptop lirc mad midi mikmod mmx mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly ntfs ogg opengl openmp oss pam pcre pdf perl png pppd python qt-static qt3support quicktime readline real realmedia samba sdl server session slang spell sse sse2 ssl svg symlink tcpd tiff unicode usb vim-syntax vnc vncviewer vorbis widescreen wifi win32codecs wmp x264 x86 xml xorg xscreensaver xv xvid" ALSA_CARDS="intel8x0" 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" LIRC_DEVICES="devinput serial sir" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



I've strange feeling that the issue is because of ati radeon that i guess we all have

BTW: using x11-drivers/xf86-video-ati oofice runs ok :) but it's not the solution
Comment 8 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-24 15:25:18 UTC
(In reply to comment #7)
> I've strange feeling that the issue is because of ati radeon that i guess we
> all have
> 
> BTW: using x11-drivers/xf86-video-ati oofice runs ok :) but it's not the
> solution

Did you try with 

Section "dri"
        Mode 0666
EndSection

in xorg.conf?
Comment 9 przem 2008-03-24 22:24:02 UTC
yes, i have it in my xorg.conf

thx 4 reply
Comment 10 Chuck Wegrzyn 2008-05-04 09:51:40 UTC
I too have tried everything. I keep my system up to date (--deep --update world) that solution didn't work. I tried openoffice and openoffice-bin, those didn't work. I tried no java and with java and nada.

I even when to the packaged solution from openoffice.org just in case there was something in the ebuild, and it didn't work. 


Comment 11 Christopher Hogan 2008-05-08 21:28:47 UTC
I have the same problem as the summary (with 2.4). However, I suspect the reason is different.
As root, I can start ooffice, select tools\options, openoffice.org\java and select a java vm. No problems.
As a user, I can start ooffice, select tools\options, openoffice.org\java and the application freezes.
As a new user, I can start ooffice, the setup dialog starts ( license, user info, registration), click on finish and it freezes.

My user accounts are all LDAP-based. root is not. I'm thinking my problem is related to LDAP. Open office generates an error log:

<errormail:StackInfo pos="0" ip="0xb7252a24" rel="0x1fa24" name="libuno_sal.so.3" path="/usr/lib/openoffice/program/"/>
<errormail:StackInfo pos="1" ip="0xb7253308" rel="0x20308" name="libuno_sal.so.3" path="/usr/lib/openoffice/program/"/>
<errormail:StackInfo pos="2" ip="0xb7f34420" rel="0x420" name="" ordinal="__kernel_sigreturn+0x0"/>
<errormail:StackInfo pos="3" ip="0xacb1d635" rel="0x22635" name="libldap50.so" path="/usr/lib/openoffice/program/" ordinal="ldap_ld_free+0x65"/>
<errormail:StackInfo pos="4" ip="0xb3843222" rel="0x3222" name="libnss_ldap.so.2" path="/lib/"/>

Watching the LDAP server log, I see 6 searches against my UID followed by:

May  8 15:06:41 irasrv2 slapd[5138]: conn=14471 op=6 SEARCH RESULT tag=101 err=0 nentries=1 text=
May  8 15:06:41 irasrv2 slapd[5138]: conn=14471 fd=67 closed (connection lost)

Before the freeze, ps ax | grep soffice reports:

 7815 pts/12   S+     0:00 /bin/sh /usr/lib/openoffice/program/soffice
 7826 pts/12   Sl+    0:01 /usr/lib/openoffice/program/soffice.bin

After it reports:

 7815 pts/12   S+     0:00 /bin/sh /usr/lib/openoffice/program/soffice
 7826 pts/12   Sl+    0:01 /usr/lib/openoffice/program/soffice.bin
 7846 pts/12   S+     0:00 /usr/lib/openoffice/program/soffice.bin

Killing 7846 just spawns a new instance until 7815 is killed. Killing 7815 doesn't kill 7846. I'm guessing this is a crash handler. However, it's frozen.

emerge -pv nss_ldap: sys-auth/nss_ldap-258 USE="kerberos sasl -debug"
emerge -pv openoffice-bin: app-office/openoffice-bin-2.4.0  USE="java kde -gnome"

emerge --info:
Portage 2.1.4.4 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 i686)
=================================================================
System uname: 2.6.24-gentoo-r7 i686 AMD Athlon(tm) XP 3200+
Timestamp of tree: Thu, 08 May 2008 06:33:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.3.5-r3, 2.4.4-r9
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.4_p6, 1.5, 1.6.3, 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=athlon-xp -pipe -fomit-frame-pointer -fforce-addr -O2"
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/X11/xkb /usr/share/config"
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=athlon-xp -pipe -fomit-frame-pointer -fforce-addr -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://chod.cwru.edu/gentoo ftp://gentoo.chem.wisc.edu/gentoo/ http://mirror.uni-c.dk/gentoo/"
LINGUAS="en en_US"
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"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X Xaw3d a52 aac accessibility acl acpi adns afs alsa ao aotuv arts asf audiofile bash-completion berkdb browserplugin bzip2 c++ cairo caps cddb cdparanoia cdr cli cracklib crypt css cups curl dbus dmx doc dri dts dv dvb dvd dvdr dvdread edl eds effects emboss encode esd examples exif fam fame ffmpeg firefox flac fortran gcj gdbm gif gimp glibc-omitfp glitz gnutls gphoto2 gpm gstreamer gtk hal howl hpn iconv id3tag ieee1394 imagemagick inkjar innodb ipv6 isdnlog java jbig joystick jpeg jpeg2k kde kerberos lcms ldap lirc live lm_sensors logitech-mouse logrotate lzo mad matroska midi mikmod mjpeg mmap mmx mmxext mng mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mpeg mpi mplayer mudflap ncurses network nfs nfs4 nls nptl nptlonly nsplugin numeric nvidia objc offensive ogg on-the-fly-crypt openal opengl openmp pam pccts pcre pda pdf perl pic pie plugin png postgres ppds pppd python qt3 qt4 quicktime quotas rdesktop readline real reflection rtc samba sasl scanner sdl sensord session slp sndfile speex spell spl sse ssl subversion svg tcl tcltk tcpd tga theora threads tiff timidity tk toolbar transcode truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vorbis win32codecs wmf x264 x86 xanim xcomposite xine xinerama xml xorg xosd xpm xscreensaver xv xvid xvmc yv12 zlib zvbi" 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="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv mesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 12 Christopher Hogan 2008-05-09 17:31:48 UTC
I found a work-around for my problem (OpenOffice won't start for new LDAP users, can't configure Java for existing LDAP users, works fine for local users (root)). Starting the Name Service Cache Daemon avoids the problem. Using this service, lookups are done to the NSCD, rather than directly to the LDAP server. It seems to work for me. I'd rather know why direct lookups are failing for OpenOffice. However, this will work for now.
Comment 13 Andreas Proschofsky (RETIRED) gentoo-dev 2008-06-18 06:36:50 UTC
*** Bug 227023 has been marked as a duplicate of this bug. ***
Comment 14 Marcello Magaldi 2008-06-18 19:45:27 UTC
(In reply to comment #13)
> *** Bug 227023 has been marked as a duplicate of this bug. ***
> 

I have the same issue, but I don't have any LDAP user, only with root oo.org works, I tried removing ooo-2.0/ in my home. Anyway if I start oo.org from kde or fluxbox all works well, so the problem in my case should be gnome. Or compiz fault? I tried also using metacity but no luck.
Comment 15 Krzysztof Tomczyk 2008-06-23 10:09:12 UTC
I think problem is with ldap not x drivers. When I have in nsswitch.conf option for searching in ldap (files ldap) strace show me that it stops on waitpid as you've said, but when I disable ldap in nsswitch.conf it goes further but end with SIGSEGV (libkdecore.so.4)


(In reply to comment #12)
Comment 16 Mark Webster 2008-10-18 05:57:11 UTC
I found a solution. The problem was really a fglrx problem. glxinfo would only work as user, not as root.

I followed the instructions in this forum thread, and now openoffice starts, and glxinfo works for all users.

mkdir /usr/lib/xorg/i686/
sudo ln -s /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 /usr/lib/xorg/i686/libGL.so.1 
Comment 17 Mark Webster 2008-10-18 05:57:55 UTC
the forum post is here

http://forums.gentoo.org/viewtopic-t-711215-highlight-glxinfo+root.html
Comment 18 Andreas Proschofsky (RETIRED) gentoo-dev 2008-12-26 10:20:53 UTC
(In reply to comment #16)
> I found a solution. The problem was really a fglrx problem. glxinfo would only
> work as user, not as root.
> 

Thanks for reporting back, closing