Bug 62822 - FILEOPEN: Freeze when import DOC file with embedded table in table longer than 1 page
Summary: FILEOPEN: Freeze when import DOC file with embedded table in table longer tha...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.4 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA (target:4.2.5) (target:4.3.0)
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 15:47 UTC by Laurent Balland
Modified: 2014-07-20 11:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
DOC file which freeze LibO (41.50 KB, application/msword)
2013-03-27 15:47 UTC, Laurent Balland
Details
DOC file with shorten table which is correctly opened (41.00 KB, application/msword)
2013-03-27 15:53 UTC, Laurent Balland
Details
DOC file with an empty table (24.00 KB, application/msword)
2013-04-01 15:29 UTC, Laurent Balland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Balland 2013-03-27 15:47:28 UTC
Created attachment 77108 [details]
DOC file which freeze LibO

Problem description: 

Steps to reproduce:
1. open attached file "LongTable.doc"

Current behavior:
LibO freeze

Expected behavior:
File should be opened with a long table embedded in a cell. The table is longer than 1 page.

If the content of the table is reduced so that table is fitting in less than one page, then LibO is able to open it. See "ShortTable.doc" which is the same file modified with Word 2003 to remove some lines.
However, I was not able to reproduce with a new document from Word 2003.

I reproduce with LibO 4.0.1.2, 3.6.6.1, 3.3.4, AOO 3.4.0, OOo 3.2.0 portable.
I do NOT reproduce with OOo 2.4.1 portable
              
Operating System: Windows 7
Version: 3.3.4 release
Comment 1 Laurent Balland 2013-03-27 15:53:23 UTC
Created attachment 77109 [details]
DOC file with shorten table which is correctly opened

This file is the same as the previous one, but with a shorten table.
Comment 2 Jacques Guilleron 2013-03-27 16:05:23 UTC
Reproduced with lo 4.0.3.0+ (Build ID: 64a3b58a9ace11c6a01708e8de14712e27e0204), LO 3.6.4.3 Portable and LO 4.0.2.1. Windows 7 Home Premium.

Jacques Guilleron
Comment 3 Laurent Balland 2013-03-27 20:44:34 UTC
In the same way:
1. Open second attachment "DOC file with shorten table which is correctly opened"
2. Move to second page
3. Click inside embedded table
4. Add a line with "Enter" key
=> LibO freeze

Note: attachment files were saved with MS-Word 2003.
Comment 4 Laurent Balland 2013-04-01 15:28:23 UTC
The problem is when there is a "do not split paragraph" in one cell, and next cell contains a table larger than 1 page.

Simpler procedure from scratch:
- In MS Word 2003, create a new document
- insert a table, 2 columns, 1 row
- in first cell, set "Title 1" as style
- in second cell, insert a table (one cell)
- save as DOC file (see third attachment "SimpleTable.doc")

- open "SimpleTable.doc"
- in embedded table insert many paragraphs with Enter key
=> when table exceeds one page LibO freezes
Comment 5 Laurent Balland 2013-04-01 15:29:22 UTC
Created attachment 77276 [details]
DOC file with an empty table
Comment 6 Laurent Balland 2013-04-01 15:31:22 UTC
I cannot reproduce directly from LibO, because LibO adds empty paragraph with table in the second cell. Word insert the embedded table without empty paragraph.
Comment 7 Alexandr 2014-07-20 11:54:33 UTC
I reproduce the freeze with LibreOffice 3.5.4 from Debian Wheezy, but I open the file without problems with LibreOffice 4.2.5 and 4.3.0. I set bugstatus to "resolved worksforme", because I do not know which patch solves the problem. Feel free to reopen it if you can reproduce the issue with LibreOffice 4.3.0 or later.