Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194106 - app-office/openoffice-bin-2.3.0: crash with gtk+2.12.0* and gnome 2.20
Summary: app-office/openoffice-bin-2.3.0: crash with gtk+2.12.0* and gnome 2.20
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-28 16:19 UTC by Ray Ishido
Modified: 2008-03-24 15:06 UTC (History)
4 users (show)

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


Attachments
Oowriter output (run in a terminal) (Oowriterbug,41.46 KB, text/plain)
2007-10-22 11:23 UTC, Ray Ishido
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Ishido 2007-09-28 16:19:21 UTC
If I run Openoffice (oowriter for example), and try to open a file, openoffice just freeze and nothing happen (I need to kill OOo)
It happen only since I updated to gnome 2.20. It not happen when I run openoffice in fluxbox (I compiled fluxbox with -gnome useflag).
I tryed to downgrad to gtk+2.10.14 and it solves the problem (but I need gtk+2.12.0 for gnome 2.20)
It happen with all the version of gtk+2.12.0, (ie -r1, -r2 too)

emerge --info
Portage 2.1.3.10 (default-linux/x86/2006.1, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r5 i686)
=================================================================
System uname: 2.6.22-gentoo-r5 i686 Genuine Intel(R) CPU T2050 @ 1.60GHz
Timestamp of tree: Fri, 28 Sep 2007 13:50:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1
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
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -Os -pipe -fomit-frame-pointer"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="                 http://gentoo.chem.wisc.edu/gentoo/            http://www.las.ic.unicamp.br/pub/gentoo                 http://gentoo.osuosl.org/               http://ftp.club-internet.fr/pub/mirrors/gentoo"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j3"
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/local/portage /usr/local/layman/xeffects /usr/portage/local/layman/gnome-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi aiglx alsa asf battery berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr encode exif ffmpeg fortran gdbm gif glitz gnome gphoto2 gpm gtk gtk2 hal iconv isdnlog java javascript jpeg kdeenablefinal lirc mad midi mono mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia openmp pam pcre pda perl pic pmu png ppds pppd qt readline reflection reiserfs samba session smp spl sqlite sqlite3 sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb wifi win32codecs x86 xcomposite xml xorg zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

here is my emerge --info


Reproducible: Always

Steps to Reproduce:
1.run openwriter
2.file-> open (or save as for example)
3.
Comment 1 mobidyc 2007-09-28 20:14:41 UTC
Hello,

maybe you can try to run openoffice with OOO_FORCE_DESKTOP=kde in your terminal.
this workaround works for me.

i'm waiting for a complete resolution.

also,
you could see this opened issue on openoffice.org:
http://www.openoffice.org/issues/show_bug.cgi?id=82078

--
Mobidyc
Comment 2 Ray Ishido 2007-09-28 22:49:09 UTC
Wonderfull!!!!
it works perfectly! thank you very much! :)
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2007-10-08 11:42:57 UTC
Can't reproduce this, works perfectly fine for me with gtk+-2.12 (and has before with 2.11). Did you try to do a revdep rebuild?

Also: Do you get some output when  starting oowriter from a terminal?
Comment 4 Alexander Doukas 2007-10-08 12:27:48 UTC
Hi all,

I have the exact same problem after upgrading to gtk+-2.12. For consistency, I rebuild the whole system but made no difference. Moreover, tried to remove the .ooo-2.0 dir and during the scrolling of the licence oo fails with:

X-Error: BadDrawable (invalid Pixmap or Window parameter)
        Major opcode: 53 (X_CreatePixmap)
        Resource ID:  0x2a0096c
        Serial No:    17800 (17800)


Comment 5 Roc Vallès 2007-10-22 05:14:43 UTC
I'm having this problem, too.

I'm guessing openoffice-bin needs to be rebuilt against GTK 2.12.1
Comment 6 Ray Ishido 2007-10-22 11:23:11 UTC
Created attachment 134114 [details]
Oowriter output (run in a terminal)
Comment 7 Ray Ishido 2007-10-22 11:25:28 UTC
Andreas, here is the output of Oowriter when I run it from a terminal. 
As already mention, revdep-rebuild didn't solve the problem.
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2007-11-04 15:32:55 UTC
(In reply to comment #8)
> This is the proper upstream bug:
> http://www.openoffice.org/issues/show_bug.cgi?id=82608
> 
> Maybe this patch could help:
> http://www.openoffice.org/nonav/issues/showattachment.cgi/49023/openoffice.org.ooo82608.vcl.gtkbadfree.patch
> 

Unfortunately this won't help, as we are talking about the -bin version, which we can't patch as we take the binaries from upstream, I'm afraid we have to wait for 2.3.1 to have this resolved.
Comment 10 Mart Raudsepp gentoo-dev 2007-11-19 17:02:22 UTC
A possible workaround is setting G_SLICE=always-malloc for the affected binary openoffice, but this means that all GSlice usage goes through malloc/free instead of the GSlice slab allocator, possibly affecting performance slightly for those that don't use a theme that triggers the bad codepath and lets it to be usable for those that do.

The GNOME team can not do anything about it, so reassigning to openoffice, who might want to entertain the idea of running soffice from the wrappers with G_SLICE=always-malloc env var set until a new binary release comes along from upstream. I can discuss the details of the effect of that over IRC if necessary.
Comment 11 Fabio Bonfante 2007-11-28 15:13:21 UTC
the G_SLICE=always-malloc workaround works for me... maybe we can be "fix" setting this variable in some startup script (an 2.3.0-r1 "version bump" ? ;-)
Comment 12 Ian 2007-11-30 06:43:03 UTC
Adding 'export OOO_FORCE_DESKTOP=kde' to the beginning of '/usr/bin/ooffice' works for me. This workaround also applies to the entire suite when run from gnome application menu shortcuts.
Comment 13 Andreas Proschofsky (RETIRED) gentoo-dev 2007-12-09 00:17:53 UTC
This should be gone with openoffice 2.3.1. Could you please verify this?
Comment 14 p0ulp3 2008-01-06 20:09:25 UTC
(In reply to comment #13)
> This should be gone with openoffice 2.3.1. Could you please verify this?
> 

I have openoffice 2.3.1 and I am still experiencing the same problem, X locks up with some apps like openoffice, or amule or kpdf. I am using xfce and I have resolved the problem without any var, I have just downgraded gtk+ from x11-libs/gtk+-2.12.1-r2 to x11-libs/gtk+-2.10.14

I had also tried to change the theme of gtk but without success.

Now I haven't got any freeze, and I can survive without the latest version of gtk+ :-)

++
Comment 15 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-24 15:06:08 UTC
(In reply to comment #14)
> I have openoffice 2.3.1 and I am still experiencing the same problem, X locks
> up with some apps like openoffice, or amule or kpdf. I am using xfce and I have
> resolved the problem without any var, I have just downgraded gtk+ from
> x11-libs/gtk+-2.12.1-r2 to x11-libs/gtk+-2.10.14

Which really isn't the original bug anymore, if there are still some issues with gtk-2.12, this should be handled in a seperate bug, this ones solely about a specific OOo-problem which has been resolved quite some time ago