Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122401 - Openoffice 2 crashes on startup when using KDE
Summary: Openoffice 2 crashes on startup when using KDE
Status: RESOLVED UPSTREAM
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:
Depends on:
Blocks:
 
Reported: 2006-02-10 10:54 UTC by Rodrigo Fernandes
Modified: 2006-04-03 07:50 UTC (History)
0 users

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 Rodrigo Fernandes 2006-02-10 10:54:21 UTC
(Before I went upstream)

On startup any of the openoffice aplications will crash. I seems to the graphics related because crash will only ocur if the application is visible on foreground. Thougth it was a common NVidia issue, but I tried the the nv driver in Xorg, with the same results). Both source and bin emerges show the problem.

Tagged major because it renders openoffice useless.

The bt wields the following info:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225303872 (LWP 25432)]
0xb6a39c87 in QKeySequence::isEmpty () from /usr/qt/3/lib/libqt-mt.so.3
(gdb) bt
#0  0xb6a39c87 in QKeySequence::isEmpty () from /usr/qt/3/lib/libqt-mt.so.3
#1  0xb6efa0a8 in create_SalInstance () from /usr/lib/openoffice/program/libvclplug_kde680li.so
#2  0xb6efb846 in create_SalInstance () from /usr/lib/openoffice/program/libvclplug_kde680li.so
#3  0xb7eb0e53 in SalGraphics::DrawNativeControl () from /usr/lib/openoffice/program/libvcl680li.so
#4  0xb7f55c4f in Window::DrawNativeControl () from /usr/lib/openoffice/program/libvcl680li.so
#5  0xb7f5e244 in PushButton::UserDraw () from /usr/lib/openoffice/program/libvcl680li.so
#6  0xb7f5ee5f in PushButton::Paint () from /usr/lib/openoffice/program/libvcl680li.so
#7  0xb7f456fb in Window::DrawSelectionBackground () from /usr/lib/openoffice/program/libvcl680li.so
#8  0xb7f457b1 in Window::DrawSelectionBackground () from /usr/lib/openoffice/program/libvcl680li.so
#9  0xb7f46974 in Window::SetZOrder () from /usr/lib/openoffice/program/libvcl680li.so
#10 0xb7f46b07 in Window::SetZOrder () from /usr/lib/openoffice/program/libvcl680li.so
#11 0xb7f46b1e in Window::SetZOrder () from /usr/lib/openoffice/program/libvcl680li.so
#12 0xb7dcc7fd in Timer::Timeout () from /usr/lib/openoffice/program/libvcl680li.so
#13 0xb7dcc447 in SVMain () from /usr/lib/openoffice/program/libvcl680li.so
#14 0xb6789297 in SalData::Timeout () from /usr/lib/openoffice/program/libvclplug_gen680li.so
#15 0xb67889b3 in SalXLib::CheckTimeout () from /usr/lib/openoffice/program/libvclplug_gen680li.so
#16 0xb6788c2d in SalXLib::Yield () from /usr/lib/openoffice/program/libvclplug_gen680li.so
#17 0xb6790591 in X11SalInstance::Yield () from /usr/lib/openoffice/program/libvclplug_gen680li.so
#18 0xb7dc706a in Application::Yield () from /usr/lib/openoffice/program/libvcl680li.so
#19 0xb7ef4fb2 in Dialog::Execute () from /usr/lib/openoffice/program/libvcl680li.so
#20 0xb473c2b5 in component_getFactory () from /usr/lib/openoffice/program/libspl680li.so
#21 0xb4735900 in ?? () from /usr/lib/openoffice/program/libspl680li.so
#22 0x0806a5c1 in desktop::Desktop::Main ()
#23 0xb7dcc117 in DeInitVCL () from /usr/lib/openoffice/program/libvcl680li.so
#24 0xb7dcc25f in SVMain () from /usr/lib/openoffice/program/libvcl680li.so
#25 0x0805e66b in sal_main ()
#26 0x4f0f90d2 in __libc_start_main () from /lib/libc.so.6
#27 0x0805e591 in _start ()

The systems's info is:

Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ http://darkstar.ist.utl.pt/gentoo/"
LINGUAS="ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts cdr cjk crypt cups dbus dvdr eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer hal imap imlib immqt innodb ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg musicbrainz mysql ncurses ncursesi nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline sdl spell ssl subversion tcpd truetype truetype-fonts type1-fonts unicode utf8 vorbis xinerama xml2 xv zlib elibc_glibc kernel_linux linguas_ja userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS
Comment 1 Rodrigo Fernandes 2006-02-16 15:01:13 UTC
This bug has me frustrated for quite a few weeks now, but due to lack of free time I have been unable to look into it.

Upon further investigation it seems this is issue is KDE/Kwin related, or, more precisely, some qt/kde lib loaded in with KDE/Kwin.

The following is the description of the tests I've tried. Should you me to run others please feel free to ask.

I can run OO ok if I just do a xinit and lauch oowriter2 from the xterm. Runs windowless but other than that it's ok...

If I run xinit and then run startkde from the xterm console OO crashes when lauched, BUT if I kill kwin I can launch OO no problem from the xterm, but not from the kicker menu.
Since running in a enlightment environment shows no problem it seems the crash only occurs when it's lauched either from kde or if kde interacts with the OO window, ex. kwin.

