Page 1 of 1

:/ OpenOffice doesn't work with SCIM

Posted: Fri Jul 13, 2007 6:20 pm
by subversiveasset2.0
I don't know how to get any specific information on this, but whenever I try to use openoffice (2.2) in cassandra, the splash screen comes up, and it loads about 40% of the way...then the splash screen disappears and the program just doesn't load.

I've tried loading it via the terminal, but it says that there is no command for openoffice.

Also, in terminal, the /usr/bin/openoffice is highlighted with red font over black background...so I guess that means something's wrong with it?

I've tried uninstalling and reinstalling with synaptic, uninstalling and reinstalling with apt-get, restarting, but it doesn't load.

Re: :/ OpenOffice just doesn't want to work for me

Posted: Fri Jul 13, 2007 6:47 pm
by scorp123
subversiveasset2.0 wrote: I've tried loading it via the terminal, but it says that there is no command for openoffice.
You were using the wrong commands. :wink:

Open a terminal and then type two small "o": oo and now hit TAB twice! ... The terminal's auto-completion should suggest these options (example taken from my system):
~ > oo {TAB TAB}
oobase oocalc oodraw ooffice oofromtemplate ooimpress oomath ooweb oowriter

As you can see the commands for e.g. the "OpenOffice Writer" would be oowriter, the one for the "OpenOffice Calculator" would be oocalc, and so on.

Try those from within a terminal and give us any error messages they spit out, OK?

subversiveasset2.0 wrote: Also, in terminal, the /usr/bin/openoffice is highlighted with red font over black background
You are probably seeing a broken symbolic link. If you wonder what a file does or what it is, execute the file command on it, e.g. file /usr/bin/openoffice

The answer you should get is this: "openoffice: broken symbolic link to `ooo-wrapper' "

It appears this is a known bug in Ubuntu "Feisty" ... and Linux Mint "Cassandra" is based on Ubuntu 7.04 "Feisty":
https://bugs.launchpad.net/ubuntu/+sour ... bug/112382

And the bug is that the package openoffice.org-common creates a dead symbolic link that points from /usr/bin/openoffice to the non-existing /usr/bin/ooo-wrapper ...

The other oo* commands should nontheless work though, e.g. oocalc, oowriter, ooffice, oodraw, and so on.

Posted: Fri Jul 13, 2007 6:54 pm
by subversiveasset2.0
Ok, so now that I can do it via terminal, here's everything I get from using oowriter.

Code: Select all

 oowriter
