Bug 38575 - 2-page DOC or DOCX with image anchored to header yields page counting and block Writer
Summary: 2-page DOC or DOCX with image anchored to header yields page counting and blo...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
Depends on:
Blocks: DOC
  Show dependency treegraph
 
Reported: 2011-06-22 11:05 UTC by Joaquín Cuenca Abela
Modified: 2019-01-21 17:52 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Doc file that blocks LibreOffice. (93.50 KB, application/msword)
2011-06-22 11:05 UTC, Joaquín Cuenca Abela
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joaquín Cuenca Abela 2011-06-22 11:05:37 UTC
Created attachment 48294 [details]
Doc file that blocks LibreOffice.

When I try to open the attached document, LibreOffice v3.4.1RC1 blocks. An earlier version of OpenOffice also blocked, on Windows and on Linux. MS Word has no problem with this file.
Comment 1 Björn Michaelsen 2011-12-23 12:28:57 UTC Comment hidden (obsolete)
Comment 2 Joaquín Cuenca Abela 2011-12-24 11:18:48 UTC
I verified that this document still blocks LibreOffice v3.5.0.
Comment 3 Jorendc 2013-02-17 16:01:23 UTC
This bug still exist using LibreOffice 4.0.0 and Linux Mint 14 x64.
Opening this file result in an endless loop (page count increase fast and infinite) until memory is full.

@Michael, Cédric: memory leak? or an endless loop in the doc import filter of writer?

Kind regards,
Joren
Comment 4 Kevin Suo 2013-06-27 13:46:28 UTC
(In reply to comment #3)
> This bug still exist using LibreOffice 4.0.0 and Linux Mint 14 x64.
> Opening this file result in an endless loop (page count increase fast and
> infinite) until memory is full.
> 

Just tested and confirms it still exists in LibreOffice 4.0.4.2 Release.

Need to confirm how the example file was created.
Comment 5 Björn Michaelsen 2014-01-17 00:43:38 UTC Comment hidden (obsolete)
Comment 6 Joaquín Cuenca Abela 2014-01-17 10:15:45 UTC
Hi,

I don't know how the original file was created. I run a site that receives word files from journalists (not affiliated with us) and we use LibreOffice to take screenshots of these files.

A good percentage of our files are hit by this bug, and it includes files coming from different sources. I didn't take accurate statistics of the percentage of files that are affected by this bug, so I may be overestimating the problem.

I believe our user sample is big enough to be representative of modern word files created today (probably different from a set of historical word files). The main bias that I know of from our sample is that most of our users are spanish.

In my opinion this bug should stay at highest priority.

Cheers,
Comment 7 Joel Madero 2015-05-02 15:44:08 UTC Comment hidden (obsolete)
Comment 8 Gordo 2015-05-15 18:43:28 UTC
Still reproducible.

The image is anchored to character in the header so that it will repeat on each page.

I was able to stop the loop by Image -> Wrap -> under Options, uncheck Contour and OK.

I also noticed the following:
Under Spacing on the Wrap tab, if you move between tabs then Top and Bottom switch places.

On Crop tab, Original Size is 2.72 cm x 27.76m.  Both Scale and Image Size are set larger.  The page height is 29.70 cm and the Size on Type tab is set to 29.92 cm.  The difference is .22cm which shows up under Spacing.

Going back into the Image dialogue and moving between the tabs and adjusting heights set the loop off again.

Windows Vista 64
Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Comment 9 QA Administrators 2016-09-20 09:42:21 UTC Comment hidden (obsolete)
Comment 10 Telesto 2016-12-10 16:40:14 UTC
Repro with:
Version: 5.4.0.0.alpha0+
Build ID: b894104a0b02a9b074c76feb925389d7bee6a493
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-12-10_01:00:52
Locale: nl-NL (nl_NL); Calc: CL

Page count increase fast and infinite
Comment 11 QA Administrators 2017-12-11 08:55:17 UTC Comment hidden (obsolete)
Comment 12 Xavier Van Wijmeersch 2017-12-11 19:45:59 UTC
Repro with:
Version: 6.1.0.0.alpha0+
Build ID: ce652a7f0d2745143a3e1078607a72695ce124f9
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: kde4; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-12-10_00:23:13
Locale: nl-BE (en_US.UTF-8); Calc: group threaded

Page count increase fast and infinite
Comment 13 QA Administrators 2018-12-12 03:43:09 UTC Comment hidden (obsolete)
Comment 14 Timur 2018-12-27 17:18:31 UTC
OO couldn't open at all. LO 4.0 opens but counts and blocks. Repro 6.3+.