Btw, I forgot to post it earlier here's the kcrash handler's backtrace (didn't think it would be much use compared to the gdb bt):

(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)
[Thread debugging using libthread_db enabled]
[New Thread -1232811840 (LWP 21112)]
[New Thread -1269544016 (LWP 21115)]
[New Thread -1258746960 (LWP 21114)]
[New Thread -1250153552 (LWP 21113)]
0xffffe410 in ?? ()
#0  0xffffe410 in ?? ()
#1  0xbfc465d8 in ?? ()
#2  0x4f1faff4 in ?? () from /lib/libc.so.6
#3  0xbfc46434 in ?? ()
#4  0x4f16be86 in nanosleep () from /lib/libc.so.6
#5  0x4f16bc7d in sleep () from /lib/libc.so.6
#6  0x4115bf93 in KCrash::startDrKonqi () from /usr/kde/3.5/lib/libkdecore.so.4
#7  0x4ecc62a4 in ?? () from /usr/lib/libXrender.so.1
#8  0x4ecc643c in ?? () from /usr/lib/libXrender.so.1
#9  0x080a0450 in ?? ()
#10 0xbfc46610 in ?? ()
#11 0x00000011 in ?? ()
#12 0x00000003 in ?? ()
#13 0x00000004 in ?? ()
#14 0x00000004 in ?? ()
#15 0x0000528d in ?? ()
#16 0x6f6b7264 in ?? ()
#17 0x0069716e in ?? ()
#18 0x7369642d in ?? ()
#19 0x79616c70 in ?? ()
#20 0x2e303a00 in ?? ()
#21 0x2d2d0030 in ?? ()
#22 0x6e707061 in ?? ()
#23 0x00656d61 in ?? ()
#24 0x66666f73 in ?? ()
#25 0x2e656369 in ?? ()
#26 0x006e6962 in ?? ()
#27 0x69732d2d in ?? ()
#28 0x6c616e67 in ?? ()
#29 0x00313100 in ?? ()
#30 0x69702d2d in ?? ()
#31 0x31320064 in ?? ()
#32 0x00323131 in ?? ()
#33 0x70612d2d in ?? ()
#34 0x72657670 in ?? ()
#35 0x6e6f6973 in ?? ()
#36 0x312e3100 in ?? ()
#37 0x2d00302e in ?? ()
#38 0x6f72702d in ?? ()
#39 0x6d617267 in ?? ()
#40 0x656d616e in ?? ()
#41 0x65704f00 in ?? ()
#42 0x66664f6e in ?? ()
#43 0x2e656369 in ?? ()
#44 0x0067726f in ?? ()
#45 0x75622d2d in ?? ()
#46 0x64646167 in ?? ()
#47 0x73736572 in ?? ()
#48 0x76656400 in ?? ()
#49 0x65646b40 in ?? ()
#50 0x65706f2e in ?? ()
#51 0x66666f6e in ?? ()
#52 0x2e656369 in ?? ()
#53 0x0067726f in ?? ()
#54 0x74732d2d in ?? ()
#55 0x75747261 in ?? ()
#56 0x00646970 in ?? ()
#57 0x796b6f74 in ?? ()
#58 0x31313b6f in ?? ()
#59 0x33313034 in ?? ()
#60 0x31383030 in ?? ()
#61 0x3336353b in ?? ()
#62 0x3b303430 in ?? ()
#63 0x39383032 in ?? ()
#64 0x49545f35 in ?? ()
#65 0x3931454d in ?? ()
#66 0x34373336 in ?? ()
#67 0x38363038 in ?? ()
#68 0x00000000 in ?? ()

Any ideas?
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2006-02-21 03:02:42 UTC
Did you already try to report this upstream at 

http://qa.openoffice.org/issue_handling/pre_submission.html

Cause if you also have it in the -bin it is either an upstream problem, or a bug with your kde-setup
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-21 07:52:37 UTC
Do you have XRender extensions enabled? If so, does it crash without?
Comment 4 Rodrigo Fernandes 2006-02-21 09:01:40 UTC
Ok I'm reporting this upstream.

Dri, xgl, extensions have no change, ie. OpenOffice2 runs fine with them enabled, simply by using another window-manager
Using kde it still crashes... even with the following xorg.conf:

Section "Module"
        Load  "record"
#       Load  "extmod"
#       Load  "dbe"
#       Load  "dri"
#       Load  "glx"
#       Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

#Section "Extensions"
#       Option "Composite" "Enable"
#EndSection


Section "Device"
	Driver "vesa"
	Identifier "Card0nv"
EndSection

Thanks for the help.

I will mark UPSTREAM once initial feedback is returned.

PS: Should I cascade the upstream's report solution if pertainant to gentoo, or just post the relevant link to the bug?
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2006-03-04 07:01:45 UTC
(In reply to comment #4)
> PS: Should I cascade the upstream's report solution if pertainant to gentoo, or
> just post the relevant link to the bug?
> 

I'm closing this as UPSTREAM, please reopen if there is a patch for your issue.
Comment 6 Tuan Van (RETIRED) gentoo-dev 2006-03-04 22:32:09 UTC
I have a very similar crash. The only different is my box is built with -Bdirect. After google around and read Michael's blog <http://www.gnome.org/~michael/activity.html#2006-02-16> . I tried to set OOO_FORCE_SYSALLOC=1 and it works. I wonder if it work for you.
Comment 7 Rodrigo Fernandes 2006-04-03 07:50:30 UTC
(In reply to comment #6)
> I have a very similar crash. The only different is my box is built with
> -Bdirect. After google around and read Michael's blog
> <http://www.gnome.org/~michael/activity.html#2006-02-16> . I tried to set
> OOO_FORCE_SYSALLOC=1 and it works. I wonder if it work for you.
> 

Didn't work :(. Doing a 

export OOO_FORCE_SYSALLOC=1 [, export MALLOC_CHECK_=2 ]

still results in a KCrash: Application 'soffice.bin' crashing...
X IO Error