[sw-issues] [Issue 115174] Crash when opening odt do cument having a lot of graphics and Redlines

2010-12-22 Thread mst
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115174


User mst changed the following:

What|Old value |New value

  CC|'od'  |'mib,od'

  Status|NEW   |RESOLVED

  Resolution|  |FIXED





--- Additional comments from m...@openoffice.org Wed Dec 22 18:14:28 + 
2010 ---
the following fragment causes the crash:

text:p text:style-name=newP183
  text:span text:style-name=newAttributefull/text:span
  specifies a full circle or ellipse, like
  draw:circle draw:style-name=newgr1 draw:text-style-name=P2227
draw:z-index=0 svg:height=0.5cm svg:width=0.5cm 
text:anchor-type=as-char
text:p
  text:change-start text:change-id=ct5853/
  text:change-end text:change-id=ct5853/
/text:p
  /draw:circle
  .
/text:p


OOo crashes on reading the text:change-end element.

(gdb) bt
#1  0xb155def6 in SwXTextRange::GetDoc (this=0x0)
at sw/source/core/unocore/unoobj2.cxx:893
#2  0xb181436c in lcl_GetDocViaTunnel (rRange=...)
at sw/source/filter/xml/XMLRedlineImportHelper.cxx:87
#3  0xb181442c in XTextRangeOrNodeIndexPosition::GetDoc (this=0xb00ac7b0)
at sw/source/filter/xml/XMLRedlineImportHelper.cxx:197
#4  0xb1814689 in XMLRedlineImportHelper::InsertIntoDocument (this=0xb051ea50,
pRedlineInfo=0xb00ac794)
at sw/source/filter/xml/XMLRedlineImportHelper.cxx:612

the problem is that lcl_GetDocViaTunnel expects the
XTextRange to be a SwXTextRange, but it is not:

(gdb) p *xTunnel._pInterface
$2 = (SvxUnoTextRange) {

this is apparently because the text:p is inside a draw:circle.
according to cl OOo currently does not support change tracking
inside drawing objects anyway, so the easiest fix is to just
not import the tracked change if the XTextRange does not belong
to writer.


fixed in cws sw34bf03
http://hg.services.openoffice.org/hg/cws/sw34bf03/rev/bc5dd26cbd6f

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[sw-issues] [Issue 115174] Crash when opening odt do cument having a lot of graphics and Redlines

2010-10-21 Thread mru
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115174


User mru changed the following:

What|Old value |New value

 Assigned to|writerneedsconfirm|od

  Ever confirmed|  |1

  Status|UNCONFIRMED   |NEW

 Summary|Crash when opening documen|Crash when opening odt doc
|t |ument having a lot of grap
|  |hics and Redlines

Target milestone|---   |OOo 3.4





--- Additional comments from m...@openoffice.org Thu Oct 21 10:59:58 + 
2010 ---
MRU-OD: please have a look, opening the attached document will crash at about
50% of the import process.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[sw-issues] [Issue 115174] Crash when opening odt do cument having a lot of graphics and Redlines

2010-10-21 Thread od
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115174


User od changed the following:

What|Old value |New value

  CC|''|'od'





--- Additional comments from o...@openoffice.org Thu Oct 21 12:26:33 + 
2010 ---
od-mst:
Please take over

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[sw-issues] [Issue 115174] Crash when opening odt do cument having a lot of graphics and Redlines

2010-10-21 Thread od
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115174


User od changed the following:

What|Old value |New value

 Assigned to|od|mst





--- Additional comments from o...@openoffice.org Thu Oct 21 12:27:54 + 
2010 ---
;-) - forgot to assign to mst

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org