Issue 9456

Summary: Crash when comparing two documents
Product: Writer Reporter: Unknown <non-migrated>
Component: uiAssignee: stefan.baltzer
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P2 CC: issues, scarr
Version: OOo 1.0.1Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Attach files(case1.sxw, case2.sxw) for issue 9456
none
simpler document - use as source for comparison
none
simpler document - compare it with testdoc1.sxw none

Description Unknown 2002-11-22 18:01:02 UTC
Compared these two documents, got an error message.
Reproduce steps:

1. Open case1.sxw in OOo Writer.
2. Open case2.sxw in OOo Writer.
3. In case2.sxw, in any paragraph, enter three times.
4. From menu bar, select “Edit” -> “Compare Document”,
   an “insert” dialog loads.
5. Choose case1, click insert.
6. An “Accept or Reject Changes” dialog loads.
7. There are one “Insertion” and two “Deletion”.
8. If “Action” was “Insertion”, select “Reject”.
   If “Action” were “Deletion”, select “Accept”.
9. An error message: “An unrecoverable error has occurred.
   All modified files have been saved and can probably 
   be recovered at program restart.”
10. Click “OK”, Writer closes and restarts.
Comment 1 Unknown 2002-11-22 18:03:01 UTC
Created attachment 3709 [details]
Attach files(case1.sxw, case2.sxw) for issue 9456
Comment 2 scarr 2003-06-26 03:56:45 UTC
Tried the test documents and could not make the error occur in
1.1Beta2.  Could you try it as well so we can mark this as Fixed.

Thanks

Scott
Comment 3 mci 2003-08-15 10:42:19 UTC
I tried to reproduce the problem and it still exists...
I followed the step descripted by whsu and got the same result with
current inhouse version on solaris!!!

set Prio to P2
set target to OO.O1.1.1
reassigned to ama@openoffice.org

@ ama: Please dispatch...
Comment 4 andreas.martens 2003-08-15 11:12:34 UTC
Reproducable.
Comment 5 Oliver-Rainer Wittmann 2003-08-15 14:15:09 UTC
OD (15.08.2003): accepted.
reproducable also in OOo RC3.
Comment 6 Oliver-Rainer Wittmann 2003-08-18 09:16:14 UTC
OD->hbrinkm (18.08.2003):
Cause of the crash: During the acceptance of the deletion of the
table, it is attempted to anchor the frame (currently anchored to a
paragraph) to the table.
As discussed, this is something for You.
Our discussion reveals that in method
<SwUndoSaveCntnt::DelCntntIndex(..)> is has to be considered that a
frame is not anchored to a table - consider the cases FLY_AT_CNTNT and
FLY_AUTO_CNTNT.
Comment 7 Oliver-Rainer Wittmann 2003-08-18 09:18:34 UTC
OD->hbrinkm (18.08.2003):
I will attach two simpler files, with which You can reproduce the crash.
Comment 8 Oliver-Rainer Wittmann 2003-08-18 09:20:29 UTC
Created attachment 8523 [details]
simpler document - use as source for comparison
Comment 9 Oliver-Rainer Wittmann 2003-08-18 09:21:07 UTC
Created attachment 8524 [details]
simpler document - compare it with testdoc1.sxw
Comment 10 openoffice 2003-09-08 13:36:00 UTC
.
Comment 11 openoffice 2003-09-24 13:34:48 UTC
fixed
Comment 12 openoffice 2003-10-10 16:08:41 UTC
ready for QA
Comment 13 h.ilter 2003-10-22 15:52:41 UTC
Verified with cws patch = ok
Comment 14 h.ilter 2003-10-22 15:53:33 UTC
Set to fixed.
Comment 15 h.ilter 2003-10-22 15:53:55 UTC
Set to Verified.
Comment 16 stefan.baltzer 2004-01-16 15:44:18 UTC
SBA: OK in Build 645m25 on Windows, Solaris and Linux. Closed.