Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135611 - Openoffice-bin-2.0.2 seq. fault when starting from KDE-3.5.3
Summary: Openoffice-bin-2.0.2 seq. fault when starting from KDE-3.5.3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 140347 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-05 03:42 UTC by Chin Yee
Modified: 2006-07-14 10:15 UTC (History)
5 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 Chin Yee 2006-06-05 03:42:48 UTC
Openoffice-bin-2.0.2 have been working flawless under KDE-3.5.2. However, after  upgrading to KDE-3.5.3, openoffice applications seq. fault when starting from KDE. Switch to ICEWM and openoffice2 applications work flawlessly again.

This is the output I get when I start Openoffice from konsole. 
 
$ ooffice2 
/usr/lib/openoffice/program/soffice: line 233:  5913 Segmentation fault      "$sd_prog/$sd_binary" "$@"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-05 03:56:12 UTC
This bug is not useful without emerge --info and a backtrace...

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 Chin Yee 2006-06-06 04:36:00 UTC
Output from gdb

(gdb) exec-file /usr/lib/openoffice/program/soffice.bin
(gdb) run
Starting program: /usr/lib/openoffice/program/soffice.bin
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0xb5068eb9 in QMap<QPopupMenu const*, (anonymous namespace)::ShadowElements>::operator[] () from /usr/kde/3.5/lib/libkdefx.so.4
(gdb) bt
#0  0xb5068eb9 in QMap<QPopupMenu const*, (anonymous namespace)::ShadowElements>::operator[] () from /usr/kde/3.5/lib/libkdefx.so.4
#1  0xbff5d80c in ?? ()
(gdb)                                       


 $ emerge --info
Portage 2.1_rc4-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP processor 1800+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -march=athlon-xp -mfpmath=sse,387 -momit-leaf-frame-pointer -O2 -ffast-math -ftree-vectorize"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -march=athlon-xp -mfpmath=sse,387 -momit-leaf-frame-pointer -O2 -ffast-math -ftree-vectorize"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN zh_TW"
MAKEOPTS="-j2"
PKGDIR="/var/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 acpi alsa apache2 apm arts asf audiofile avi berkdb bzip2 cairo cjk cli crypt css cups dpms dri dvd dvdr eds encode exif ffmpeg flac fontconfig foomaticdb fortran gcj gdbm gif gimp glitz glx gpm gs gstreamer gtk2 id3 idn imlib2 immqt-bc isdnlog java jpeg jpeg2k kde kipi ldap libg++ libwww mad mikmod mjpeg mmx mmxext mng motif mozilla moznocompose moznoirc moznomail moznoroaming mozsvg mp3 mp4live mpeg mpeg2 mpeg4 mplayer msn ncurses network nls no-old-linux no_wxgtk1 nodrm nptl nptlonly odbc ogg opengl oss pam pcre pdf perl png postgres ppds pppd python qt qt-copy quicktime readline real reflection reiser4 reiserfs scanner sdl session spell spl sql sqlite sqlite3 sse ssl subversion svg tcltk tcpd tetex tidy tiff timidity truetype type1 type1-fonts udev unicode usb userlocales v4l2 vcd vidix vorbis win32codecs wma wmf wxwindows x264 xcomposite xinetd xml xorg xprint xv xvmc yahoo yv12 zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_zh_CN linguas_zh_TW userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Marcin Kryczek (RETIRED) gentoo-dev 2006-06-07 03:51:47 UTC
i've also got this problem with either 2.0.3_rc3 and 2.0.3_rc5.

here's my emerge info:
Portage 2.1_rc4-r3 (default-linux/x86/2005.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16 i686)
=================================================================
System uname: 2.6.16 i686 AMD Athlon(tm) XP 1500+
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -mfpmath=sse -ffast-math -DNDEBUG -DG_DISABLE_ASSERT -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -mfpmath=sse -ffast-math -DNDEBUG -DG_DISABLE_ASSERT"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig confcache cvs digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms spinner strict"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl/ http://gentoo.prz.rzeszow.pl #http://src.gentoo.pl/distfiles"
LANG="en_US"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://gentoo.prz.rzeszow.pl/gentoo-portage"
USE="x86 3dnow 3dnowext X aac alsa amarok apache2 avi bash-completion bitmap-fonts bzip2 cairo canvas cli crypt cups divx4linux dri dvd dvdr eds emboss encode exscalibar extraicons extramodules fbcon ffmpeg fla flac fortran gd gif glitz glut gpgme gpm gstreamer gtk gtk2 imlib imlib2 isdnlog javascript jikes jpeg jpeg2k kde kdeenablefinal kdexdeltas lcms ldap libwww live mad mailwrapper memlimit mikmod mmx mmxext motif moznocompose moznoirc moznomail mp3 mpeg musepack musicbrainz ncurses nls nocardbus nptl nvidia ogg oggvorbis opengl oss pam pcre pda perl png ppds pppd python qt quicktime readline real reflection samba sasl sdl serial session spl sqlite sse ssl tcpd truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd videos vim-with-x vorbis win32codecs wmf xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pl userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

