[upstream] [3.2.1] Crash in SwRTFWriter::OutBookmarks () when saving some RTF documents

Bug #563931 reported by Milan Bouchet-Valat
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
OpenOffice
Fix Released
Unknown
openoffice.org (Ubuntu)
Fix Released
Medium
Chris Cheney
Lucid
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org

When saving particular files to .rtf, Writer crashes. This may be linked with the fact that these files contain tables.

The trace led me to an upstream bug that is already fixed, with the patch planned to be released with 3.2.1. Could be worth backporting to Lucid.

According to the upstream report, where there is a test case, the crash can also happen during copy/paste. Several duplicates confirm this behavior, as well as the crash on saving.

Most relevant part of the stacktrace:
Program received signal SIGSEGV, Segmentation fault.
0x03dc57ae in SwRTFWriter::OutBookmarks ()
   from /usr/lib/openoffice/basis3.2/program/libmswordli.so
(gdb) ba
#0 0x03dc57ae in SwRTFWriter::OutBookmarks ()
   from /usr/lib/openoffice/basis3.2/program/libmswordli.so
#1 0x03d9b2ca in OutRTF_SwTxtNode ()
   from /usr/lib/openoffice/basis3.2/program/libmswordli.so
#2 0xb17ca6bc in Out ()
   from /usr/lib/openoffice/program/../basis-link/program/libswli.so
#3 0x03dc50e3 in SwRTFWriter::Out_SwDoc ()
   from /usr/lib/openoffice/basis3.2/program/libmswordli.so
#4 0x03dc72cc in SwRTFWriter::WriteStream ()
   from /usr/lib/openoffice/basis3.2/program/libmswordli.so
#5 0xb17c9a46 in Writer::Write ()
   from /usr/lib/openoffice/program/../basis-link/program/libswli.so
#6 0xb17c9afa in Writer::Write ()
   from /usr/lib/openoffice/program/../basis-link/program/libswli.so
#7 0xb17458f1 in SwWriter::Write ()
   from /usr/lib/openoffice/program/../basis-link/program/libswli.so
#8 0xb183c912 in SwDocShell::ConvertTo ()
   from /usr/lib/openoffice/program/../basis-link/program/libswli.so

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openoffice.org-writer 1:3.2.0-4ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-20.30-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-20-generic i686
Architecture: i386
Date: Thu Apr 15 17:07:51 2010
EcryptfsInUse: Yes
ProcEnviron:
 LANGUAGE=fr_FR:fr:en_GB:en
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: openoffice.org

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :
tags: added: regression-potential
summary: - Crash when saving some RTF documents
+ Crash in SwRTFWriter::OutBookmarks () when saving some RTF documents
Changed in openoffice:
status: Unknown → Fix Released
Changed in openoffice.org (Ubuntu):
status: New → Confirmed
summary: - Crash in SwRTFWriter::OutBookmarks () when saving some RTF documents
+ [upstream] Crash in SwRTFWriter::OutBookmarks () when saving some RTF
+ documents
Changed in openoffice.org (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Chris Cheney (ccheney)
summary: - [upstream] Crash in SwRTFWriter::OutBookmarks () when saving some RTF
- documents
+ [upstream] [3.2.1] Crash in SwRTFWriter::OutBookmarks () when saving
+ some RTF documents
Changed in openoffice.org (Ubuntu):
milestone: none → ubuntu-10.04.1
assignee: nobody → Chris Cheney (ccheney)
Martin Pitt (pitti)
Changed in openoffice.org (Ubuntu):
milestone: ubuntu-10.04.1 → ubuntu-10.04.2
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.9 KiB)

This bug was fixed in the package openoffice.org - 1:3.2.1-5ubuntu1