*** glibc detected *** /usr/lib/openoffice/program/soffice.bin: free(): invalid pointer: 0x080d0a28 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb6caa7cd]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb6cade30]
/usr/lib/openoffice/program/libuno_sal.so.3(rtl_freeMemory+0x1d)[0xb73020bd]
/usr/lib/openoffice/program/soffice.bin[0x809192e]
/usr/lib/openoffice/program/soffice.bin(_ZdlPv+0x26)[0x8091966]
/usr/lib/libscim-1.0.so.8[0xa9783156]
/usr/lib/libscim-1.0.so.8(_ZN4scim20scim_get_module_listERSt6vectorISsSaISsEERKSs+0x37)[0xa9783f77]
/usr/lib/libscim-1.0.so.8(_ZN4scim29scim_get_imengine_module_listERSt6vectorISsSaISsEE+0x45)[0xa977ef05]
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so[0xa9824f7b]
/usr/lib/libgobject-2.0.so.0(g_type_class_ref+0x381)[0xb5cb3b41]
/usr/lib/libgobject-2.0.so.0(g_object_newv+0xa2f)[0xb5c9a1cf]
/usr/lib/libgobject-2.0.so.0(g_object_new_valist+0x21f)[0xb5c9a5ef]
/usr/lib/libgobject-2.0.so.0(g_object_new+0x40)[0xb5c9a7a0]
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so(_Z23gtk_im_context_scim_newv+0x67)[0xa9819b57]
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so(im_module_create+0x3c)[0xa982927c]
/usr/lib/libgtk-x11-2.0.so.0(_gtk_im_module_create+0xb9)[0xb5791d29]
/usr/lib/libgtk-x11-2.0.so.0[0xb579293b]
/usr/lib/libgtk-x11-2.0.so.0[0xb5792b39]
/usr/lib/libgtk-x11-2.0.so.0(gtk_im_context_set_client_window+0x4e)[0xb578ff0e]
/usr/lib/libgtk-x11-2.0.so.0[0xb573971f]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb5ca19d9]
/usr/lib/libgobject-2.0.so.0[0xb5c92e49]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xb5c9462b]
/usr/lib/libgobject-2.0.so.0[0xb5ca559a]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb5ca6627]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb5ca67e9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_realize+0xba)[0xb58cdbea]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_set_parent+0x1de)[0xb58ce1ce]
/usr/lib/libgtk-x11-2.0.so.0(gtk_fixed_put+0xd3)[0xb5766ec3]
/usr/lib/libgtk-x11-2.0.so.0[0xb5766f08]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__OBJECT+0x59)[0xb5ca0ee9]
/usr/lib/libgobject-2.0.so.0[0xb5c92e49]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xb5c9462b]
/usr/lib/libgobject-2.0.so.0[0xb5ca559a]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb5ca6627]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb5ca67e9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_add+0x12c)[0xb571d1bc]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb5a002bd]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb5a02043]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb5a0cabd]
/usr/lib/openoffice/program/libvcl680li.so[0xb7e5f285]
/usr/lib/openoffice/program/libvcl680li.so[0xb7dec32b]
/usr/lib/openoffice/program/libvcl680li.so(_ZN11ModalDialogC2EP6WindowRK5ResId+0x67)[0xb7decd57]
/usr/lib/openoffice/program/libsvt680li.so(_ZN12WizardDialogC2EP6WindowRK5ResIdhs+0x3e)[0xb78b999e]
/usr/lib/openoffice/program/libsvt680li.so(_ZN3svt14OWizardMachineC2EP6WindowRK5ResIdmhhs+0x4a)[0xb788b1da]
/usr/lib/openoffice/program/libsvt680li.so(_ZN3svt13RoadmapWizardC2EP6WindowRK5ResIdmS5_h+0x4f)[0xb788855f]
/usr/lib/openoffice/program/libspl680li.so[0xa992d926]
/usr/lib/openoffice/program/libspl680li.so[0xa9924024]
/usr/lib/openoffice/program/soffice.bin(_ZN7desktop7Desktop4MainEv+0xd59)[0x806bc39]
/usr/lib/openoffice/program/libvcl680li.so[0xb7c6cecc]
/usr/lib/openoffice/program/libvcl680li.so(_Z6SVMainv+0x35)[0xb7c6cfd5]
/usr/lib/openoffice/program/soffice.bin(main+0x65)[0x805ff85]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb6c58ebc]
/usr/lib/openoffice/program/soffice.bin(__gxx_personality_v0+0x249)[0x805fe11]
======= Memory map: ========
08048000-0809c000 r-xp 00000000 08:05 14827      /usr/lib/openoffice/program/soffice.bin
0809c000-0809e000 rw-p 00053000 08:05 14827      /usr/lib/openoffice/program/soffice.bin
0809e000-08378000 rw-p 0809e000 00:00 0          [heap]
a9600000-a9621000 rw-p a9600000 00:00 0
a9621000-a9700000 ---p a9621000 00:00 0
a971b000-a97ef000 r-xp 00000000 08:05 8673       /usr/lib/libscim-1.0.so.8.1.0
a97ef000-a97fd000 rw-p 000d4000 08:05 8673       /usr/lib/libscim-1.0.so.8.1.0
a980d000-a982e000 r-xp 00000000 08:05 10788      /usr/lib/gtk-2.0/2.10.0/imm
root@andrewspriggs-laptop:/home/andrewspriggs# oowriter
*** glibc detected *** /usr/lib/openoffice/program/soffice.bin: free(): invalid pointer: 0x080d0a28 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb6d1a7cd]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb6d1de30]
/usr/lib/openoffice/program/libuno_sal.so.3(rtl_freeMemory+0x1d)[0xb73720bd]
/usr/lib/openoffice/program/soffice.bin[0x809192e]
/usr/lib/openoffice/program/soffice.bin(_ZdlPv+0x26)[0x8091966]
/usr/lib/libscim-1.0.so.8[0xa97f3156]
/usr/lib/libscim-1.0.so.8(_ZN4scim20scim_get_module_listERSt6vectorISsSaISsEERKSs+0x37)[0xa97f3f77]
/usr/lib/libscim-1.0.so.8(_ZN4scim29scim_get_imengine_module_listERSt6vectorISsSaISsEE+0x45)[0xa97eef05]
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so[0xa9894f7b]
/usr/lib/libgobject-2.0.so.0(g_type_class_ref+0x381)[0xb5d23b41]
/usr/lib/libgobject-2.0.so.0(g_object_newv+0xa2f)[0xb5d0a1cf]
/usr/lib/libgobject-2.0.so.0(g_object_new_valist+0x21f)[0xb5d0a5ef]
/usr/lib/libgobject-2.0.so.0(g_object_new+0x40)[0xb5d0a7a0]
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so(_Z23gtk_im_context_scim_newv+0x67)[0xa9889b57]
/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so(im_module_create+0x3c)[0xa989927c]
/usr/lib/libgtk-x11-2.0.so.0(_gtk_im_module_create+0xb9)[0xb5801d29]
/usr/lib/libgtk-x11-2.0.so.0[0xb580293b]
/usr/lib/libgtk-x11-2.0.so.0[0xb5802b39]
/usr/lib/libgtk-x11-2.0.so.0(gtk_im_context_set_client_window+0x4e)[0xb57fff0e]
/usr/lib/libgtk-x11-2.0.so.0[0xb57a971f]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb5d119d9]
/usr/lib/libgobject-2.0.so.0[0xb5d02e49]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xb5d0462b]
/usr/lib/libgobject-2.0.so.0[0xb5d1559a]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb5d16627]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb5d167e9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_realize+0xba)[0xb593dbea]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_set_parent+0x1de)[0xb593e1ce]
/usr/lib/libgtk-x11-2.0.so.0(gtk_fixed_put+0xd3)[0xb57d6ec3]
/usr/lib/libgtk-x11-2.0.so.0[0xb57d6f08]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__OBJECT+0x59)[0xb5d10ee9]
/usr/lib/libgobject-2.0.so.0[0xb5d02e49]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xb5d0462b]
/usr/lib/libgobject-2.0.so.0[0xb5d1559a]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb5d16627]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb5d167e9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_container_add+0x12c)[0xb578d1bc]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb5a702bd]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb5a72043]
/usr/lib/openoffice/program/libvclplug_gtk680li.so[0xb5a7cabd]
/usr/lib/openoffice/program/libvcl680li.so[0xb7ecf285]
/usr/lib/openoffice/program/libvcl680li.so[0xb7e5c32b]
/usr/lib/openoffice/program/libvcl680li.so(_ZN11ModalDialogC2EP6WindowRK5ResId+0x67)[0xb7e5cd57]
/usr/lib/openoffice/program/libsvt680li.so(_ZN12WizardDialogC2EP6WindowRK5ResIdhs+0x3e)[0xb792999e]
/usr/lib/openoffice/program/libsvt680li.so(_ZN3svt14OWizardMachineC2EP6WindowRK5ResIdmhhs+0x4a)[0xb78fb1da]
/usr/lib/openoffice/program/libsvt680li.so(_ZN3svt13RoadmapWizardC2EP6WindowRK5ResIdmS5_h+0x4f)[0xb78f855f]
/usr/lib/openoffice/program/libspl680li.so[0xa999d926]
/usr/lib/openoffice/program/libspl680li.so[0xa9994024]
/usr/lib/openoffice/program/soffice.bin(_ZN7desktop7Desktop4MainEv+0xd59)[0x806bc39]
/usr/lib/openoffice/program/libvcl680li.so[0xb7cdcecc]
/usr/lib/openoffice/program/libvcl680li.so(_Z6SVMainv+0x35)[0xb7cdcfd5]
/usr/lib/openoffice/program/soffice.bin(main+0x65)[0x805ff85]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb6cc8ebc]
/usr/lib/openoffice/program/soffice.bin(__gxx_personality_v0+0x249)[0x805fe11]
======= Memory map: ========
08048000-0809c000 r-xp 00000000 08:05 14827      /usr/lib/openoffice/program/soffice.bin
0809c000-0809e000 rw-p 00053000 08:05 14827      /usr/lib/openoffice/program/soffice.bin
0809e000-08355000 rw-p 0809e000 00:00 0          [heap]
a9600000-a9621000 rw-p a9600000 00:00 0
a9621000-a9700000 ---p a9621000 00:00 0
a978b000-a985f000 r-xp 00000000 08:05 8673       /usr/lib/libscim-1.0.so.8.1.0
a985f000-a986d000 rw-p 000d4000 08:05 8673       /usr/lib/libscim-1.0.so.8.1.0
a987d000-a989e000 r-xp 00000000 08:05 10788      /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so
a989e000-a989f000 rw-p 00021000 08:
** (process:8363): WARNING **: Unknown error forking main binary / abnormal early exit ...


