[gutsy] Open Office applications don't start

Bug #127944 reported by sk0rp10
242
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GLib
Fix Released
Critical
OpenOffice
Invalid
Unknown
glib2.0 (Ubuntu)
Invalid
Undecided
Unassigned
glibc (Ubuntu)
Invalid
Undecided
Unassigned
gtk+2.0 (Ubuntu)
Invalid
Undecided
Unassigned
kdebase (Suse)
Fix Released
Critical
openoffice.org (Ubuntu)
Fix Released
High
Unassigned
openoffice.org2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

NOTE: DO NOT MARK KDEBASE BUGS AS DUPLICATES OF THIS BUG UNLESS IT IS DETERMINED THE BUG IS IN GLIB FOR CERTAIN!

Binary package hint: openoffice.org

Open Office applications (write, draw...) don't start in Gutsy and Ooo uses nearly 95% of CPU like it was locked on some endless loop.

Installing openoffice.org-gtk corrects the problem.

It appears to need this file to start:

/usr/lib/openoffice/program/libvclplug_gtk680li.so

This bug on konqueror nspluginviewer appears to be a similar issue:

https://bugzilla.novell.com/show_bug.cgi?id=294385

Also this bug details the issue wrt glib:

http://bugzilla.gnome.org/show_bug.cgi?id=463773

---

(process:1590): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.13.7/gobject/gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:1590): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:1590): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

Revision history for this message
sk0rp10 (matteo-andreozzi) wrote : Re: [gutsy]Open Office applications don't start

This is an error message which occours starting soffice from console:

(process:15391): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.13.7/gobject/gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:15391): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:15391): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

Revision history for this message
Zdenek Niederle (zdenek) wrote :

I can confirm this. It is happening on two different machines that I use. Each machine started experiencing the problem when I did my daily package upgrades last night/this morning. I'm also experiencing konqueror (nspluginviewer) slamming the processor when trying to load flash content. The relevant section of my dpkg.log is:

2007-07-24 10:26:13 status installed libc6 2.6-3ubuntu1
2007-07-24 10:26:20 status installed libc6-i686 2.6-3ubuntu1
2007-07-24 10:26:20 status installed aptitude 0.4.5.4-1ubuntu1
2007-07-24 10:26:20 status installed laptop-detect 0.13.2
2007-07-24 10:26:20 status installed libdbus-1-3 1.1.1-3ubuntu1
2007-07-24 10:26:21 status installed libsqlite3-0 3.4.1-0ubuntu1
2007-07-24 10:26:21 status installed cpp 4:4.1.2-2ubuntu2
2007-07-24 10:26:21 status installed dbus 1.1.1-3ubuntu1
2007-07-24 10:26:21 status installed gcc 4:4.1.2-2ubuntu2
2007-07-24 10:26:21 status installed libgcj-common 1:4.2.1-0ubuntu2
2007-07-24 10:26:21 status installed libgcj-bc 4.2.1-0ubuntu2
2007-07-24 10:26:21 status installed gij 4:4.2.1-0ubuntu2
2007-07-24 10:26:21 status installed libhal1 0.5.9.1-1ubuntu2
2007-07-24 10:26:21 status installed libhal-storage1 0.5.9.1-1ubuntu2
2007-07-24 10:26:24 status installed hal 0.5.9.1-1ubuntu2
2007-07-24 10:26:24 status installed kubuntu-desktop 1.45
2007-07-24 10:26:24 status installed libdaemon0 0.12-0.1
2007-07-24 10:26:24 status installed libgtk2.0-common 2.11.6-1ubuntu1
2007-07-24 10:26:24 status installed libxext6 2:1.0.3-2build1
2007-07-24 10:26:25 status installed libgtk2.0-0 2.11.6-1ubuntu1
2007-07-24 10:26:25 status installed libice6 2:1.0.3-2ubuntu1
2007-07-24 10:26:25 status installed libxmu6 2:1.0.3-1ubuntu1
2007-07-24 10:26:25 status installed libxaw7 2:1.0.3-3ubuntu1
2007-07-24 10:26:25 status installed libxmuu1 2:1.0.3-1ubuntu1
2007-07-24 10:26:25 status installed libxvmc1 2:1.0.4-2ubuntu1

One of the new package versions must be causing the problem. Looking at the library dependencies I suspect it is one or more of the following:

libc6-i686 2.6-3ubuntu1
libxext6 2:1.0.3-2build1

Revision history for this message
Zdenek Niederle (zdenek) wrote :

Most likely related to Bug #127876.

Revision history for this message
Jérôme Pouiller (jezz) wrote :

Same thing for me. I havn't upgrade same packages than Zdenek Niederle. The common subset is:
2007-07-24 14:38:23 status installed libxext6 2:1.0.3-2build1
2007-07-24 14:38:25 status installed libxmu6 2:1.0.3-1ubuntu1
2007-07-24 14:38:25 status installed libxaw7 2:1.0.3-3ubuntu1
2007-07-24 14:38:25 status installed aptitude 0.4.5.4-1ubuntu1
2007-07-24 14:38:25 status installed laptop-detect 0.13.2
2007-07-24 14:38:26 status installed libdaemon0 0.12-0.1
2007-07-24 14:38:26 status installed libxmuu1 2:1.0.3-1ubuntu1
2007-07-24 14:38:26 status installed libxvmc1 2:1.0.4-2ubuntu1
Sure problem doesn't come from openoffice but from one of these libs.