gdb log is similar to one one pasted by reporter.
Comment 4 Jari-Matti Mäkelä 2006-06-07 06:45:28 UTC
Same thing here. This problem occurs, when 50-90% of kde 3.5.3 packages have been compiled. The openoffice-bin has no debug information so backtracing is almost impossible.
Comment 5 Bryce Harrington 2006-06-08 16:46:27 UTC
Same problem on amd64 with kde-3.5.3.  Occurs with both openoffice-bin-2.0.1 and openoffice-bin-2.0.2

Portage 2.0.54-r2 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 Intel(R) Pentium(R) D CPU 2.80GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa apache2 arts audiofile avi berkdb bitmap-fonts browserplugin bzip2 cddb cdr cli crypt cscope cups curl dri dvdr eds emacs emboss encode esd ethereal exif expat fam ffmpeg foomaticdb fortran gd gdbm gif glut gmp gpm gstreamer gtk2 hal idn imagemagick imlib ipv6 isdnlog jabber jpeg jpg kde lcms libg++ libwww lzw lzw-tiff mad mbox mhash mng motif mozilla mp3 mpeg mysql ncurses nls nsplugin ogg oggvorbis openal opengl oss pam pcre pdflib perl png postgres ppds pppd python qt quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xine xinerama xml xml2 xmms xorg xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2006-06-09 03:15:03 UTC
This definately would need some input from the KDE-herd, as this seems to be triggered by the kdelibs-3.5.3-upgrade and really is a killer for lots of OpenOffice.org / Gentoo users.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-09 03:25:41 UTC
I would like to help but I can't (I'm on amd64 or on FreeBSD, both of which don't build openoffice right now).

