https://bz.apache.org/ooo/show_bug.cgi?id=127689

Anca Lostun <anca.los...@altom.ro> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anca.los...@altom.ro

--- Comment #2 from Anca Lostun <anca.los...@altom.ro> ---
I was able to replicate this bug on my system: AOO420m1(Build:9800) -
Rev.1829211(Windows 10) using the .doc file attached to the ticket.  

I managed to isolate the cause of the problem to the file content, specifically
an anchored table that has another table nested in the first column of the
first row. The place where the second table is nested might be influenced by
the location of the anchor.

See attached a more simplified file to replicate the issue (testfile.doc)

Steps to reproduce:
1. Open testfile.doc in AOO and note that if can be opened successfully. 
https://www.screencast.com/t/Eb2FysnLop30 
2. Open the file in Microsoft Office Word (I used Word 2007). 
3. Insert a table in the first column of the first row of the existing table
and save. 
4. Open the file again in AOO 
   Result: the application crashes. 

Note that the crash does not happen if all the editing is done in AOO. 


Other tests that I tried:  

1. Open in AOO other .doc files created with MS Office 2007 and LibreOffice 
Result: files are opened successfully so it doesn't seem to be an extension
problem.

2. Open the original .doc file attached to the ticket in MS Office 2007 and
LibreOffice.
Result: the file is opened successfully, so the file is not corrupted. 

3.1. Open the attached .doc in LibreOffice, save, then open it in AOO 
Result: the file is now opened successfully.
3.2  Open the attached .doc in MS Word, save, then open it in AOO 
Result: AOO crashes
It seems that the problem is related to how the file content has been initially
saved, possibly in MS Word.

Several tests done to isolate which part of the content could be problematic
(text formatting, pictures, tables, footer).
Starting from the attached .doc, open in MS Word 2007 and:  
4.1 remove the pictures, save, open the file in AOO -> AOO still crashes  
4.2 remove the footer, save, open the file in AOO -> AOO still crashes  
4.3 remove the tables, save, open the file in AOO -> file opened successfully  

When I checked the tables closer I noticed that there is one big table with 2
other small ones nested in the first two columns of the first row 
https://www.screencast.com/t/sVBuOeAMDTd (borders of each table are highlighted
in different colors for better visibility)

AOO crashes only when opening the file with a nested table in the 1st column of
the 1st row and the main table seems to be anchored.  

I've also tried with nested tables inserted in the 2nd row or 2nd column and
the file can be opened successfully in AOO.

When creating a .doc file in MS Word 2007, with a simple table (not anchored)
having another table in the 1st column of the 1st row, the file can be opened
successfully in AOO so the anchor seems to be a critical condition.  

>From my tests, the number of rows and columns of the main table and the nested
table doesn't seem to matter.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to