Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Saving a document in rtf-format crashes openoffice | ||
---|---|---|---|
Product: | Writer | Reporter: | redhat4 <jimmy_christiansen> |
Component: | ui | Assignee: | AOO issues mailing list <issues> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | czeslaw.wolanski, gbpacheco, issues, mseidel |
Version: | OOo 1.1.1 | Keywords: | crash, oooqa |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Attachments: |
Description
redhat4
2004-06-10 20:14:24 UTC
Created attachment 15820 [details]
OpenOffice crash windows message
Created attachment 15821 [details]
The file that caused the crash
MRU->FME: the document once seems to be generated by RTF import (it contains Styles like RTF_num 2). When opening the sxw, you get loads of the Assertion "SwTextFormatted::BuildPortions: Bad text lenght in Info". Maybe this is the reason for the crash in RTF export then. FME->TL: Seems like the API tries to insert a string with length STRING_LEN during loading the document. This has to be restricted to STRING_LEN - 1. FME->TL: This is done in the SwXText::insertString() function. Note: The crash during rtf export is only a side effect of this. TL->SB: Please have a look if a string with length STRING_LEN should be invalid. As FME said the problem occurs when SwXText::insertString() is successively called until the paragraph text (which is represented by a string) is too long. Please hand this one back to me after you've done your part because we may still like/need to do sth. additionally in the mentioned function. Thanks! Target changed to OO 2.0. TL->SB: Pleae ahve a look. Thanks! SB->TL: As discussed offline, back to you. . Because of a shortage of resources we have to retarget this issue to OOo later. Created attachment 31034 [details]
Same problem; crash report attached
Created attachment 31035 [details]
Saving same document in Word 2000 format also crashes; crash report attached.
The document freezes OOo 2.0.4rc2 Linux. (I'm just checking old bugs.) tl->hbrinkm: Please take over. Thanks! Reset assigne to the default "issues@openoffice.apache.org". Checked on Windows: the last version that crashes when saving a document in rtf-format is OpenOffice.org 3.3.0 All later releases, including 4.1.14, save the file "janet bound.sxw" as expected. Setting as FIXED due to comment 17. I could also save the file with AOO 4.1.14 as RTF and Word 2000 on Windows. |