Issue 13233 - Save as Word .doc crashes writer
Summary: Save as Word .doc crashes writer
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.2
Hardware: PC Other OS
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks: 14053
  Show dependency tree
 
Reported: 2003-04-09 21:43 UTC by jrobiso2
Modified: 2013-08-07 14:44 UTC (History)
2 users (show)

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


Attachments
An internal research proposal (79.44 KB, application/oowriter)
2003-04-09 21:44 UTC, jrobiso2
no flags Details
Stack dump of saving this document as described using OOO1.1beta (6.59 KB, text/plain)
2003-05-02 07:03 UTC, dankegel
no flags Details
horrendously bollocksed Word 97 export of the Writer file (213.50 KB, application/octet-stream)
2003-05-07 08:17 UTC, ingenstans
no flags Details
Other templates, same type, same developers, that also foul up on conversion (342.65 KB, application/octet-stream)
2003-05-08 15:20 UTC, jrobiso2
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jrobiso2 2003-04-09 21:43:04 UTC
Saving this document, in Open Office 1.0.2 on either Win XP or Linux (2.4.19) 
causes OpenOffice to crash.
Comment 1 jrobiso2 2003-04-09 21:44:13 UTC
Created attachment 5551 [details]
An internal research proposal
Comment 2 jrobiso2 2003-04-09 21:49:23 UTC
Crashes when trying to save in MS Word (97/2000/XP) format. Both Win 
XP and Linux versions of OO 1.0.2
Comment 3 Rainer Bielefeld 2003-04-12 09:44:34 UTC
Confirm with 1.0.2 german version and WIN98
Writer crashes with message:
Es ist ein nicht behebbarer Fehler aufgetreten.
Alle Modifizierten Dateien wurden jedoch gesichert und können
voraussichtlich beim nächsten Programmstart wiederhergestellt werden.
Comment 4 dankegel 2003-05-02 07:03:49 UTC
Created attachment 6004 [details]
Stack dump of saving this document as described using OOO1.1beta
Comment 5 dankegel 2003-05-02 07:07:22 UTC
Considering this document is about Linux on the Desktop
at a Fortune 500 company, I find it ironic that
such a clearly reproducible crash report sat without
attention for three weeks -- possibly sinking the
chances of that company switching to Linux on the Desktop!

The bug happens for me in OpenOffice.org 1.1beta on Linux,
and I've attached a symbolic stack traceback.
Comment 6 ingenstans 2003-05-07 08:14:56 UTC
I can see that this is an important bug which needs fixing. However, I 
can't confirm it with 644_m11, running under Windows 2000. The 
document saves without crashing. On the other hand, the saved 
document, when reopened in Word, is full of exotic artefacts: 
fragments of German appear in the headlines; the first two pages are 
largely blank and so on and so forth. So there is a filter problem, 
too, whoch caolan ought to know about.
Comment 7 ingenstans 2003-05-07 08:17:16 UTC
Created attachment 6063 [details]
horrendously bollocksed Word 97 export of the Writer file
Comment 8 ingenstans 2003-05-07 08:18:15 UTC
Attachment created showing that 644_m11 can save this under Windows, 
but might as well not have bothered.
Comment 9 ingenstans 2003-05-07 17:41:43 UTC
and marked confirmed
Comment 10 h.ilter 2003-05-08 14:55:28 UTC
Reassigned to MRU
Comment 11 jrobiso2 2003-05-08 15:20:49 UTC
Created attachment 6083 [details]
Other templates, same type, same developers, that also foul up on conversion
Comment 12 michael.ruess 2003-05-13 14:34:28 UTC
MRU->CMC: Let's put our focus on the export crash reported at the top
of the description orgy.
The attached document was originally converted from an MS doc. It
contains many Redlines (which are hidden), also in the Header/footers.
I think that the problem is somewhere in this area.
Comment 13 caolanm 2003-05-13 18:16:13 UTC
Accepted.
Comment 14 caolanm 2003-05-13 18:37:43 UTC
Bookmark positions retrieved before revisions are shown, which
invalidates the bookmark cache!, move redline enabling to before any
nodes are accessed. Ack!
Comment 15 dankegel 2003-05-13 19:08:48 UTC
jrobiso2, please file a separate issue for
each individual problem in the second attachment.
Just pick the top two problems to start with.
Thanks!
Comment 16 jrobiso2 2003-05-13 19:12:07 UTC
uh....where's the fix? How can I get my grubby little hands on it?
Comment 17 caolanm 2003-05-14 08:47:55 UTC
The magic change is 
cvs diff -r1.53.50.1 -r1.53.50.2 sw/source/filter/ww8/wrtww8.cxx
Comment 18 caolanm 2003-05-14 16:06:16 UTC
reopen to reassign
Comment 19 caolanm 2003-05-14 16:08:15 UTC
cmc->mru: No crash in filterteam06 now, which is the substantive issue.

There are many asserts still. Layout has many "what a guess" and then
the .doc filter has some more non-fatal asserts. I suspect we should
have seperate 2.0 issues for the remaining cosmetic problems with this
document and change handling in general.
Comment 20 Rainer Bielefeld 2003-05-15 07:17:49 UTC
Related to issue 12517 ?
Comment 21 michael.ruess 2003-05-16 16:38:25 UTC
Verified the fix in CWS filteerteam06.
Comment 22 michael.ruess 2003-05-16 16:41:01 UTC
Fix will be included in OO 1.1 RC. 
Comment 23 michael.ruess 2003-07-17 12:56:30 UTC
Fix available in OO 1.1 RC.