Issue 30070 - Saving a document in rtf-format crashes openoffice
Summary: Saving a document in rtf-format crashes openoffice
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1.1
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: crash, oooqa
Depends on:
Blocks:
 
Reported: 2004-06-10 20:14 UTC by redhat4
Modified: 2017-05-20 11:19 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
OpenOffice crash windows message (532 bytes, text/txt)
2004-06-10 20:16 UTC, redhat4
no flags Details
The file that caused the crash (66.91 KB, application/vnd.sun.xml.writer)
2004-06-10 20:17 UTC, redhat4
no flags Details
Same problem; crash report attached (4.17 KB, text/plain)
2005-10-31 05:08 UTC, yvesb
no flags Details
Saving same document in Word 2000 format also crashes; crash report attached. (4.17 KB, text/plain)
2005-10-31 05:11 UTC, yvesb
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description redhat4 2004-06-10 20:14:24 UTC
Saving a document in rtf-format crashes openoffice.
Comment 1 redhat4 2004-06-10 20:16:28 UTC
Created attachment 15820 [details]
OpenOffice crash windows message
Comment 2 redhat4 2004-06-10 20:17:51 UTC
Created attachment 15821 [details]
The file that caused the crash
Comment 3 michael.ruess 2004-06-11 11:38:58 UTC
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.
Comment 4 frank.meies 2004-06-11 12:39:50 UTC
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.
Comment 5 frank.meies 2004-06-11 12:47:13 UTC
FME->TL: This is done in the SwXText::insertString() function. Note: The crash
during rtf export is only a side effect of this.
Comment 6 thomas.lange 2004-06-11 13:05:39 UTC
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!
Comment 7 thomas.lange 2004-06-11 13:07:00 UTC
Target changed to OO 2.0.
Comment 8 thomas.lange 2004-06-16 12:56:54 UTC
TL->SB: Pleae ahve a look. Thanks!
Comment 9 Stephan Bergmann 2004-06-16 13:44:28 UTC
SB->TL:  As discussed offline, back to you.
Comment 10 Stephan Bergmann 2004-06-16 13:44:57 UTC
.
Comment 11 andreas.martens 2004-06-17 14:27:57 UTC
Because of a shortage of resources we have to retarget this issue to OOo later. 
Comment 12 yvesb 2005-10-31 05:08:06 UTC
Created attachment 31034 [details]
Same problem; crash report attached
Comment 13 yvesb 2005-10-31 05:11:02 UTC
Created attachment 31035 [details]
Saving same document in Word 2000 format also crashes; crash report attached.
Comment 14 aziem 2006-10-01 21:57:21 UTC
The document freezes OOo 2.0.4rc2 Linux.  (I'm just checking old bugs.)
Comment 15 thomas.lange 2010-04-08 13:08:22 UTC
tl->hbrinkm: Please take over. Thanks!
Comment 16 Marcus 2017-05-20 11:19:49 UTC
Reset assigne to the default "issues@openoffice.apache.org".