And here's what I think the error is.

======= Memory map: ========
08048000-0809c000 r-xp 00000000 08:05 14827 /usr/lib/openoffice/program/soffice.bin
0809c000-0809e000 rw-p 00053000 08:05 14827 /usr/lib/openoffice/program/soffice.bin
0809e000-08355000 rw-p 0809e000 00:00 0 [heap]
a9600000-a9621000 rw-p a9600000 00:00 0
a9621000-a9700000 ---p a9621000 00:00 0
a978b000-a985f000 r-xp 00000000 08:05 8673 /usr/lib/libscim-1.0.so.8.1.0
a985f000-a986d000 rw-p 000d4000 08:05 8673 /usr/lib/libscim-1.0.so.8.1.0
a987d000-a989e000 r-xp 00000000 08:05 10788 /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so
a989e000-a989f000 rw-p 00021000 08:
** (process:8363): WARNING **: Unknown error forking main binary / abnormal early exit ...

Posted: Fri Jul 13, 2007 7:09 pm
by scorp123
OK, dpkg has more info:

dpkg -S /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so
scim-gtk2-immodule: /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so

So this means that the file "/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so" belongs to this package: scim-gtk2-immodule

And it seems like this package "scim-gtk2-immodule" got corrupted on your system somehow? Can you open up e.g. Synaptic and have this package completely purged and then reinstall it again? And then check if this changes anything?

