Issue 87493 - Crash when deleting an object group anchored in certain frame
Summary: Crash when deleting an object group anchored in certain frame
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.4.0
Hardware: PC All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2008-03-27 11:31 UTC by thomas_nittel
Modified: 2013-08-07 14:43 UTC (History)
2 users (show)

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


Attachments
ReproducibleCrash (22.77 KB, application/vnd.oasis.opendocument.text)
2008-03-27 11:33 UTC, thomas_nittel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description thomas_nittel 2008-03-27 11:31:35 UTC
Hello, all together,

I have a document which make OpenOffice.org 2.3.1 German Edition reproducible
crash. I stripped it down and will attach this document. For reproducing the
crash scroll to the last page 4 by using the scroll bar and your mouse, click
onto the last circle with the number 1 inside at the lower part of this page. It
will be marked with green squares. Then press the delete button at your keyboard
and wait some moments.
Best regards

Thomas
Comment 1 thomas_nittel 2008-03-27 11:33:51 UTC
Created attachment 52315 [details]
ReproducibleCrash
Comment 2 michael.ruess 2008-03-27 12:28:27 UTC
MRU->OD: on page four of the attached document, delete any of the object groups
(circle shape grouped with text object containing number) -> crash.
The object groups are anchored inside the frame on page four, which itself is
anchored as character.
Comment 3 thomas_nittel 2008-03-27 15:03:33 UTC
I downloaded OpenOffice 2.4.0 and checked the problem with this version. The
crash occurs with this version, too. As I cannot edit my document any longer I
increased the priority and decreased the target milestone. Thanks.
Comment 4 michael.ruess 2008-03-31 12:38:52 UTC
P5 is the lowest priority - raised to P2 as this is the appropriate Prio for
crashes (also see
http://www.openoffice.org/scdocs/ddIssues_EnterModify.html#priority).

MRU->OD: re-saving the document also does not help. Maybe we could tweak
something in the xml code... as we found out, it must be something süecial with
the textobjects keeping the numbers (grouped with the circle shapes).
Comment 5 Oliver-Rainer Wittmann 2008-04-22 09:40:09 UTC
fixed in cws sw241bf01 - changed files:
/sw/source/core/layout/flylay.cxx, 1.52.150.1
/sw/source/core/layout/frmtool.cxx, 1.100.128.1.12.1

defect cause: internal data structures for managing anchored objects (text
frames, graphics, embedded objects, drawing objects, controls) are corrupted.

possible workaround until release of OOo 2.4.1:
open given document. change anchor type of all anchored objects inside the text
frames from to-frame to at-paragraph. save the document. reopen the document.
deletion should work now.
Comment 6 Oliver-Rainer Wittmann 2008-04-24 07:45:08 UTC
OD->MRU: checked in internal installation set of cws sw241bf01 - please verify.
Comment 7 michael.ruess 2008-05-02 11:08:31 UTC
Verified fix in CWS sw241bf01.
Comment 8 michael.ruess 2008-06-10 12:51:28 UTC
Checked fix in build DEV300m18.