Issue 1769 - Import of UTF-8 stress-file crashes OOo
Summary: Import of UTF-8 stress-file crashes OOo
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: lohmaier
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2001-10-03 23:52 UTC by lohmaier
Modified: 2003-09-08 16:56 UTC (History)
1 user (show)

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


Attachments
UTF-8-test.txt (Stress file for testing UTF-8 decoding) (19.79 KB, text/plain)
2001-10-03 23:54 UTC, lohmaier
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description lohmaier 2001-10-03 23:52:21 UTC
Hi,

When you try to import the file UTF-8-text.txt, OOo initiates a saving-process
and  then crashes with the following error-message:
Error saving the document Untitled1:
Write Error
Error in writing sub-document content.xml

Steps to reproduce:
·select Insert|File from the Menu
·select the uploaded file UTF-8-test.txt and set the document Type to 'Text encoded'
·select Unicode (UTF-8) as the encoding and close the Dialog

OOo is irritated by the non-standard (illegal) UTF-8 encodings.

You can also get the file (and a UTF-8-demo.txt with standard UTF8 that is
imported correctly) from this site:
http://www.cl.cam.ac.uk/~mgk25/

ciao
Christian
Comment 1 lohmaier 2001-10-03 23:54:02 UTC
Created attachment 553 [details]
UTF-8-test.txt (Stress file for testing UTF-8 decoding)
Comment 2 lohmaier 2001-10-04 00:10:12 UTC
I forgot to mention:
OOo 'refuses' to open the file (File|Open). It neither pops up a new
window nor is there an error message. Nothing happens.

The UTF-8-demo.txt I mentioned opens fine.

ciao
Christian
Comment 3 stefan.baltzer 2001-10-08 14:46:37 UTC
Reassigned to Eric.
Comment 4 eric.savary 2001-10-25 18:09:45 UTC
ES->JP: the same in the 641i *LINUX*
Comment 5 jp 2001-11-15 17:17:21 UTC
Fixed in the version 641p
Comment 6 lohmaier 2002-03-13 23:38:08 UTC
This bug is back.
OO.o 642 (german) crashes with an unrecoverable error.
After selecting the file as encoded text as described OO.o loads the
file and displays the first page, but then crashes immediately.
This is reproducible every time I try to open the file.

PS: I did a network-install
Comment 7 jp 2002-03-20 09:49:47 UTC
JP->SBA: can you please test it under all other plattforms? Because 
in my Windows Version all works fine. And I thinks it's not an import 
problem, because the GPF happens by viewing the document - so this 
might be a formatting problem under LINUX. Thanks.
Comment 8 stefan.baltzer 2002-04-19 17:17:46 UTC
Eric, please check. Reassigned.
Comment 9 lohmaier 2002-05-18 12:57:20 UTC
changed Version to 1.0.0 and removed build-# from summary
Comment 10 eric.savary 2002-07-01 19:50:09 UTC
so, FIXED.
Comment 11 eric.savary 2002-07-01 19:51:13 UTC
Sorry, just an error.
Comment 12 lohmaier 2002-07-29 22:16:09 UTC
Eric probably forgot to reopen this issue after noticing his error.
This one is still present in OO.o 1.0.1
Comment 13 eric.savary 2002-11-07 16:11:46 UTC
ES->cloph: yes it still crashed in a 1.01 and also in a current 643. 
But on an internal 644g, everything looks good. 
I just reassign to you, this time. 
Please confirm and close as soon as a newer version is on OOo. 
 
Comment 14 lohmaier 2002-11-25 20:12:48 UTC
I confirm this issue as fixed in OOo 643C
The attached file doesn't crash OOo anymore (but there are still some
UTF-8 issues (about hanfling malformed sequences) left, but that'll be
another issue)
Comment 15 lohmaier 2002-11-25 20:13:29 UTC
Before I can set it to verified I had to resolve it fixed..
Comment 16 lohmaier 2002-11-25 20:15:23 UTC
And finally.. closing.