---------------
openoffice.org (1:3.2.1-5ubuntu1) maverick; urgency=low

  * merge against debian unstable, remaining changes:
    (LP: #575138, #473857, #563931)
   + debian/control.in:
     - Added java-runtime-depends to openoffice.org-java-common depends
       as we don't dep on system-saxon
     - put ${ooo-binfilter-dep} recommends only as suggested on
       openoffice.orgVER-writer as we don't want to install
       openoffice.org-filter-binfilter legacy transitional tool by default.
     - add openoffice.org-style-human package and makes openoffice.org-gtk to
       recommend it instead of the tango one.
   + debian/copyright:
     - add warning and granted permission about the Oracle logo
   + debian/rules:
     - Build with -Os apart from ARM to avoid GCC register spill errors.
     - Add USE_COMMON_DOCDIR option to symlink rather copying multiples times
       the same doc
     - build with --with-distro=CurrentDistro (with PATCHSET) to trigger
       specific go-oo distro conf
     - build mono binding on sparc too
     - build binfilter package on all archs
     - custom install:
       - ubuntu about and intro bitmaps
       - convert broffice.org about image from png to bmp
       - images_new.tar.bz2 to the human theme
       - extra translations (debian/ubuntu/l10n)
       - ooo87965.execute.sh
       - ubuntu templates *otp
     - use translate-tookit
     - move content in help/* rather than the directory (see why this cruft is
       needed, FTBFS on i386 otherwise)
     - don't build -dbg pkg
     - don't use broken gnome-vfs support
     - Use desktop files from $(OOO_BUILD_TREE)/desktopxi
       (set by USE_OOO_BUILD_DESKTOPS)
     - Switch desktop files from %U to %F for gvfs fuse
     - use lzma instead of bzip2 apart for armel (slow too much build process)
     - don't use system lucene as internal copy is available (and not enough
       space on the cd)
     - build on specific version of libboost
     - additional locales built in ubuntu
     - build translations in openoffice.org$(VER)-l10n-{lang} and help in
       openoffice.org$(VER)-help-{lang} packages from a
       openoffice.org$(VER)-l10n source package
     - openoffice.org$(VER)-l10n-en-us is openoffice.orgVER-l10n-common
   + debian/patches:
     - desktop-templates.diff: changes some names and comments and generate a
       .pot
     - desktop-translations.diff: desktop file translations
   + debian/ubuntu:
     - openabout_ubuntu_oracle.bmp, openintro_ubuntu_oracle.bmp: custom about
       and intro bitmaps
     - images_new.tar.bz2: set of images for the human theme.
     - l10n/GSI_helpmenu_all.sdf: additional translation for LPI
     - ooo87965.execute.sh: run a script in background
     - *otp: ubuntu templates
   + debian/broffice.org.preinst.in, debian/broffice.org.postrm.in:
     - add diversion for about and intro bitmaps to broffice.org
   + debian/scripts/convert2po, sifilter.py, splitgsi:
     - helpers scripts used in debian/rules for translation and text
       manipulation
   + debian/ubuntu/lpi2gsi/*:
    - templates and conversion scripts to generate the additional...

Read more...

Changed in openoffice.org (Ubuntu):
status: Triaged → Fix Released
Martin Pitt (pitti)
Changed in openoffice.org (Ubuntu Lucid):
milestone: none → ubuntu-10.04.2
Changed in openoffice.org (Ubuntu):
milestone: ubuntu-10.04.2 → none
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted openoffice.org into luic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Just tested saving a document to RTF, and it seems to work. Thanks!

Changed in openoffice.org (Ubuntu Lucid):
status: New → Fix Released
tags: added: regression-release verification-done
removed: regression-potential verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :

Setting lucid task back to "fix committed", it's not in -updates yet. Thanks for testing!

Changed in openoffice.org (Ubuntu Lucid):
status: Fix Released → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

I just accepted an updated version from Matthias (1:3.2.1-6ubuntu2~10.04.1) which now also fixes the ARM build again, and an additional fix. Please test this version as well, and let us know how it works for you. It will be available on the archive servers in about half a day.

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Sorry, but I'm now on Maverick. So you'll need somebody else, or another machine...

Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in openoffice.org (Ubuntu Lucid):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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