Issue 101116 - WW8: combination of tables inside textboxes crashes Writer
Summary: WW8: combination of tables inside textboxes crashes Writer
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOO310m9
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
Keywords: crash, regression
Depends on:
Blocks: 95768
  Show dependency tree
Reported: 2009-04-15 17:22 UTC by michael.ruess
Modified: 2013-08-07 14:43 UTC (History)
1 user (show)

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

Document to reproduce crash (64.00 KB, application/msword)
2009-04-15 17:29 UTC, michael.ruess
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description michael.ruess 2009-04-15 17:22:59 UTC
Open attached document -> crash
Comment 1 michael.ruess 2009-04-15 17:25:50 UTC
Adding keywords
Comment 2 michael.ruess 2009-04-15 17:29:19 UTC
Created attachment 61589 [details]
Document to reproduce crash
Comment 3 Oliver-Rainer Wittmann 2009-04-16 07:16:39 UTC
fix in progress in cws sw31bf10

defect cause:
A Point-and-Mark structure is kept for the paragraph at the end of table after
each imported table. This Point-and-Mark structure is registered at the text
node representing the paragraph. This Point-and-Mark structure is used for the
import of nested tables in order to delete obsolete paragraphs.
In this case the tables are the only content of text frame. Each text frame
contains a dummy paragraph, which is delete after the import of the text frame
is finished. Thus, the at the paragraph registered Point-and-Mark structure
causes trouble and produces an inconsistent text document model structure
resulting in a null pointer access in the following.
Comment 4 Oliver-Rainer Wittmann 2009-04-16 07:25:58 UTC
Create the Point-and-Mark structure for the paragraph at the end of a table
during the import *only* for nested tables.
Comment 5 Oliver-Rainer Wittmann 2009-04-16 07:50:25 UTC
fixed in CWS sw31bf10 - changed file:
/sw/source/filter/ww8/ww8par2.cxx, rev. 270866
Comment 6 Oliver-Rainer Wittmann 2009-04-16 10:16:59 UTC
OD->MRU: Checked in internal installation set of cws sw31bf10 - please verify.
Comment 7 michael.ruess 2009-04-16 17:04:09 UTC
Verified fix in CWS sw31bf10.
Comment 8 nadejda 2009-04-30 07:56:34 UTC
I verified this issue in OOo310 m9 (Windows XP)- OpenOffice crashed. I got a 
message: 'Due to an unexpected error, crashed....'.

I also verified this issue in OOo310 m11. NO crash.
Comment 9 michael.ruess 2009-04-30 15:49:48 UTC
The fix is integrated since OOO310m11 nd DEV300m47 build; thus m9 will crash.
Comment 10 nadejda 2009-05-03 00:14:44 UTC
Verified also in OOo-dev 3.2.0 DEV300m44 (PC, Windows XP).