Also, can you please have your computer's memory checked? I am a little bit puzzled about the memory errors you get early on, e.g. "free(): invalid pointer: 0x080d0a28 *** " ... Do you only have troubles with OpenOffice or also with other programs, e.g. Firefox? :?

Posted: Fri Jul 13, 2007 7:16 pm
by subversiveasset2.0
ah, completely uninstalling it works.

unfortunately, I need support for chinese characters sometimes and that's what scim allows me to do :/ But when I reinstall scim and scim-gtk2-immodule, I get that error again, so that must be the cause.

uh huh

Posted: Thu Aug 16, 2007 8:09 pm
by Cubit
I have experienced everything that subversive has described. Doing a complete uninstall of that package and related packages fixes the problem, but I too need to be able to type in Japanese. Does anyone have any insights into this bug? It is a big problem for internationalization! Thanks!

Posted: Thu Aug 16, 2007 8:20 pm
by Cubit
Just FYI, this problem happened for me while running Mint 3.0 Cassandra XFCE community edition. Hmm

Posted: Fri Aug 17, 2007 7:45 am
by contents
This happened to me, too, just a couple of days ago, just as I was trying to show open office in Cassandra 3.0 standard edition to a Chinese friend of mine. I also use scim for Chinese.

Posted: Fri Aug 17, 2007 3:14 pm
by contents
It looks like ubuntu users are having this problem, too:

http://ubuntuforums.org/showthread.php? ... openoffice