And the backtraces posted are all useless because openoffice-bin is stripped :/
Comment 8 Andreas Proschofsky (RETIRED) gentoo-dev 2006-06-09 04:19:28 UTC
(In reply to comment #7)
> I would like to help but I can't (I'm on amd64 or on FreeBSD, both of which
> don't build openoffice right now).
> 
> And the backtraces posted are all useless because openoffice-bin is stripped :/
> 

Actually the currently masked 2.0.3_rc5-ebuild does not strip the files anymore, though it might be that they are already stripped by upstream (not at home atm, so can't check)
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2006-06-09 04:39:29 UTC
I can't reproduce this, no matter what menu shadowing/blending options I choose.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-09 04:44:01 UTC
I meant upstream already :)
Comment 11 Matteo Azzali (RETIRED) gentoo-dev 2006-06-09 10:40:44 UTC
I can't reproduce this bug, the only thing that I can suggest is to try
to change your style/window decoration if it's not default, as previously
I had some issues (not segfault) using openoffice-bin-2.0.2 with "polymer"
(unsupported, I know....), and changing to crystal+plastic solved....
Comment 12 Chin Yee 2006-06-10 02:27:16 UTC
I have tried it under a blank new account and the problem is still there.

Is there a way to disable KDE integration for openoffice-bin? There should be a way to temporarily work around it as openoffice-bin still works under other desktop environments.
Comment 13 Matteo Azzali (RETIRED) gentoo-dev 2006-06-10 02:57:32 UTC
Are you running an entire KDE(or at least with all the kdebase-meta packages)?
Here is still impossible to reproduce the segfault, I tried for every Ooo component.... Are you using composite? (with xcomposite flag on kwin?)
Comment 14 Chin Yee 2006-06-10 10:00:04 UTC
I am using kde-meta. I have the full kdebase-meta plus selected package in other kdexxx-metas. 

Yes, the xcomposite use flag is turn on in make.conf. I did not change my use flags for quite a while. The use flags should be the same as the previous versions of KDE. I have neither COMPOSITE nor RENDER turned on in my xorg.conf.
Comment 15 Jari-Matti Mäkelä 2006-06-12 03:28:19 UTC
(In reply to comment #13)
> Are you running an entire KDE(or at least with all the kdebase-meta packages)?
> Here is still impossible to reproduce the segfault, I tried for every Ooo
> component.... Are you using composite? (with xcomposite flag on kwin?)

I have neither xcomposite flag, COMPOSITE nor RENDER turned on. I have three kde 3.5.3-boxes (yeah, all kde-meta stuff installed) not working - one has X.org 6.9 & mga-driver (no fancy extensions nor effects), second has X.org 7.0 & nvidia-driver and the third has X.org 7.1 & radeon-driver.

The openoffice (2.0.2 & 2.0.3-rc5) worked just fine after emerging kde 3.5.3, but broke down after restarting X. It works when started in another desktop environment. For some reason gdb doesn't recognize the object file format of the 2.0.3-rc5 binaries so I can't backtrace this.
Comment 16 Mohit Soni 2006-06-12 10:58:29 UTC
I don't have either COMPOSITE extension or RENDER extension. I don't know whether what I say shall confuse further, but I found that this problem started after I moved to gcc-4.1.1. 

I had kde-3.5.3 with gcc-3.4.6 and this was working fine. After I emerged gcc-4.1.1 and rebuilt my entire toolchain, then this problem started. But in the comments, I observe that this problem is also with someone who has gcc-3.4.5.

This is my current emerge --info 
Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.12.0
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -pipe -O2 -fweb -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ffast-math -ftracer"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/wget"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -pipe -O2 -fweb -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ffast-math -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/ "
LINGUAS="en hi"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt css cups dbus divx4linux dri dts dvd dvdr dvdread eds emboss encode esd exif faac faad ffmpeg flac foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal imlib isdnlog ithreads java jpeg jpeg2k kde libg++ libwww lm_sensors mad matroska mikmod motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl pic png pppd python qt qt4 quicktime readline real reflection rtc ruby samba sdl server session spell spl ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wxwindows x264 xine xml xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux linguas_en linguas_hi userland_GNU video_cards_ati video_cards_fglrx video_cards_radeon video_cards_fbdev video_cards_vesa video_cards_vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 17 Marcin Kryczek (RETIRED) gentoo-dev 2006-06-12 14:48:32 UTC
actually i also believe it's somehow concerned with gcc-4.1. i also believe that it may be connected with localization (either kde or OO). pay attention that all of us have nationalized LINGUAS and Bryce doesn't. maybe he's experiencing some diffrent problem with just similar symptoms?

bt from gdb shows:
#0  0xb4f6c399 in QMap<QPopupMenu const*, (anonymous namespace)::ShadowElements>::operator[] () from /usr/kde/3.5/lib/libkdefx.so.4
#1  0xb4f6c3e5 in QMap<QPopupMenu const*, (anonymous namespace)::ShadowElements>::operator[] () from /usr/kde/3.5/lib/libkdefx.so.4
#2  0xb4f4cbcd in _init () from /usr/kde/3.5/lib/libkdefx.so.4
#3  0xb7fd4741 in call_init () from /lib/ld-linux.so.2
#4  0xb7fd4873 in _dl_init_internal () from /lib/ld-linux.so.2
#5  0xb7fd83ec in dl_open_worker () from /lib/ld-linux.so.2
#6  0xb7fd4396 in _dl_catch_error () from /lib/ld-linux.so.2
#7  0xb7fd7c74 in _dl_open () from /lib/ld-linux.so.2
#8  0xb70a3e3d in dlopen () from /lib/libdl.so.2
#9  0xb7fd4396 in _dl_catch_error () from /lib/ld-linux.so.2
#10 0xb70a42dc in dlvsym () from /lib/libdl.so.2
#11 0xb70a3d74 in dlopen () from /lib/libdl.so.2
#12 0xb74037eb in osl_setThreadTextEncoding () from /usr/lib/openoffice/program/libuno_sal.so.3
#13 0xb74038be in osl_loadModule () from /usr/lib/openoffice/program/libuno_sal.so.3
#14 0xb7f60f74 in SmartId::operator< () from /usr/lib/openoffice/program/libvcl680li.so
#15 0xb7f61aee in SmartId::operator< () from /usr/lib/openoffice/program/libvcl680li.so
#16 0xb7d6e06d in InitVCL () from /usr/lib/openoffice/program/libvcl680li.so
#17 0xb7d6e659 in DeInitVCL () from /usr/lib/openoffice/program/libvcl680li.so
#18 0xb7d6e7bb in SVMain () from /usr/lib/openoffice/program/libvcl680li.so
#19 0x0805e6eb in sal_main ()
#20 0xb6db787c in __libc_start_main () from /lib/libc.so.6
#21 0x0805e611 in _start ()

line #12 0xb74037eb in osl_setThreadTextEncoding () makes me believe it may be somehow connected with national settings
Comment 18 Marcin Kryczek (RETIRED) gentoo-dev 2006-06-12 15:08:07 UTC
(In reply to comment #12)
> I have tried it under a blank new account and the problem is still there.
> 
> Is there a way to disable KDE integration for openoffice-bin? There should be a
> way to temporarily work around it as openoffice-bin still works under other
> desktop environments.
> 

export OOO_FORCE_DESKTOP=gnome
after that OO should run with gtk integration
Comment 19 Bryce Harrington 2006-06-12 17:15:40 UTC
Setting export OOO_FORCE_DESKTOP=gnome did not appear to fix it for me, although I got some different output:

$ oowriter2
Append arg: -writer
$ 
Comment 20 Chin Yee 2006-06-13 07:05:18 UTC
> export OOO_FORCE_DESKTOP=gnome
> after that OO should run with gtk integration

After setting this, I can see the splash screen and the progress bar running to about 50% and then the splash screen disappeared and nothing further happened. No seg. fault message, as if the program has terminated normally.
 
$ OOO_FORCE_DESKTOP=gnome oowriter2
$
Comment 21 giggles1 2006-06-16 13:52:43 UTC
I can confirm this problem. I do not know if gcc 4.1 or KDE3.5.3 precipitated the problem since I upgraded both before using ooffice2. This problems happens on an AMD/Nvidia box and an Intel/ATI laptop. I don't use any I18N features on one, and  on the ohter all I ever use it the KDE keyboard mapping selector tool. Here is a backtrace of soffice.bin on the AMD box:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1234696000 (LWP 21857)]
0xb58d8e59 in KPixmapEffect::blend () from /usr/kde/3.5/lib/libkdefx.so.4
(gdb) b
Breakpoint 1 at 0xb58d8e59
(gdb) bt
#0  0xb58d8e59 in KPixmapEffect::blend () from /usr/kde/3.5/lib/libkdefx.so.4
#1  0x00000012 in ?? ()
#2  0x08093780 in ?? ()
#3  0x00009f80 in ?? ()
#4  0x00001f80 in ?? ()
#5  0x00000000 in ?? ()
(gdb) quit

Sorry I don't have a debug build, regular openoffice fails during the install phase, so I am left with openoffice-bin. It does seem to fail in the same KDE lib as the other poster.

Final note, the OOO_FORCE_DESKTOP=gnome hack *does* work for me.
Comment 22 giggles1 2006-06-16 14:44:20 UTC
Here's a barely more informative BT from my other machine

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1234838784 (LWP 8878)]
0xb591c9c8 in KPixmapEffect::blend () from /usr/kde/3.5/lib/libkdefx.so.4
(gdb) bt
#0  0xb591c9c8 in KPixmapEffect::blend () from /usr/kde/3.5/lib/libkdefx.so.4
#1  0xb5b629f9 in ?? () from /usr/qt/3/lib/libqt-mt.so.3
#2  0x00000000 in ?? ()
(gdb)       
Comment 23 Chin Yee 2006-06-20 07:45:26 UTC
I managed to emerge openoffice-2.0.2, from source with gcc-4.1.1 and sun-java-1.5.0.6, which runs flawlessly from KDE. Maybe the stock openoffice-bin-2.0.x is compiled with older tool chains which have compatibility issues with the latest ~86 gentoo portage.

Perhaps Gentoo should provide a gentoo-compiled version of openoffice-bin rather than taking the stock version from openoffice.org.
Comment 24 yardbird 2006-06-21 01:58:20 UTC
A guy here:

https://forums.gentoo.org/viewtopic-t-467213-highlight-openoffice+segmentation+fault.html

suggested that this may be due to the use of the -ffast-math gcc flag when compiling kdelibs. The OP in that thread reported that the problem was solved after a ricompilation of kdelibs without that flag.
Comment 25 Marcin Kryczek (RETIRED) gentoo-dev 2006-06-21 14:51:43 UTC
i can confirm, that removing -ffast-math from C*FLAGS and reemerging kdelibs fixes the issue. i'm closing this bug as WONTFIX, couse this flag isn't supported by gentoo-team (more info: http://dev.gentoo.org/~plasmaroo/devmanual/ebuild-writing/functions/src_compile/buildenv/)
if you think i'm wrong, feel free to reopen
Comment 26 giggles1 2006-06-22 05:31:43 UTC
I just want to add (in case it is useful to anyone) that I am use the baghira KDE theme, and in my case I also had to recompile baghira before ooffice stopped crashing. (Although, once kdelibs was recompiled, the segfault moved to a baghira library, and was no longer in libkdefx.so.4)
Comment 27 Bryce Harrington 2006-07-06 17:41:28 UTC
For me, after trying many of the other fixes others proposed, the solution turned out to be to re-emerge the nvidia kernel and X drivers, then `eselect opengl set nvidia`, and then restart X.  I don't know if that alone fixed it, or if it was a combination of that and other stuff, so ymmv.
Comment 28 Andreas Proschofsky (RETIRED) gentoo-dev 2006-07-14 10:15:19 UTC
*** Bug 140347 has been marked as a duplicate of this bug. ***