OpenOffice cashes on exit (if I edit my document)

Bug #492182 reported by Chrisyalden
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenOffice
Fix Released
Medium
libreoffice (Ubuntu)
Invalid
Undecided
Unassigned
openoffice.org (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org

My document is all vertical writing (Big stickers for envelopes) I have been using the same document for 1 year or so without problems.

Chris

ProblemType: Bug
Architecture: i386
Date: Fri Dec 4 07:49:28 2009
DistroRelease: Ubuntu 9.10
Package: openoffice.org-core 1:3.1.1-5ubuntu1
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: openoffice.org
Uname: Linux 2.6.31-15-generic i686

Revision history for this message
Chrisyalden (chrisyalden) wrote :
Revision history for this message
Dave Walker (dogatemycomputer) wrote :

I can recreate the problem.

1 - Save "2 stickers for envelopes" attachment from this bug report.
2 - Open the Document
3 - Without making any changes click SAVE AS <OR> Make a change and click SAVE. It will save successfully.
4 - Close the document
5 - Writer will crash. I attached the error to this bug report.

I should also note..

- the error page does not display the document that should be recovered although I am not sure if this is another bug.
- if you save the document in a different format then it still crashes.

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in openoffice.org (Ubuntu):
status: New → Confirmed
Revision history for this message
Dave Walker (dogatemycomputer) wrote :

In order to push this upstream I have to confirm this bug on a vanilla Debian system. I'm going to do that tonight or tomorrow. If I can reproduce it with a standard OpenOffice installation then I will forward the bug upstream by tomorrow night.

Revision history for this message
In , Dave Walker (dogatemycomputer) wrote :
Download full text (3.4 KiB)

Created an attachment (id=331216)
Screenshot of the error message.

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5 (.NET CLR 3.5.30729)

Bug reported to Ubuntu Launchpad.
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/492182

I was able to reproduce the bug on Ubuntu Karmic 9.10 but not using Debian proper with DEBS downloaded directly from Sun's website.

Here is the rest of the information from the bug report:

Bug Description

Binary package hint: openoffice.org

My document is all vertical writing (Big stickers for envelopes) I have been using the same document for 1 year or so without problems.

Chris

ProblemType: Bug
Architecture: i386
Date: Fri Dec 4 07:49:28 2009
DistroRelease: Ubuntu 9.10
Package: openoffice.org-core 1:3.1.1-5ubuntu1
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: openoffice.org
Uname: Linux 2.6.31-15-generic i686
 CancelOk
Tags: apport-bug i386
Ok Cancel
Add tags
Chrisyalden wrote on 2009-12-04: #1

    * 2 stickers for envelopes (11.7 KiB, application/vnd.oasis.opendocument.text)
    * Dependencies.txt (3.7 KiB, text/plain; charset="utf-8")
    * XsessionErrors.txt (683 bytes, text/plain; charset="utf-8")

Dave Walker wrote 20 hours ago: #2

    * The error. (17.1 KiB, image/png)

I can recreate the problem.

1 - Save "2 stickers for envelopes" attachment from this bug report.
2 - Open the Document
3 - Without making any changes click SAVE AS <OR> Make a change and click SAVE. It will save successfully.
4 - Close the document
5 - Writer will crash. I attached the error to this bug report.

I should also note..

- the error page does not display the document that should be recovered although I am not sure if this is another bug.
- if you save the document in a different format then it still crashes.

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!
Dave Walker 20 hours ago
Changed in openoffice.org (Ubuntu):
status: New → Confirmed
Dave Walker wrote 19 hours ago: #3

In order to push this upstream I have to confirm this bug on a vanilla Debian system. I'm going to do that tonight or tomorrow. If I can reproduce it with a standard OpenOffice installation then I will forward the bug upstream by tomorrow night.

Reproducible: Always

Steps to Reproduce:

1 - Save "2 stickers for envelopes" attachment from this bug report.
2 - Open the Document with OpenOffice.org 3.1.1 build 9420 (openoffice.org-core 1:3.1.1-5ubuntu1, Thu Oct 22 21:20:21 UTC 2009)
3 - Without making any changes click SAVE AS <OR> Make a change and click SAVE. It will save successfully.
4 - Close the document
5 - Writer will crash. I attached the error to this bug report.

Actual Results:

1 - Save "2 stickers for envelopes" attachment from this bug report.
2 - Open the Document with OpenOffice.org 3.1.1 build 9420 (openoffice.org-core 1:3.1.1-5ubuntu1, Thu ...

Read more...

Revision history for this message
In , Dave Walker (dogatemycomputer) wrote :

Created an attachment (id=331217)
The document used to crash OpenOffice Writer

Changed in openoffice.org (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Dave Walker (dogatemycomputer) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at:

https://bugzilla.novell.com/show_bug.cgi?id=561159

Changed in openoffice:
status: Unknown → Confirmed
Revision history for this message
In , Kyoshida (kyoshida) wrote :

You need to select the text box itself before saving to cause a crash. In fact, you don't need to save the document; just select the text box where the vertical text is, then close the window. It will crash.

I have confirmed using the latest build from ooo-build-3-1-1.

Revision history for this message
In , Kyoshida (kyoshida) wrote :

The crash doesn't happen using the latest master build.

Revision history for this message
In , Kyoshida (kyoshida) wrote :

Created an attachment (id=331218)
call stack at the time of crash

This is the call stack I get at the time of the crash. The crash appears to be in the destructor of the SwDoc instance.

Revision history for this message
In , Kyoshida (kyoshida) wrote :

Re-assigning this to Cedric. This does not happen any more in 3.2, but a crash bug may be worth fixing even for 3.1.1. I'll leave the decision to you.

Revision history for this message
In , Kendy (kendy) wrote :

I am getting a similar crash even in 3.2, but with another document: http://www.pitonyak.org/AndrewMacro.odt . Just open that, close, and see the crash. Unfortunately quite a big document :-(

Backtrace:

#2 0xb7cb09e7 in abort () from /lib/libc.so.6
#3 0xb7ceb4ed in ?? () from /lib/libc.so.6
#4 0xb7cf150b in ?? () from /lib/libc.so.6
#5 0xb7cf2de4 in ?? () from /lib/libc.so.6
#6 0xb7cf5fdd in free () from /lib/libc.so.6
#7 0xb7fc9d01 in rtl_freeMemory () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/ure-link/lib/libuno_sal.so.3
#8 0x08048cf8 in operator delete(void*) ()
#9 0xaf8e2cc2 in SwTxtNode::InitSwParaStatistics(bool) () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/program/libswli.so
#10 0xaf8d4902 in SwTxtNode::~SwTxtNode() () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/program/libswli.so
#11 0xaf906657 in SwNodes::RemoveNode(unsigned long, unsigned long, unsigned char) () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/program/libswli.so
#12 0xaf9070df in SwNodes::DelNodes(SwNodeIndex const&, unsigned long) () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/program/libswli.so
#13 0xaf865e92 in SwDoc::~SwDoc() () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/program/libswli.so
#14 0xafb3e30b in SwDocShell::RemoveLink() () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/program/libswli.so
#15 0xafb3f08c in SwDocShell::~SwDocShell() () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/program/libswli.so
#16 0xb70b1526 in SvRefBase::QueryDelete() () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/program/libtlli.so
#17 0xb6964643 in SotObject::QueryDelete() () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/program/libsotli.so
#18 0xb783b766 in SfxObjectShellRef::~SfxObjectShellRef() () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/program/libsfxli.so
#19 0xb790e845 in SfxViewFrame::ReleaseObjectShell_Impl(unsigned char) () from /local/inst/ooo320-m7.system-alloc/program/../basis-link/program/libsfxli.so

etc.

Revision history for this message
In , Cbosdonnat (cbosdonnat) wrote :

Kendy, the crash in this second document isn't related to the original one and there is already an issue on that upstream (see in the document).

I have already spent too much time on a bug fixed in 3.2: I'll close this. Please reopen if the bug really needs to be fixed in 3.1.1 as well. I'm setting the resolution as fixed as it works in 3.2

Changed in openoffice:
status: Confirmed → Fix Released
Changed in openoffice:
importance: Unknown → Medium
Revision history for this message
penalvch (penalvch) wrote :

This should not have been marked to Invalid just because it was sent to the developers. Marking back to Confirmed.

Changed in openoffice.org (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Chrisyalden, this issue is unreproducible in LibreOffice Writer. Does this work for you?

lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

Changed in libreoffice (Ubuntu):
status: New → Incomplete
Revision history for this message
penalvch (penalvch) wrote :

Chrisyalden, your crash report is missing. Please follow these instructions to have apport report a new bug about your crash that can be dealt with by the automatic retracer.

If you are running the Ubuntu Stable Release you might need to enable apport in /etc/default/apport and restart.

Now open your file manager, navigate to your /var/crash directory and open the crash report you wish to submit.
If this fails you will have to open a terminal and file your report with 'ubuntu-bug /var/crash/_my_crash_report.crash' where _my_crash_report.crash is the crash you would like to report. If you get an error that you aren't allowed to access this report you will have to file it with 'sudo ubuntu-bug /var/crash/_my_crash_report.crash'.

I'm closing this bug report since the process outlined above will automatically open a new bug report which can then dealt with more efficiently. Thanks in advance for your cooperation and understanding.

Changed in openoffice.org (Ubuntu):
status: Confirmed → Invalid
Changed in libreoffice (Ubuntu):
status: Incomplete → Invalid
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.