Last Upload of libxmuu1, libxvmc1, libxaw7, libxmu6 and libxext6 was made by <email address hidden>. Is Bryce is aware of this issue?
This upload includes some merges from Debian (But I don't know which ones).

Jérôme Pouiller (jezz)
Changed in openoffice.org2:
status: New → Confirmed
Revision history for this message
sk0rp10 (matteo-andreozzi) wrote :

I think the bug is somewhat in the Glib package, however it seems it has been corrupted by some other packages, since we didn't do an update for this package.

Revision history for this message
hardhu (qzerty) wrote :

I also have this problem both in an amd64 and in a i386 pc with Openoffice in the first case and Acrobat Reader in the second one.

Revision history for this message
Gabriel Jacobo (gabomdq) wrote :

I can confirm this issue, running Gutsy AMD64 (compiz and kde-window-decorator enabled, nvidia propietary drivers).

I found a workaround here: http://kubuntuforums.net/forums/index.php?topic=3085219.0

In fact, installing libgtk2.0-0_2.10.11-0ubuntu3 (I downloaded the amd64 version, but the post reports that the i386 has the same effect on that architecture) solves the problem...

I believe this bug is kde related somehow...havent seen it reported by gnome users.

Revision history for this message
sk0rp10 (matteo-andreozzi) wrote :

Here there is a workaround, which involves installing an older version of libgtk2.0, so it should be a libgtk fault:

http://kubuntuforums.net/forums/index.php?topic=3085219.0

Revision history for this message
Fred Hermanns (fintan) wrote :

The workaround mentioned above results in a lot of dependencies errors.

The funny thing is I just installed the tribe3 version of ubuntu did an upgrade and did not get any issues with OO 2.2.1-5u3. So I am not sure if this is not a kubuntu only thing or maybe just an upgrade from tribe 2 to tribe 3. I updated / -graded my tribe 2 in kubuntu today and was confronted with this issue.

I tend to agree with Gabriel: "I believe this bug is kde related somehow...havent seen it reported by gnome users."

Revision history for this message
ChrisDebenham (chris-debenham) wrote :

I can confirm this issue on my gutsy laptop as well.
I am not running kde at all (am running fvwm, but can confirm on gnome as well)

Revision history for this message
Marco Maini (maini10) wrote :

I can confirm that installing the old package of libgtk2.0, Openoffice works also in i386 platform. It's a good workaround for the moment.

Revision history for this message
Gabriel Jacobo (gabomdq) wrote :

I found a better workaround...as was mentioned, installing the old package breaks a lot of things, specially Pidgin icons which I couldnt seem to bear...so, I updated the GTK2 library to the newest version, and I dumped the contents of the old package (more exactly the contents of CONTENTs/usr/lib) to /usr/lib/openoffice/program. This does the trick, and the other apps keep working just fine. Obviously, once this issue is solved, I'll have to delete the extracted files.
By the way, without the workaround I can open "soffice", and check the configuration. However, when I enter the "Fonts" item it hangs (it does not hang with the workaround in place). The exact same thing also happens with the "Languages" item (I have spanish localization installed).

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you not recommend users to copy files out of the packaging system, that's going to create issues for some of them. If you use an unstable distribution you should be able to deal with breaks or give an hand to fix the issue probably, recommending hacks is not a constructive way

Revision history for this message
TuxFan (make) wrote :

Same problem here with OO and Acrobat Reader. Should the importance of this bug be decided by someone?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Changing the settings will not make the bug being fixed, somebody needs to debug it rather

Revision history for this message
Heiko Sieger (heiko-actcom) wrote :

Confirm the bug on Kubuntu Gutsy. I can hang in a day or two without OO, and hope to see the issue being fixed. Is there anything I can help?

Revision history for this message
Heiko Sieger (heiko-actcom) wrote :

Well, I just tried the workaround mentioned here:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/128211

Installed with:
$ sudo dpkg -i libgtk2.0-0_2.10.11-0ubuntu3_i386.deb

dpkg - warning: downgrading libgtk2.0-0 from 2.11.6-1ubuntu1 to 2.10.11-0ubuntu3
.
(Reading database ... 123015 files and directories currently installed.)
Preparing to replace libgtk2.0-0 2.11.6-1ubuntu1 (using libgtk2.0-0_2.10.11-0ubuntu3_i386.deb) ...
Unpacking replacement libgtk2.0-0 ...
dpkg: warning - unable to delete old directory `/etc/gtk-2.0': Directory not empty
Setting up libgtk2.0-0 (2.10.11-0ubuntu3) ...

I started ooffice -writer from the terminal and it starts OK, but I got the following errors on the terminal screen:

$ ooffice -writer
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 148
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 148
  Minor opcode: 3
  Resource id: 0x0
Failed to open device

(process:23641): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.13.7/gobject/gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:23641): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:23641): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.13.7/gobject/gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:23641): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
$
(process:23641): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.13.7/gobject/gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:23641): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

Looks the same as before, but Openoffice DID start. I just checked the spreadsheet and it works too. Yet, the error message remains. Hope it gives someone with more insight a little clue.

Revision history for this message
Heiko Sieger (heiko-actcom) wrote :

Well, the idea to install an old libgtk2.0 wasn't so good after all. It broke lots of dependencies and I made the mistake to do some upgrades after that - it practically removed everything one needs. I'll be installing for the next day or two.

Revision history for this message
david.barbion (david-barbion) wrote :

Hello,

When just running soffice from a console, OpenOffice is able to open its
main window, without any type of document (ie: you have to do "new").
I'm able to go to tools->options menu, and then soffice freezes on some
screen options like "fonts" "appearance"... others works as it should.
So it could a gtk+font problem...

David

Ce message et toutes les pièces jointes sont établis à l'attention exclusive de leurs destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. L'internet ne permettant pas d'assurer l'intégrité de ce message, le contenu de ce message ne représente en aucun cas un engagement de la part de Adeo Services.

Revision history for this message
Anthony Mercatante (tonio) wrote :

I can confirm this, and also the nspluginviewer with konqueror, which seems to be a linked issue as they appeared at exctely the same moment, causing the same trouble...

Revision history for this message
Jason Straight (jason-jeetkunedomaster) wrote :

Same here - openoffice and konqueror nspluginview both.

Revision history for this message
ElZorro (zorro4372) wrote :

Hi,
this is an important bug, and needs fixing hopefully very soon.
It is related to libgtk latest version, which is kaput. It is fixed for now by installing the downgraded package libgtk2.0-0_2.10.11-0ubuntu3_i386.deb, but then adept wants to upgrade it and reports a whole swag of broken packages.
The latest libgtk stops openoffice again, chasing ones tail.
Konquero still cannot shrink fonts on a number of web pages including wikipedia and bbc world service, perhaps related?
Best
El Zorro

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

@ELZorro: I don't think the shrinking font problem in konqueror is related to this bug, it's no bug at all. You can set up a "minimum font size" in konqueror. If the font size of the viewed web site is already at the minimum font size, then you won't be able to shrink further. Just decrease your minimum font size in the settings.

Revision history for this message
Nicola Rosati (supernaicol) wrote :

I just made an apt-get update && apt-get upgrade, and libgtk upgraded from 2.6.11-6ubuntu1 to 2.6.11-6ubuntu3; but the problem remains... bye you all.

Revision history for this message
Sebastien Bacher (seb128) wrote :

That might be an openoffice bug

Changed in openoffice.org2:
importance: Undecided → High
Revision history for this message
hads (hads) wrote :

It does appear to affect nspluginviewer too though.

Revision history for this message
Fred Hermanns (fintan) wrote :

This was just posted by mbjsscn2 on the Kubuntu forum:

"I had same issue with tribe 3 and found that by installing the following, Openoffice works again: mozilla-openoffice.org openoffice.org-gnome openoffice.org-gtk openoffice.org-kde

I suspect that its the 'openoffice.org-gtk' that makes the difference but I haven't had time to experiment further.

Regards"

I had everything except OO.org-gnome installed (would never have thought of that). Installing OO.org.-gnome on Kubuntu actually does work. I am a bit at a loss why. I mean what is OO.org-gnome doing on KDE?? Maybe the gods that are can explain this.

Revision history for this message
Thomas Schlesinger (schlesix) wrote :

Fred, thanks for your tip. It works for me.

Revision history for this message
schnee007 (ls-ps-webhosting) wrote :

Thanks Fred, works for me too.

Revision history for this message
Fred Hermanns (fintan) wrote :

Any time, but thank mbjsscn2, not me.

Revision history for this message
Cláudio Caseiro (ccaseiro) wrote :

The Fred tip also worked for me, thanks.

Revision history for this message
hardhu (qzerty) wrote :

 I have every of the packages mentioned installed, except for mozilla-openoffice.org (that I would prefer not to install, since it has firefox as a dependence, and I don't want to have conflicts with the 32bit firefox I have installe in the i386 chroot), and openoffice still doesn't start.

Revision history for this message
Marco Maini (maini10) wrote :

In my Pc openoffice works without mozilla-openoffice.org.

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

Installing openoffice.org-gnome fixed the problem for me. Quite strange anyway.

Revision history for this message
menox (fjctracy) wrote : Re: [Bug 127944] Re: [gutsy]Open Office applications don't start

Christian Schuerer wrote:
> Installing openoffice.org-gnome fixed the problem for me. Quite strange
> anyway.
>
>

Me too. But nspluginviewer for Konqueror is still broken.

Revision history for this message
Koppie (senatorkoppie) wrote : Re: [gutsy]Open Office applications don't start

When I installed openoffice.org-gnome it also installed openoffice.org-gtk. Those are the only two packages I installed and it worked! Thanks to Christian and Fred (for bringing the fix to launchpad)!

When I run on the command line, I still get this:
(process:6011): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
(process:6011): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
(process:6011): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
(process:6011): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
(process:6011): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

But it works anyway, so I'm not going to worry about it!

Revision history for this message
Martinus Larsen (martinus) wrote :

I can confirm this in KDE Gutsy as well. Both OOffice at splash, and Konqueror when opening pages with flash content, crashes. Some GLib error. I don't have my laptop here, so I cant paste it exactly.

This, however:

X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 148
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 148
  Minor opcode: 3
  Resource id: 0x0
Failed to open device

Is another issue. This is due to the wacom devices beeing enabled by default in xorg.conf. Read here: http://ubuntuforums.org/showthread.php?p=1264009 for more info.

Revision history for this message
Mat Kupisz (mkupisz) wrote :

Installing openoffice.org-gnome also worked for me. Please note, that before installing this package I had these errors:
(process:13043): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.13.7/gobject/gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:13043): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:13043): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

And after installing it, it's just this:
(process:13097): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
repeated couple times.

Revision history for this message
Bharat Rajagopalan (mendred) wrote :

Hi I am posting on bug no. 128308 (konqueror freezes when viewing flash) as that has been marked as a duplicate to this one

When i installed
libgtk2.0-0_2.10.11-0ubuntu3_i386.deb and downgraded libgtk, nspluginviewer works normally, openoffice also works

Presently after installing openoffice.org-gnome with the latest libgtk (2.0-2.11.6 u3) ...

a) openoffice works, exactly as Mat Kupisz describes. It also seems to start a little faster than with libgtk 2.10 (probably because there are no errors slowing it down)

b) However the nspluginviewer issue has returned. It consumes 100% cpu, and hangs. Konqueror freezes. This happens when i go to http://www.youtube.com. So it does appear that the nspluginviewer issue is also directly related to the libgtk version. (2.11 vs 2.10)

Firefox works with flash without issues.

I am using Kubuntu gutsy last updated around 3 hours back.

Thanks and regards,
Bharat

Revision history for this message
hardhu (qzerty) wrote :

I have to correct my latest report: after I rebooted my notebook, without upgrading or installing anyrthing more than I wrote above, openoffice has started to work again.

Revision history for this message
TuxFan (make) wrote :

Installing openoffice.org-gnome fixes OO for me too, but it doesn't fix Acrobat Reader...

Revision history for this message
Mark Rijckenberg (markrijckenberg) wrote :
Download full text (30.8 KiB)

Hi,

I had the same issue using Kubuntu Gutsy Tribe 3, but not anymore. :-)

I have the exact same remark to make as Mat Kupisz (https://bugs.launchpad.net/ubuntu/+source/openoffice.org2/+bug/127944/comments/40) . But I will now give some more detailed information that might help the programmers fix this issue.

Here is the log made by "strace soffice" before and after installing mozilla-openoffice.org openoffice.org-gnome openoffice.org-gtk openoffice.org-kde. Thanks go out to Fred for his workaround.

ulysses@desktop-pc:~$ strace soffice
execve("/usr/bin/soffice", ["soffice"], [/* 35 vars */]) = 0
brk(0) = 0x805f000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ee7000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=93663, ...}) = 0
mmap2(NULL, 93663, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ed0000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240a\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1339780, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ecf000
mmap2(NULL, 1345008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d86000
mmap2(0xb7ec9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x143) = 0xb7ec9000
mmap2(0xb7ecc000, 9712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ecc000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d85000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d856b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7ec9000, 4096, PROT_READ) = 0
munmap(0xb7ed0000, 93663) = 0
getpid() = 22705
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
geteuid32() = 1000
brk(0) = 0x805f000
brk(0x8080000) = 0x8080000
getppid() = 22704
stat64("/home/ulysses", {st_mode=S_IFDIR|0755, st_size=3432, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=3432, ...}) = 0
open("/usr/bin/soffice", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x80551c0, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
read(10, "#!/bin/sh\n#*********************"..., 8192) = 8192
stat64("/etc/openoffice/soffice.sh", {st_mode=S_IFREG|0644, st_size=796, ....

Revision history for this message
Erik Harren (linux-aceh) wrote : [Bug 127944] Re: [gutsy]Open Office applications don't start

Hi!

Mark Rijckenberg wrote:
> Here is the log made by "strace soffice" before and after installing
> mozilla-openoffice.org openoffice.org-gnome openoffice.org-gtk
> openoffice.org-kde. Thanks go out to Fred for his workaround.

I installed all four packages and got a negative result with latest
libgtk-2.11.x. When running libgtk2 10.y there is noch problem with OOo
but many broken packages.

regards,
Erik.

Revision history for this message
Gerardo Contreras (gera-gera) wrote : Re: [gutsy]Open Office applications don't start

It worked over here after installing mozilla-openoffice.org openoffice.org-gnome openoffice.org-gtk (openoffice.org-kde was already installed)

Revision history for this message
Kamil Swiatkowski (kswia) wrote :

In my case installing openoffice.org-gtk didn't help. But when I removed openoffice.org-kde it started to work.

Revision history for this message
Fred Hermanns (fintan) wrote :

Now that is a twist. Are you on Kubuntu gutsy tribe (something)??

Revision history for this message
Erik Harren (linux-aceh) wrote : Re: [Bug 127944] Re: [gutsy]Open Office applications don't start

Hi Fred!

Fred Hermanns wrote:
> Now that is a twist. Are you on Kubuntu gutsy tribe (something)??

Indeed i'm running Kubuntu Tribe (?) from the very beginning and
uptodate. I deinstalled ooo-kde already but nothing changed. I made some
straces, see [BUG 128211].

regards,
Erik.

Revision history for this message
Noam Meltzer (tsnoam) wrote : Re: [gutsy]Open Office applications don't start

Hi,

Don't know if it helps or not, but I do not have this problem.

I'm using Kubuntu Gutsy Tribe 3 with the latest updates, and don't have this problem.
I'm using the 64bit release.

[tsnoam@meydele ~] $ uname -a
Linux meydele 2.6.22-9-generic #1 SMP Mon Jul 30 17:26:54 GMT 2007 x86_64 GNU/Linux

[tsnoam@meydele ~] $ dpkg-query -W -f '${Status}\t${Package}\n' openoffice* libgtk2* |awk '$1 == "install" {print $NF}'
openoffice.org-base
openoffice.org-calc
openoffice.org-common
openoffice.org-core
openoffice.org-draw
openoffice.org-gnome
openoffice.org-gtk
openoffice.org-help-en-us
openoffice.org-hyphenation
openoffice.org-impress
openoffice.org-java-common
openoffice.org-kde
openoffice.org-l10n-common
openoffice.org-l10n-en-gb
openoffice.org-l10n-en-us
openoffice.org-l10n-en-za
openoffice.org-math
openoffice.org-style-andromeda
openoffice.org-style-crystal
openoffice.org-style-human
openoffice.org-style-industrial
openoffice.org-thesaurus-en-us
openoffice.org-writer
libgtk2-perl
libgtk2.0-0
libgtk2.0-bin
libgtk2.0-cil
libgtk2.0-common
libgtk2.0-dev

Revision history for this message
Mat Kupisz (mkupisz) wrote :

@Noam Meltzer : You have both openoffice-gnome and openoffice-kde instelled which is known to fix the problem.

I can also confirm that removing openoffice.org-kde made openoffice start but what's intresting without openoffice.org-kde and openffice.org-gnome I don't get any errors on console.

It seems like it's openoffice.org-kde what's causing the problem - with openoffice.org-gnome installed and openoffice.org-kde UNinstalled I'm able to start openoffice without any console errors.

PS. Running Gutsy 64-bit

Revision history for this message
Dorin Lazăr (dorin-lazar) wrote :

Confirmed on gutsy with the latest updates (Kubuntu).
I traced it with gdb and this is the place where it loops endlessly:

(gdb) where
#0 0xb5c354c6 in g_slist_find () from /usr/lib/libglib-2.0.so.0
#1 0xb5c3c3b3 in g_once_init_enter_impl () from /usr/lib/libglib-2.0.so.0
#2 0xb5e130af in gdk_screen_get_type () from /usr/lib/libgdk-x11-2.0.so.0
#3 0xb5e1327f in gdk_screen_get_font_options () from /usr/lib/libgdk-x11-2.0.so.0
#4 0xb699177a in psp::PrintFontManager::getFontConfigHints () from /usr/lib/openoffice/program/libpsp680li.so
#5 0xb4c5f859 in X11SalGraphics::GetFontHints () from /usr/lib/openoffice/program/libvclplug_gen680li.so
#6 0xb7d89950 in ?? () from /usr/lib/openoffice/program/libvcl680li.so
#7 0xb7f6391d in ?? () from /usr/lib/openoffice/program/libvcl680li.so
#8 0xb7f63c43 in ?? () from /usr/lib/openoffice/program/libvcl680li.so
#9 0xb7f5a701 in GlyphCache::CacheFont () from /usr/lib/openoffice/program/libvcl680li.so
#10 0xb4c5df00 in X11SalGraphics::setFont () from /usr/lib/openoffice/program/libvclplug_gen680li.so
#11 0xb4c5dfd3 in X11SalGraphics::SetFont () from /usr/lib/openoffice/program/libvclplug_gen680li.so
#12 0xb7d89dd0 in ?? () from /usr/lib/openoffice/program/libvcl680li.so
#13 0xb7d973d8 in ?? () from /usr/lib/openoffice/program/libvcl680li.so
#14 0xb7d9c8b8 in OutputDevice::GetTextHeight () from /usr/lib/openoffice/program/libvcl680li.so
#15 0xaf3df5fe in SvxFont::GetPhysTxtSize () from /usr/lib/openoffice/program/libsvx680li.so
#16 0xaf468d19 in ?? () from /usr/lib/openoffice/program/libsvx680li.so
#17 0xaf46ed83 in ?? () from /usr/lib/openoffice/program/libsvx680li.so
#18 0xaf46f21f in ?? () from /usr/lib/openoffice/program/libsvx680li.so
#19 0xaf47296a in ?? () from /usr/lib/openoffice/program/libsvx680li.so
#20 0xaf4729ef in ?? () from /usr/lib/openoffice/program/libsvx680li.so
#21 0xaf42fafd in EditEngine::SetUpdateMode () from /usr/lib/openoffice/program/libsvx680li.so
#22 0xaf4925ed in Outliner::ImplInitDepth () from /usr/lib/openoffice/program/libsvx680li.so
#23 0xaf493ff0 in Outliner::Init () from /usr/lib/openoffice/program/libsvx680li.so
#24 0xaf494556 in Outliner::Outliner () from /usr/lib/openoffice/program/libsvx680li.so
#25 0xaf8ca121 in SdrOutliner::SdrOutliner () from /usr/lib/openoffice/program/libsvx680li.so
#26 0xaf8f1013 in SdrMakeOutliner () from /usr/lib/openoffice/program/libsvx680li.so
#27 0xaf90799f in ?? () from /usr/lib/openoffice/program/libsvx680li.so
#28 0x00000001 in ?? ()
#29 0x086ce460 in ?? ()
#30 0x00000001 in ?? ()
#31 0xbfab175c in ?? ()
#32 0x01005f21 in ?? ()
#33 0xb73b1c40 in ?? () from /usr/lib/openoffice/program/libuno_sal.so.3
#34 0x086ce8b8 in ?? ()
#35 0xafdb2b88 in vtable for SvxAsianConfig () from /usr/lib/openoffice/program/libsvx680li.so
#36 0x086ce310 in ?? ()
#37 0x086cf288 in ?? ()
#38 0x086ce9ec in ?? ()
#39 0x086ce450 in ?? ()
#40 0x086ce948 in ?? ()
#41 0x00000001 in ?? ()
---Type <return> to continue, or q <return> to quit---
#42 0x00000001 in ?? ()
#43 0xafdee418 in ?? () from /usr/lib/openoffice/program/libsvx680li.so
#44 0x086ce460 in ?? ()
#45 0x00000000 in ?? ()
(gdb)

Revision history for this message
Chris Cheney (ccheney) wrote :

I am planning to get OpenOffice 2.3 into Gutsy ASAP (by next week at latest) which should solve this problem.

Thanks,

Chris Cheney

Revision history for this message
Erik Harren (linux-aceh) wrote : Re: [Bug 127944] Re: [gutsy]Open Office applications don't start

Hi Martin!

Martin Pitt wrote:
> It would be great to fix this for Tribe 4, but I do not consider it a
> release blocker. On the Ubuntu CDs it works (because ooo-gnome is
> installed), and on Kubuntu it is not installed by default anyway, so it
> does not affect the Kubuntu CDs.

I have installed Kubuntu with all four 'needed' packages ooo-gnome,
ooo-gtk, ooo-kde and mozilla-ooo and soffice only starts if i downgrade
to the previous libgtk2.0.0-2.10.x.

Any solution?

regards

Erik.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [gutsy]Open Office applications don't start

It would be great to fix this for Tribe 4, but I do not consider it a release blocker. On the Ubuntu CDs it works (because ooo-gnome is installed), and on Kubuntu it is not installed by default anyway, so it does not affect the Kubuntu CDs.

Changed in openoffice.org:
assignee: nobody → ccheney
Revision history for this message
Martin Pitt (pitti) wrote :

Not a glibc bug.

Changed in glibc:
status: New → Invalid
Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

It is installed by default on kubuntu cds, martin.

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

It is installed by default on kubuntu cds, martin, as discussed on IRC :)

Revision history for this message
Fred Hermanns (fintan) wrote :

@martin; OO It is very much the default office app in kubuntu. So if that is not a stopper what is?

Revision history for this message
Louai Al-Khanji (slougi) wrote :

@martin

I do believe it is a showstopper, as it also breaks Adobe's flash plugin inside konqueror/nspluginviewer.

Revision history for this message
Krzysztof Lichota (krzysiek-launchpad-ubuntu-com) wrote :
Download full text (14.4 KiB)

I have run into the problem 3 days ago while simple installation of bootchart. The state of the rest of the system was from 2006-06-10, I have just installed bootchart which triggered the upgrade of some packages.
I am attaching log of the upgrade which caused the problem.

I have tried dist-upgrade since today, but it doesn't help.

Here is the list of packages which I have upgraded and which caused the problem:

2007-08-05 23:49:34 upgrade zlib1g 1:1.2.3-14ubuntu1 1:1.2.3.3.dfsg-5ubuntu2
2007-08-05 23:49:34 status half-configured zlib1g 1:1.2.3-14ubuntu1
2007-08-05 23:49:34 status unpacked zlib1g 1:1.2.3-14ubuntu1
2007-08-05 23:49:34 status half-installed zlib1g 1:1.2.3-14ubuntu1
2007-08-05 23:49:34 status half-installed zlib1g 1:1.2.3-14ubuntu1
2007-08-05 23:49:34 status unpacked zlib1g 1:1.2.3.3.dfsg-5ubuntu2
2007-08-05 23:49:34 status unpacked zlib1g 1:1.2.3.3.dfsg-5ubuntu2
2007-08-05 23:49:34 status unpacked zlib1g 1:1.2.3.3.dfsg-5ubuntu2
2007-08-05 23:49:34 status half-configured zlib1g 1:1.2.3.3.dfsg-5ubuntu2
2007-08-05 23:49:41 status installed zlib1g 1:1.2.3.3.dfsg-5ubuntu2
2007-08-05 23:49:42 install liblzo2-2 <none> 2.02-3
2007-08-05 23:49:42 status half-installed liblzo2-2 2.02-3
2007-08-05 23:49:42 status unpacked liblzo2-2 2.02-3
2007-08-05 23:49:42 status unpacked liblzo2-2 2.02-3
2007-08-05 23:49:42 upgrade libgnutls13 1.6.2-1 1.6.3-1
2007-08-05 23:49:42 status half-configured libgnutls13 1.6.2-1
2007-08-05 23:49:42 status unpacked libgnutls13 1.6.2-1
2007-08-05 23:49:42 status half-installed libgnutls13 1.6.2-1
2007-08-05 23:49:42 status half-installed libgnutls13 1.6.2-1
2007-08-05 23:49:43 status unpacked libgnutls13 1.6.3-1
2007-08-05 23:49:43 status unpacked libgnutls13 1.6.3-1
2007-08-05 23:49:43 upgrade libglib2.0-0 2.13.2-0ubuntu1 2.13.7-1ubuntu4
2007-08-05 23:49:43 status half-configured libglib2.0-0 2.13.2-0ubuntu1
2007-08-05 23:49:43 status unpacked libglib2.0-0 2.13.2-0ubuntu1
2007-08-05 23:49:43 status half-installed libglib2.0-0 2.13.2-0ubuntu1
2007-08-05 23:49:43 status half-installed libglib2.0-0 2.13.2-0ubuntu1
2007-08-05 23:49:43 status unpacked libglib2.0-0 2.13.7-1ubuntu4
2007-08-05 23:49:43 status unpacked libglib2.0-0 2.13.7-1ubuntu4
2007-08-05 23:49:43 upgrade libxml2 2.6.28.dfsg-1ubuntu1 2.6.29.dfsg-1ubuntu1
2007-08-05 23:49:43 status half-configured libxml2 2.6.28.dfsg-1ubuntu1
2007-08-05 23:49:43 status unpacked libxml2 2.6.28.dfsg-1ubuntu1
2007-08-05 23:49:43 status half-installed libxml2 2.6.28.dfsg-1ubuntu1
2007-08-05 23:49:43 status half-installed libxml2 2.6.28.dfsg-1ubuntu1
2007-08-05 23:49:43 status unpacked libxml2 2.6.29.dfsg-1ubuntu1
2007-08-05 23:49:43 status unpacked libxml2 2.6.29.dfsg-1ubuntu1
2007-08-05 23:49:43 install libcroco3 <none> 0.6.1-1build2
2007-08-05 23:49:43 status half-installed libcroco3 0.6.1-1build2
2007-08-05 23:49:43 status unpacked libcroco3 0.6.1-1build2
2007-08-05 23:49:43 status unpacked libcroco3 0.6.1-1build2
2007-08-05 23:49:44 upgrade libfreetype6 2.2.1-6ubuntu1 2.3.5-1
2007-08-05 23:49:44 status half-configured libfreetype6 2.2.1-6ubuntu1
2007-08-05 23:49:44 status unpacked libfreetype6 2.2.1-6ubuntu1
2007-08-05 23:49:44 status half-installed libfreetype6 2.2...

Revision history for this message
Krzysztof Lichota (krzysiek-launchpad-ubuntu-com) wrote :

And here is the list of previous installations.

Revision history for this message
Krzysztof Lichota (krzysiek-launchpad-ubuntu-com) wrote :

And the last part, earliest installations from April.
Please note that I have installed Gutsy by upgrade from Feisty.

Revision history for this message
Martin Pitt (pitti) wrote :

Deemed as T4 blocker after all.

Revision history for this message
steph_Z (polariscorp) wrote :

installing : openoffice.org-gtk & openoffice.org-gnome worked for me.

weird

thanks for the tips

Chris Cheney (ccheney)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Seems that this originated from a change in gtk between 2.11.5 and 2.11.6. It still happens with OO.o 2.3.

There is no proper fix in sight for Tribe 4, so we have to bite the bullet and temporarily add -gtk to Kubuntu for now:

 kubuntu-meta (1.48) gutsy; urgency=low
 .
   * Refreshed dependencies
   * Added openoffice.org-gtk to desktop-recommends-i386, desktop-
     recommends-amd64, desktop-recommends-powerpc. This is a temporary
     workaround for LP #127944 for Tribe 4.
   * Added restricted-manager-kde to desktop-recommends-sparc

Moving proper fix target to Tribe 5.

Revision history for this message
Louai Al-Khanji (slougi) wrote :

ftp://ftp.gtk.org/pub/gtk/2.11 seems to have 2.11.4 as the newest version, where can I see 2.11.5 and 2.11.6?

Revision history for this message
Nicola Rosati (supernaicol) wrote : Re: [Bug 127944] Re: [gutsy] Open Office applications don't start

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Louai Al-Khanji ha scritto:
> ftp://ftp.gtk.org/pub/gtk/2.11 seems to have 2.11.4 as the newest
> version, where can I see 2.11.5 and 2.11.6?
>

Newest packages are in gutsy repositories.
Bye
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGuZCg80dn5wbXwGkRAkthAKDShWi++yXROy+NAho2FzqrpLE5CgCfdI3v
0TnZi0DwZtqBr9vPOvtawsA=
=zf41
-----END PGP SIGNATURE-----

Revision history for this message
Louai Al-Khanji (slougi) wrote :

Well, what I really wanted to do is take a look at the sourcecode and see if I can fix this.

Revision history for this message
Marco Maini (maini10) wrote :

Martin, I have tested your workaround with Openoffice 2.2 and in my Pc, Openoffice doesn't start without the package openoffice.org-gnome. I don't know what happen with Openoffice 2.3. What version will be released in Tribe 4?

Revision history for this message
David Nolden (david-nolden-ubuntu) wrote :

The same hang happens in nspluginviewer whenever showing a web-page that contains flash, and who knows how many other applications might suffer from this.

So please instead of adding workarounds that make openoffice work, instead fix the libgtk-package. What about reverting it to the version without this problem?

Adding openoffice.org-gtk does not help at all for nspluginviewer from konqueror, while installing an older libgtk package solves the whole problem, but breaks package-dependencies.

Chris Cheney (ccheney)
description: updated
Revision history for this message
Congyi Wu (congyiwu) wrote :

Arch Linux seems to ave had the exact same problem: http://www.archlinux.org/news/338/

There was a change in glib that caused openoffice and flash to hang with 100% CPU usage when used *within KDE/Qt*. On Kubuntu Gutsy (upgraded from Feisty), I can confirm the deadlocking in KDE for openoffice (I don't use gnome). Flash (nspluginviewer) hangs every time in Konqueror when I go to a page with flash in it, until I run killall nspluginviewer. Flash works fine in Firefox though.

They fixed the problem by recompiling GTK with the latest version of glib.

Revision history for this message
Jeff Anderson (jander99) wrote :
Download full text (10.3 KiB)

Here is my strace, in case it can help someone else.
Pretty much it looks to be an issue with glibc/gtk.
I'm running Kubuntu Gutsy.

jeff@lappy486:~$ strace ooffice -writer
execve("/usr/bin/ooffice", ["ooffice", "-writer"], [/* 50 vars */]) = 0
brk(0) = 0x805f000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7efa000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/tls/i686/sse2/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/tls/i686/sse2/cmov", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/tls/i686/sse2", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/tls/i686/cmov", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/tls/i686", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/tls/sse2/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/tls/sse2/cmov", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/tls/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/tls/sse2", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/tls/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/tls/cmov", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/tls", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/i686/sse2/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/i686/sse2/cmov", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/i686/sse2", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/i686/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/i686/cmov", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/i686", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/sse2/cmov/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/jeff/qt-copy/lib/sse2/cmov", 0xbfec3328) = -1 ENOENT (No such file or directory)
open("/home/jeff/qt-copy/lib/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file ...

Chris Cheney (ccheney)
description: updated
Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

This is NOT a workaround.

openoffice.org-gtk does *not* solve this, you need openoffice.org-gnome as well.

Revision history for this message
Žygimantas Beručka (zygis) wrote :

Now this upgrade to 2.3.0~src680m224-1ubuntu2 broke it for me too. Previous versions worked fine for me on GNOME, but after this one CPU usage goes to 90% or so and the only option I have is to kill it.

Revision history for this message
Christian Vogler (christian-vogler) wrote :

For what it is worth: With the latest upgrades, if I have openoffice-kde installed on AMD64, the program hangs with 100% CPU. If I deinstall openoffice-kde, the application works fine. I did NOT need to install openoffice-gnome.

Revision history for this message
Batist Paklons (batist) wrote :

This bug not only affects nspluginviewer, but also operapluginwrapper. When trying to access a flash site with opera the process operapluginwrapper goes for the 100% cpu until it dies. Then it is possible to continue browsing with flash content greyed out.

Revision history for this message
Fred Hermanns (fintan) wrote :

@Christian Vogler: I can confirm on my 32bit system. After todays update and after uninstalling openoffice-kde and openoffice-gnome OO works fine. The issues with flash in Konqueror, and Opera remain as well as the issue with acrobat reader.

Revision history for this message
Oded Arbel (oded-geek) wrote :

After installing openoffice.org-gnome (and openoffice.org-gtk), oowriter started fine. When I removed the two packages, oowriter reverted back to the previous behavior - consuming 100% in the splash screen, with this output in the console:

(process:29408): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.13.7/gobject/gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:29408): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:29408): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(I didn't get this output on the console when openoffice.org-gnome was installed). Installing openoffice.org had no effect - same glib/gdk errors and 100% CPU on splash screen.

Revision history for this message
Marco Maini (maini10) wrote :

Testing this bug on i1386 with Openoffice 2.3:
openoffice.org-gtk is always required to start;
openoffice.org-gnome is required if you have installed openoffice.org-kde. Removing both these packages, Oo works but in KDE has some appearance problems.

Changed in glib:
status: Unknown → Confirmed
Changed in kdebase:
status: Unknown → In Progress
Changed in openoffice:
status: Unknown → New
Revision history for this message
Helmut Duregger (helmutduregger) wrote :

Thanks mine got fixed.

Also had:
-------------------------------
$ openoffice

(process:5941): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.13.7/gobject/gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:5941): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:5941): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
-------------------------------

I installed "openoffice.org-gtk openoffice.org-gnome" which had "at-spi libatspi1.0-0 libxevie1" as dependency.

I am on Xubuntu Gutsy.

This fixed it for me.

Revision history for this message
Congyi Wu (congyiwu) wrote :

This probably isn't a permanent solution, since gnome-bugs #463773 make it pretty clear the problem happens because openoffice and flash aren't initializing gtk properly. Archlinux patched glib and then recompiled gtk with the patched glib to revert the changes to glib that are making openoffice deadlock, and for the time being, that might be the best solution for gutsy as well. The patch is in Archlinx's cvs repository at:

http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/lib/glib2/gtype-revert-lock.patch?cvsroot=Current&only_with_tag=CURRENT

Changed in openoffice:
status: New → Invalid
Revision history for this message
Richard Neal (linuser) wrote :

Yep just updated last night an openoffice still doesnt start, in fact it crashes and consumes all my cpu resources.

(process:21982): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.13.7/gobject/gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:21982): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:21982): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

** (process:21966): WARNING **: Unknown error forking main binary / abnormal early exit ...

Revision history for this message
Žygimantas Beručka (zygis) wrote :

Congyi Wu, I checked glib 2.13.7-1ubuntu4. The patch is in, but the issue is still persistent.

Changed in glib:
status: Confirmed → Fix Released
Revision history for this message
Chris Cheney (ccheney) wrote :

There is code that calls a gdk function before it is initialized that caused the hang. I have tested a patch to OpenOffice that corrects the problem. I will be contacting the author of the patch to see if he believes it is good enough to upload with the patch and if so will try to make another upload of OpenOffice by the end of the week.

Thanks,

Chris Cheney

Chris Cheney (ccheney)
Changed in openoffice.org2:
status: New → Invalid
Changed in gtk+2.0:
status: New → Invalid
Changed in glib:
status: Fix Released → Invalid
Revision history for this message
Stefan Fleiter (stefan-fleiter) wrote :

I assume the real problem is
http://bugzilla.gnome.org/show_bug.cgi?id=65041
Can somebody check this?

Revision history for this message
Chris Cheney (ccheney) wrote :

Please stop marking kdebase nspluginviewer bugs as duplicates of this bug, it should have its own master bug until and unless the problem is determined not to be bug in the applications themselves. I have a fix for the openoffice bug however it does not fix the kdebase bug, etc.

description: updated
Revision history for this message
Marco Maini (maini10) wrote :

Please see http://bugzilla.gnome.org/show_bug.cgi?id=463773#c10. Someone claims to have a patch for Flash crash and also for Openoffice problem. Thanks.

Revision history for this message
Matthias Klose (doko) wrote :

is the glib2.0 patch appropriate for gutsy?

Revision history for this message
Dax Solomon Umaming (knightlust) wrote :

I'm not sure if there's a fix released today regarding this bug, but today's upgrade fixed my OpenOffice problem. It's now working perfectly fine.

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

OpenOffice.org starts fine for me after the last update. Has any fix been released (status change)?

Chris Cheney (ccheney)
Changed in openoffice.org:
assignee: ccheney → nobody
status: Confirmed → Fix Released
Revision history for this message
Leonardo Gastón De Luca (leorockway) wrote :

installed openoffice.org-kde and uninstalled openoffice.org-gtk: openoffice loads without a problem!

Changed in kdebase:
status: In Progress → Fix Released
Revision history for this message
Milian Wolff (milianw) wrote :

OpenOffice worked for some days now and since the last update (08.31.07 at 22:47 in Berlin) konqueror works as well! Thank you.

Revision history for this message
Bruno (bruno666-666) wrote :

According to comments in gnome-bugs #463773, this is not a glib2.0 bug

Changed in glib2.0:
status: New → Invalid
Revision history for this message
Bruno (bruno666-666) wrote :

I confirm this bug has been fixed in the latest packages for Gutsy, both for openoffice and for nspluginviewer in Konqueror (bug #127876)

Changed in glib:
status: Invalid → Confirmed
Revision history for this message
Thomas Schlesinger (schlesix) wrote :

The bug is fixed for me, too, both in nspluginviewer and OpenOffice.

Changed in glib:
status: Confirmed → Fix Released
Revision history for this message
8200 (8200) wrote :

I have the same problem with Ubuntu 7.10 amd64 having all updates (18.10.2007 09:50) installed.

arthur@arthur-ve3200:~$ openoffice

** (process:8026): WARNING **: Unknown error forking main binary / abnormal early exit ...
arthur@arthur-ve3200:~$

Revision history for this message
Bart Verwilst (verwilst) wrote :

I have the same problem, fully updated gutsy...

Revision history for this message
sthorsen (post-sorenthorsen) wrote :

I had the problem too and it disappeared when I fixed a problem with my terminal by pressing ALT+F2 and pasting
gconftool --type float --set /desktop/gnome/font_rendering/dpi 96

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

A recent upgrade (within the last two weeks) had the same effect for me. I fixed it by reinstalling openoffice.org:
'dpkg -l openoffice.org* | grep ii | cut -d" " -f3 | tr "\n" " " | xargs sudo aptitude reinstall'

Revision history for this message
Marco Maini (maini10) wrote :

Thanks for your last comments. However, the bug described is not the same reported here. Please refer to this list https://bugs.launchpad.net/ubuntu/+bugs?field.searchtext=WARNING+**%3A+Unknown+error+forking+main+binary+%2F+abnormal+early+exit to find many bugs that look like your problem. If you think that these don't regard your issue, please report a new bug. Thanks again.

Revision history for this message
Andy Brook (javahollic) wrote :
Download full text (4.1 KiB)

Win Gutsy AMD64, fully patched, I can start Text and Spreadsheet but starting Impress (what I want!) results in :

axb@wb289l:~$ *** glibc detected *** /usr/lib/openoffice/program/soffice.bin: double free or corruption (out): 0x0000000000b79150 ***
======= Backtrace: =========
/lib/libc.so.6[0x2aab31ec3b0a]
/lib/libc.so.6(cfree+0x8c)[0x2aab31ec76fc]
/usr/lib/openoffice/program/libvclplug_gtk680lx.so[0x2aab37f2a378]
/usr/lib/openoffice/program/libvcl680lx.so(_ZN11SalGraphics22GetNativeControlRegionEjjRK6RegionjRK16ImplControlValueR16SalControlHandleRKN3rtl8OUStringERS0_SC_PK12OutputDevice+0x168)[0x2aab2dc293a8]
/usr/lib/openoffice/program/libvcl680lx.so(_ZN6Window22GetNativeControlRegionEjjRK6RegionjRK16ImplControlValueN3rtl8OUStringERS0_S8_+0x112)[0x2aab2dce0212]
/usr/lib/openoffice/program/libvcl680lx.so(_ZN7ListBox6ResizeEv+0x19f)[0x2aab2dd218ef]
/usr/lib/openoffice/program/libvcl680lx.so[0x2aab2dcc8519]
/usr/lib/openoffice/program/libvcl680lx.so(_ZN6Window4ShowEht+0xd6)[0x2aab2dcca886]
/usr/lib/openoffice/program/libsdui680lx.so[0x2aaaba2a90a9]
/usr/lib/openoffice/program/libsdui680lx.so[0x2aaaba2ab28d]
/usr/lib/openoffice/program/libsdui680lx.so[0x2aaaba2951e5]
/usr/lib/openoffice/program/libsd680lx.so[0x2aaab2c0cea0]
/usr/lib/openoffice/program/libsd680lx.so[0x2aaab2c0e14b]
/usr/lib/openoffice/program/libsfx680lx.so(_ZN8SfxShell11ExecuteSlotER10SfxRequestPK12SfxInterface+0x65)[0x2aaaadb0af75]
/usr/lib/openoffice/program/libsd680lx.so[0x2aaab2d4756b]
/usr/lib/openoffice/program/libfwk680lx.so[0x2aaaaea96ab3]
/usr/lib/openoffice/program/libsfx680lx.so[0x2aaaad970e87]
/usr/lib/openoffice/program/libsfx680lx.so(_ZN8SfxShell11ExecuteSlotER10SfxRequestPK12SfxInterface+0x65)[0x2aaaadb0af75]
/usr/lib/openoffice/program/libsfx680lx.so[0x2aaaadabd129]
/usr/lib/openoffice/program/libfwk680lx.so[0x2aaaaeb4e025]
/usr/lib/openoffice/program/libfwk680lx.so[0x2aaaaeb4fa00]
/usr/lib/openoffice/program/libfwk680lx.so[0x2aaaaea159f2]
/usr/lib/openoffice/program/libfwk680lx.so[0x2aaaaea15829]
/usr/lib/openoffice/program/libsfx680lx.so[0x2aaaadb38787]
/usr/lib/openoffice/program/libvcl680lx.so[0x2aab2dcdb1c1]
/usr/lib/openoffice/program/libvclplug_gen680lx.so(_ZN10SalDisplay21DispatchInternalEventEv+0xb6)[0x2aab38dcb826]
/usr/lib/openoffice/program/libvclplug_gtk680lx.so[0x2aab37f0b969]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1c3)[0x2aab36494fd3]
/usr/lib/libglib-2.0.so.0[0x2aab364982dd]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x6e)[0x2aab3649880e]
/usr/lib/openoffice/program/libvclplug_gtk680lx.so[0x2aab37f0d389]
/usr/lib/openoffice/program/libvcl680lx.so(_ZN11Application5YieldEb+0x3e)[0x2aab2dafa84e]
/usr/lib/openoffice/program/libvcl680lx.so(_ZN11Application7ExecuteEv+0x27)[0x2aab2dafa927]
/usr/lib/openoffice/program/soffice.bin(_ZN7desktop7Desktop4MainEv+0x1303)[0x42a553]
/usr/lib/openoffice/program/libvcl680lx.so[0x2aab2db00244]
/usr/lib/openoffice/program/libvcl680lx.so(_Z6SVMainv+0x25)[0x2aab2db00335]
/usr/lib/openoffice/program/soffice.bin(main+0xa8)[0x41d5c8]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2aab31e6fb44]
/usr/lib/openoffice/program/soffice.bin(_ZN6Window15SetPosSizePixelEllllt+0x369)[0x41d489]
======= Memory map: ====...

Read more...

Revision history for this message
H Koch (h.koch) wrote : Re: [gutsy] nspluginviewer hogs the CPU

I have 4 users (family) on my home machine - the other 3 use kde.
Almost every day the machine (3GHz core 2 duo) comes to a crawl
when 2 or more nspluginviewer processes
(presumably started by konqueror) use up all cpu time.

Similar problems have been reported by many since July 2007.
The solution seems to be known since August 2007
https://bugzilla.novell.com/show_bug.cgi?id=294385
Now the discussion seems to have ended ...

I am certainly happy that the solution is known,
but I would be nice if it also got implemented (in gutsy).
It does not help just to hear that bug X is a duplicate of bug Y.

I have been killing nspluginviewer processes for months now,
but I am not always around when this is necessary,
and my family is getting frustrated.
(To be honest, even more frustration comes from another bug,
presumably in the nvidia driver used in gutsy,
where the screen just goes black, periodically, for several minutes.)

What am I supposed to do?
Until 5 Months ago, on the previous machine, I used Debian unstable
(for several years, after many years of using Slackware).
I never had to suffer that long from any bug
before a package became available that fixed it.

If the answer is to wait each time for a new release of Ubuntu,
then I would switch back to Debian.
Another answer may be to finally get rid of kde.
(Most problems that I have encountered lately
are due to bad behavior of kde in multi-user environments.)

I am open to good suggestions.

Revision history for this message
h220 (gif-220hex) wrote :

I agree, this is a very unfortunate situation which cripples web-surfing using Konqueror.
My recent upgrade to Hardy only made things worse :((

Changed in glib:
importance: Unknown → Critical
Changed in kdebase (Suse):
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.