Issue 14046 - After doing UNDO in ms word document OO crashes
Summary: After doing UNDO in ms word document OO crashes
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks: 14053
  Show dependency tree
 
Reported: 2003-05-03 11:56 UTC by mantas
Modified: 2013-08-07 14:44 UTC (History)
1 user (show)

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


Attachments
ms word document which crashes after UNDO (89.50 KB, application/octet-stream)
2003-05-03 12:04 UTC, mantas
no flags Details
ms word document which crashes after UNDO (89.50 KB, application/octet-stream)
2003-05-03 12:05 UTC, mantas
no flags Details
symbolic stack dump of crash caused by SendToBack followed by Undo (6.50 KB, text/plain)
2003-05-10 07:24 UTC, dankegel
no flags Details
valgrind log of reproducing error with ooo644_m11 on red hat 8 (32.69 KB, text/plain)
2003-05-11 20:29 UTC, dankegel
no flags Details
Stack dump of first indication of trouble under valgrind. Interesting. (6.66 KB, text/plain)
2003-05-13 05:50 UTC, dankegel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mantas 2003-05-03 11:56:02 UTC
If I  do Arrange -> Send to back the picture which is imported on the front and
has to be on the back and then do UNDO OOo crashes.
Comment 1 mantas 2003-05-03 12:04:07 UTC
Created attachment 6016 [details]
ms word document which crashes after UNDO
Comment 2 mantas 2003-05-03 12:05:33 UTC
Created attachment 6017 [details]
ms word document which crashes after UNDO
Comment 3 dankegel 2003-05-10 07:23:08 UTC
I couldn't see the image you were talking about,
but I clicked on the first page, did send to back,
and undo, and boom!  just like you said.
Reproduced on ooo1.1beta1 on Red Hat 8 x86.
Comment 4 dankegel 2003-05-10 07:24:00 UTC
Created attachment 6111 [details]
symbolic stack dump of crash caused by SendToBack followed by Undo
Comment 5 dankegel 2003-05-11 20:29:42 UTC
Created attachment 6135 [details]
valgrind log of reproducing error with ooo644_m11 on red hat 8
Comment 6 Martin Hollmichel 2003-05-12 14:53:32 UTC
unfortunatly too late for beta2, retarget to RC, raising prio to 2
because of crash.
Comment 7 dankegel 2003-05-13 05:50:37 UTC
Created attachment 6167 [details]
Stack dump of first indication of trouble under valgrind.  Interesting.
Comment 8 h.ilter 2003-05-13 11:09:28 UTC
Reassigned to MRU
Comment 9 michael.ruess 2003-05-13 14:04:45 UTC
MRU->DVO: There's a graphic which spreads over the whole page. Select
this, send it "to back" (z-order) and Undo -> crash.
Comment 10 openoffice 2003-05-16 17:59:23 UTC
dvo: Fixed in sw015 (for OOo 1.1, release), sw/../edundo.cxx

The problem was in SwEditShell::Undo(..). After successful undo
drawing objects were selected (if appropriate), but the selection code
directly accessed the drawing layer (rather than going through the
Writer shell), thus causing an inconsitency in the current selection.
Now, SwFEShell::SelectObj(..) is called, so drawing objects are now
selected in the same way that a mouse click would select them.

The stack traces turned out to be a bit misleading in that they showed
a follow-on problem, after the original point of failure. But with the
document the problem was easily reproducable, so I think I got the bug
down alright.
Comment 11 egle 2003-05-17 18:40:34 UTC
This bug is related to issue# 14045, as in the original MS Word
document the picture (a graphic which spreads over the whole page) is
on the back, just OOo 1.1 displays it on the front (OOo 1.0.2 displays
the graphics correctly - on the back).
 
It would be just great if issue #14045 was solved together with this
bug  ;).
Comment 12 openoffice 2003-05-19 15:19:24 UTC
dvo->egle: No, it doesn't to solve the #14045 problem. What I fixed
here was a crash in the undo mechanism, and will not affect the
loading. At first view, #14045 seems to be an import or an UI issue,
neither I which I know a whole lot about. :-)
Comment 13 openoffice 2003-05-28 18:39:57 UTC
dvo: Ughh, my fix worked for Undo, but the same problem was in Redo as
well. I found out only now, so the complete fix will be in sw016, not
sw015.
Comment 14 openoffice 2003-06-19 14:43:28 UTC
dvo->mru: Works in sw017. Please verify & close.
Comment 15 michael.ruess 2003-06-20 09:57:43 UTC
Checked fix in CWS sw017.
Comment 16 michael.ruess 2003-06-20 09:58:17 UTC
Verified fix with internal CWS sw017.
Fix will be available in OO 1.1.
Comment 17 michael.ruess 2003-07-17 13:55:54 UTC
Fix applied to OO 1.1 RC.