[Feisty] OpenOffice 2.2(rc3) Document Conversion Wizard crashes

Bug #93002 reported by NoOp
60
Affects Status Importance Assigned to Milestone
openoffice.org (Debian)
Fix Released
Undecided
Unassigned
openoffice.org (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Feisty by Philipp Schlesinger
Nominated for Gutsy by Philipp Schlesinger

Bug Description

Binary package hint: openoffice.org

Ubuntu Feisty Herd5
kernel: 2.6.20-11-generic
OOo Writer: OpenOffice.org 2.2.0rc3oof680m10-0ubuntu2, Thu Mar 8 14:02:29 UTC 2007

Just tried the File|Wizards|Document
Converter & it opens a OOo Basic error:

Inadmissable value or data type.
Index out of range

Highlighted is a section under Sub GetApplResourceArray(StartResIndex etc
...
  BigArray(a) = GetResText(i)

CVE References

Revision history for this message
NoOp (glgxg) wrote :

Verified that this does *not* occur using installed 2.2(rc3) code from the openoffice.org website.

Process:
- remove ubuntu-desktop & all instances of Ubuntu openoffice.
- download OOo 2.2(rc3) code from http://download.openoffice.org/680/index.html
- convert RPM to deb using alien
- install resulting deb files via dpkg
- install desktop-integration deb
- Applications|Office|Openoffice.org Writer

Test Document Conversion Wizard: works properly in the non-Ubuntu version.

Revision history for this message
Chris Burgan (cburgan) wrote :

I should also mention that I attempted to recreate this on a 2.2 backport to dapper and was unable to recreate it.

Revision history for this message
Chris Burgan (cburgan) wrote :

Triaging multiple bugs at once is a bad idea... i CAN reproduce this on dapper backport. Marking as confirmed.

Changed in openoffice.org:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Philipp Schlesinger (philipp-sadleder) wrote :

In Debian the problem got fixed by one of the following two uploads:

openoffice.org (2.2.0-6) unstable; urgency=low

  * ooo-build:
    - update (r9346)
      + jvmfwk-gij-paths.diff: add /gcj-4.1-71/libjvm.so to fix FTBFS with
        new libgcj7-1
  * debian/rules:
    - stop creating a xt.jar symlink (closes: #412671)

 -- Rene Engelhard <email address hidden> Fri, 4 May 2007 23:22:16 +0200

openoffice.org (2.2.0-5) unstable; urgency=low

  * ooo-build:
    - switch to ooo-build-2-2 branch
    - update (r9331)
      + adds crashfix for impress crashing with STLport5.1 on exit
        (closes: #421297)
  * debian/control.in:
    - add forgotten Conflicts to -common against older -writer etc due to the
      wrapper scripts/ooqstart changes
    - make new -base,-writer,-mobiledev,-officebean pre-depend on new
      -java-common, make java-common conflict against old versions of above
      packages.
  * debian/rules:
    - move oovbaapi.rdb into -calc as the rest of VBA stuff is there
    - remove unneeded updatefeed.uno.so
    - make classes a normal dir again (and add symlinks in it) instead of it
      being a symlink itself since it breaks the UNO bootstrap mechanism
      some stuff (including extensions) seem to rely on...
    - add ice* to senddoc again, got lost with the upgrade to 2.2.0
      (closes: #411387)
    - install tenmplate.desktop as ooo-template.desktop
    - handle new libgcj7-1-awt...
    - fix links to the DevelopersGuide (closes: #420803)
    - fix "openoffice" command, symlink to ooffice instead of gone ooo-wrapper
      (closes: #421030)
    - fix acor_*.dat fixing (closes: #401651)
    - cleanup:
      - split binary-* targets, remove binary-common
      - remove makebinariestar, we now have a -dbg
    - fix some links in the UDK Java docs
  * debian/libuno-cil.installcligac.in:
    - remove cli_uno_bridge.dll
  * debian/openoffice.org-{base,writer,officebean,filter-mobiledev,java-common,dev}.preinst.in:
    - add; remove classes symlink if found since dpkg doesn't replace a
      symlink with a dir
  * debian/template.desktop.in:
    - add from Ubuntu (changed in Debian to read "OpenOffice.org"
      instead of a "OpenOffice.org From Template" and remove now obsolete
      translation; and to show it) per user requests...
  * debian/rules, debian/udk-{java,common,cpp}.ref.in:
    - register UDK documentation with doc-base (closes: #420805)
  * debian/control.in, debian/rules:
    - don't depend on libxerces2-java-gcj, libxalan2-java-gcj on etch
      backports

 -- Rene Engelhard <email address hidden> Wed, 2 May 2007 20:12:24 +0200

Changed in openoffice.org:
status: Unconfirmed → Fix Released
Revision history for this message
NoOp (glgxg) wrote :

Any status/update?

It appears that many /most of the Ubuntu'ized OOo 2.2 wizards, even with fully updated Feisty 7.04, are seriously broken:

OOo Base
- Query Wizard - doesn't work
- Forms Wizard - doesnt' work
- Reports Wizard - doesn't work

Even with Sun JRE 1.6.0x installed - none work.

When will this be fixed?

My current recommendation is to uninstall *all* Ubuntu OOo and reinstall from the openoffice.org files... those do work.

Revision history for this message
alfrednutile (alfred-rivervalleywebhosting) wrote :

Having trouble here too.
No OO updates seen in my update manager
My version of OO is 2.2.0
Ubuntu Feisty is the Version of the OS
if you need any more details just let me know.
I have done the above to replace it totally and that helps but I would like to fix it via the Ubuntu repository.
Thanks

Revision history for this message
Philipp Schlesinger (philipp-sadleder) wrote :

Hi, as stated in my previous comment in https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/93002/comments/4, the problem got resolved for Debian.
I think the following changelog entry is relevant:

openoffice.org (2.2.0-5) unstable; urgency=low
[...]
    - make classes a normal dir again (and add symlinks in it) instead of it
      being a symlink itself since it breaks the UNO bootstrap mechanism
      some stuff (including extensions) seem to rely on...
[...]

In Debian, /usr/lib/openoffice/program/classes is a directory containing symlinks to /usr/share/java/openoffice/, whereas in Ubuntu Feisty /usr/lib/openoffice/program/classes is _itself_ a symlink to /usr/share/java/openoffice/, which seems to break the document conversion wizard and other wizards as well.

Revision history for this message
NoOp (glgxg) wrote : Re: [Bug 93002] Re: [Feisty] OpenOffice 2.2(rc3) Document Conversion Wizard crashes

On 07/11/2007 05:30 AM, Philipp Sadleder wrote:
> Hi, as stated in my previous comment in
> https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/93002/comments/4,
> the problem got resolved for Debian. I think the following changelog
> entry is relevant:
>
> openoffice.org (2.2.0-5) unstable; urgency=low [...] - make classes a
> normal dir again (and add symlinks in it) instead of it being a
> symlink itself since it breaks the UNO bootstrap mechanism some stuff
> (including extensions) seem to rely on... [...]
>
> In Debian, /usr/lib/openoffice/program/classes is a directory
> containing symlinks to /usr/share/java/openoffice/, whereas in Ubuntu
> Feisty /usr/lib/openoffice/program/classes is _itself_ a symlink to
> /usr/share/java/openoffice/, which seems to break the document
> conversion wizard and other wizards as well.
>

Interesting that a 92.5Mb fix in OOo is out today:

Launchpad-Bugs-Fixed: 75478 90513 106186
Changes:
 openoffice.org (2.2.0-1ubuntu4) feisty-security; urgency=low
 .
   * ooo-build/patches/src680/sw.rtf.prtdata.diff: fix RTF parser heap
     overflow (CVE-2007-0244).
   * Avoid wrong document recovery attempt after fullscreen presentations
     in Impress. Closes LP: #90513.
   * Do not hide the OOo Draw menu item. Closes LP: #75478.
   * Fix icon style selection to not select a style which is not installed.
     Closes LP: #106186.

But nothing to fix this bug.

Revision history for this message
alfrednutile (alfred-rivervalleywebhosting) wrote :

Still having this no wizard problem.
It works when I am using a Wizard to make a table
BUT not for Forms/Reports/Queries
Thanks

Revision history for this message
evertek (mellowmanace88) wrote :

Alfrednutile said on 2007-08-01: (permalink)

Still having this no wizard problem.
It works when I am using a Wizard to make a table
BUT not for Forms/Reports/Queries
Thanks

Hi Alfrednutile,

I had the same problem in Ubuntu Feisty and figured it out that the problem is caused by using the wrong java JRE with openoffice 2.2.0.

I solved this problem by installing Openoffice 2.2.1 with JRE. First I deinstalled Openoffice 2.2.0 by running the following command (you can do this in synaptic too):
sudo apt-get remove openoffice.org-core

Then I downloaded the "Openoffice 2.2.1 with JRE.tar.gz" package from openoffice.org, saved it on my harddisk in my download folder as "ooo.tar.gz". At the command line I used following commands :

sudo cp ooo.tar.gz /opt (this will copy the .tar.gz file to your /opt directory)

cd /opt

sudo tar zxvf ooo.tar.gz (this will unpack the tarball in the /opt directory)

a new directory is created in /opt, mine was named "OOF680_m18_native_packed-1_nl.9161" because I installed openoffice in dutch, if you install openoffice in english, the directory will have another name, but also beginning with "OOF680". Navigate to this directory by using the "cd" command. You will see that there's an RPMS directory. In this directory you find the Red Hat Package Manager files or RPM files. You can convert these RPM files to Debian (DEB) packages by using Alien. Use following commands :

sudo apt-get install alien (this will install the Alien package, used to convert RPM to DEB)

sudo alien *.rpm (this will convert all RPM files to DEB files)

sudo dpkg -i *.deb (this will install all DEB files in the directory)

In the same directory, there is also a directory called "desktop-migration", navigate to it. Then use the alien command again and install the deb packages :

sudo alien *.rpm

sudo dpkg -i *.deb

Now check if the java package is installed. Open Synaptic and search for "JRE". There is one package named jre (version 1.6.0-1), be sure you have the right one (if you click on the description you will see 'Converted from a rpm package by alien'). Install this package via synaptic if it is not already done.

Now start Openoffice 2.2.1 and you will see that the forms / reports / queries wizards are working.

ubuntu forever,

Kris

Revision history for this message
ntrfug (ntrfug) wrote :

This bug is still not fixed for Feisty, using openoffice.org 2.2.0-1ubuntu4.

I installed the openoffice.org meta-package to fix another bug, but this one remains.

I'm using sun-java-jre version 6-00-2ubuntu2.

Revision history for this message
tlvince (tlvince) wrote :

I followed this guide: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/93002/comments/10

with the newest OOo and it works lovely!

I also deleted the in my case (OOG680_m5_native_packed-1_en-US.9221) with:

sudo rm -rf OOG680_m5_native_packed-1_en-US.9221

and the tar.gz files

Revision history for this message
NoOp (glgxg) wrote :

On 09/23/2007 08:02 AM, Gladstone wrote:
> I followed this guide:
> https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/93002/comments/10
>

Note that OpenOffice.org now provide a .deb package, see:
http://download.openoffice.org/2.3.0/index.html
[Directly under the RPM is a link for 2.2.13 (DEB: 135MB)]
You no longer need to use alien & convert the rpm's before installing.

However, I find it troublesome that this bug still exists when Debian
have released a fix, see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=354895
[Fixed in version 2.2.1~rc1-1 by Rene Engelhard <email address hidden>; ]
note comment 110 in that bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=354895#110

Revision history for this message
NoOp (glgxg) wrote :

I've just tested in Ubuntu OOo version 2.3 - Ubuntu 7.10 Gutsy - and the document conversion wizard does work in that version.

Chris Cheney (ccheney)
Changed in openoffice.org:
status: Confirmed → Fix Released
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.