18 June 2008

Ubuntu Hardy broke openoffice.org and it won't start, openoffice.org-gtk is to blame!

Yesterday an upgrade for openoffice.org came into the Ubuntu 8.04 repository. After the upgrade openoffice would no longer load. It sounds like this might be exclusive to the AMD64 architecture install. I ran it from a terminal and got this error:

javaldx: Could not find a Java Runtime Environment!
dawithers@onyx:~$ Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7fc933b1e97c]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x15) [0x7fc933b1ea15]
#2 /usr/lib/libX11.so.6 [0x7fc9377e8323]
#3 /usr/lib/libX11.so.6(XCreateWindow+0x44) [0x7fc9377dfd54]
#4 /usr/lib/libgdk-x11-2.0.so.0(gdk_window_new+0x395) [0x7fc9336c8c05]
#5 /usr/lib/libgtk-x11-2.0.so.0 [0x7fc92ed574c8]
#6 /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x10f) [0x7fc932b5cbcf]
#7 /usr/lib/libgobject-2.0.so.0 [0x7fc932b70386]
#8 /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x875) [0x7fc932b720d5]
#9 /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83) [0x7fc932b72483]
#10 /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_realize+0x77) [0x7fc92ed48957]
#11 /usr/lib/openoffice/program/libvclplug_gtk680lx.so [0x7fc92f10076d]
#12 /usr/lib/openoffice/program/libvclplug_gtk680lx.so [0x7fc92f10116a]
#13 /usr/lib/openoffice/program/libvclplug_gtk680lx.so [0x7fc92f10182b]
#14 /usr/lib/openoffice/program/libvclplug_gtk680lx.so [0x7fc92f0d9f64]
#15 /usr/lib/openoffice/program/libvcl680lx.so [0x7fc93b0854ed]
#16 /usr/lib/openoffice/program/libvcl680lx.so [0x7fc93b01a322]
#17 /usr/lib/openoffice/program/libvcl680lx.so(_ZN9TabDialogC2EP6WindowRK5ResId+0x 5f) [0x7fc93b0571cf]
#18 /usr/lib/openoffice/program/libsvx680lx.so [0x7fc927d89084]
#19 /usr/lib/openoffice/program/libsvx680lx.so [0x7fc927f5ddb4]

The javaldx: Could not find a Java Runtime Environment! error was resolved by going into Synaptic and marking the openoffice.org package. This package installed a handful of others which corrected that problem.

After doing a purge of all openoffice.org packages I reinstalled them and found the culprite to be openoffice.org-gtk. If you remove this package it will also require the removal of openoffice.org-gnome. But after those are removed open office will run. It will just lack the gnome theme that we are used to. I hope someone fixes this.

Here is the bug report: https://bugs.launchpad.net/ubuntu/+source/openoffice.org-amd64/+bug/236676

And here is a forum thread: http://ubuntuforums.org/showthread.php?t=833440


  1. Same problem on x86.

    8.04 was not ready for release. No idea why they released it..

  2. They released it because they are backed up by a corporation and they were on a schedule. It wasn't ready for release, they set too high of expectations and released a buggy product. Just because it is a LTS version doesn't mean they should release early because they have longer to debug.