Openoffice.org crashes on "Save"

Bug #58492 reported by Rodrigo Garcia Gonzalez
This bug report is a duplicate of:  Bug #58508: cant save under edgy. Edit Remove
14
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Invalid
Undecided
Matthias Klose
openoffice.org-amd64 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org

I'm using Ubuntu Edgy, and OpenOffice.org 2.0.3-4ubuntu2.

Everytime i try to save a document (either with the "Save" button, Ctrl+S or closing the window, and clicking on "Save" in the alert window) OpenOffice crashes, and restarts.

Then, it tries to recover the document, but when you try to save the recovered document, it crashes again.

OO.org is not giving any output in console.

Revision history for this message
Rodrigo Garcia Gonzalez (nibblesmx) wrote :

PS. I'm using openoffice.org in a i686 machine. I dunno why amd64 appeared in the package name

Revision history for this message
Rocco Stanzione (trappist) wrote :

I can also confirm this on amd64. It seems to hang/crash like this any time it tries to show a dialog like file, print, etc.

Changed in openoffice.org-amd64:
status: Unconfirmed → Confirmed
Revision history for this message
Rocco Stanzione (trappist) wrote :

I remember seeing another similar bug where this only happened on KDE. If anyone can confirm that for this bug, I'll try to track that bug down and dupe this one.

Revision history for this message
legranblon (c-legranblon) wrote :

It's my second day of use of kubuntu 6.06lts. The box had been up the all day (since 8:00 AM) and openoffice began to crash this day at about 6:00 PM, when I try to insert an image / try to save as the file, the whole screen freezes while the music continue and I have to killl soffice.bin (but ctrl-alt-echap doesn't works) to use KDE. Even if I relaunch it whith an empty file, it crashes repeatidly on the same way.

I use a 32bits 6.06 kubuntu on an amd64 processor, openoffice 2.0.2

I've no idea where to look at to give more informations since dmesg, syslog nor Xorg.0.log give any related errors or warnings.

Revision history for this message
Allison Karlitskaya (desrt) wrote :

Confirm.

Here's a backtrace:
#0 0xb5c488da in dbus_malloc () from /usr/lib/libdbus-1.so.2
#1 0xb5c24f78 in dbus_connection_ref () from /usr/lib/libdbus-1.so.2
#2 0xb5c3edf5 in dbus_watch_handle () from /usr/lib/libdbus-1.so.2
#3 0xb5c267a3 in dbus_connection_dispatch () from /usr/lib/libdbus-1.so.2
#4 0xb5c5751d in dbus_server_setup_with_g_main ()
   from /usr/lib/libdbus-glib-1.so.2
#5 0xb5bb2872 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6 0xb5bb584f in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#7 0xb5bb5db5 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8 0xb61b6555 in ?? () from /usr/lib/openoffice/program/libvclplug_gtk680li.so
#9 0x00000000 in ?? ()
(gdb)

Revision history for this message
Allison Karlitskaya (desrt) wrote :

the problem is that openoffice is linked against libdbus-1-2 and the glib bindings are linked against libdbus-1-3.

because of the flat elf namespace, however the calls from the glib bindings land up being serviced by the functions of the same name in libdbus-1-2

*crash*

Revision history for this message
Adam Benzan (adam-benzan) wrote :

removing the openoffice.org-gtk and openoffice.org-gnome packages results in a workable, yet hideous office suite.

Revision history for this message
Allison Karlitskaya (desrt) wrote :

better workaround for now:

sudo ln -sf libdbus-1.so.3.0.0 /usr/lib/libdbus-1.so.2

it appears that openoffice is the only thing to still depend on libdbus-1-2 so this shouldn't break anything else....

Revision history for this message
Allison Karlitskaya (desrt) wrote :

from looking at the openoffice.org source package it looks like this problem will be solved if someone just kicks off a new build of openoffice.org

openoffice links against dbus but isn't too picky about the version it gets and it uses ${shlibs:Depends} to decide what version of the package it depends on. if rebuilt today it should automatically depend on the new dbus library version and everything should be ok.

Revision history for this message
Allison Karlitskaya (desrt) wrote :

k. i just installed pbuilder. i'll leave it run overnight.

let's see how this goes :)

Revision history for this message
Rodrigo Garcia Gonzalez (nibblesmx) wrote :

Ryan, your workaround is perfect. Thanks a lot

Revision history for this message
Allison Karlitskaya (desrt) wrote :

rebuilding fixes the problem.

Revision history for this message
Bryan Forbes (bryanforbes) wrote :

As a temporary work-around, can we get LD_PRELOAD=/usr/lib/libdbus-1.so.3 put somewhere in the openoffice startup scripts so users don't have to link over libdbus-1-2's libs? I've found that it works quite well.

Revision history for this message
Allison Karlitskaya (desrt) wrote :

No. Doing so would require doing a new upload of oo.o at which point the problem will be fixed for real anyway.

Revision history for this message
Aurelien Naldi (aurelien.naldi) wrote :

An less hideous workaround if you are the only user of the system is to use openoffice's dialog for open/save (in the "general" section of the options).
Anyway I am happy to learn that a rebuild is sufficient to get back gnome's save dialog!

Revision history for this message
wlx (wangliangxu) wrote :

So, has this work been updated to the repository?

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

fixed in 2.0.4 rc1

Changed in openoffice.org-amd64:
assignee: nobody → doko
status: Confirmed → In Progress
Revision history for this message
Alberto Milone (albertomilone) wrote :

I have the same problem in Ubuntu Edgy 6.10 (using GNOME)
 openoffice.org-writer version 2.0.3-4ubuntu2

Revision history for this message
Alberto Milone (albertomilone) wrote :

Typing "sudo ln -sf libdbus-1.so.3.0.0 /usr/lib/libdbus-1.so.2" solves the problem

Revision history for this message
Bruce Cowan (bruce89-deactivatedaccount) wrote :

Thanks for the bug report. This particular bug has already been reported
into our bug tracking system, but please feel free to report any further
bugs you find.

Changed in openoffice.org:
status: In Progress → Rejected
Revision history for this message
Bruce Cowan (bruce89-deactivatedaccount) wrote :

Sorry about the above, I was trying to mark this as a duplicate of bug #58508.

Changed in openoffice.org:
status: Rejected → In Progress
status: In Progress → Rejected
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.