Bug 32984 - [FILEOPEN] Some watermarks make Writer loop on import.
Summary: [FILEOPEN] Some watermarks make Writer loop on import.
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 RC1
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-10 19:05 UTC by Octavio Alvarez
Modified: 2017-06-03 03:46 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Document that make Writer loop on import. (65.16 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2011-01-10 19:05 UTC, Octavio Alvarez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Octavio Alvarez 2011-01-10 19:05:27 UTC
Created attachment 41866 [details]
Document that make Writer loop on import.

This document makes LibreOffice Writer loop on import. It was not specially crafted, as it was received by someone else. However, it was modified for censoring.

The red square was a watermark image of almost the same size as the sheet. I think this is the cause of the loop.

This document is the smallest version I could make to reproduce the problem. I noticed that for each paragraph it inserts one extra page, until it reaches 17 or 18 (all small paragraphs) it jumps up to about 72 and then it starts going up nuts.

Tested on LibreOffice RC1 and almost master under Linux (Debian Sid and Ubuntu 10.04) on 32 and 64-bit platforms.
Comment 1 Chris Peñalver 2011-06-20 18:50:41 UTC
Octavio Alvarez, this issue is unreproducible in Ubuntu 11.04 via the Terminal:

cd ~/Desktop && wget -c https://bugs.freedesktop.org/attachment.cgi?id=41866 -O example.docx && lowriter -nologo example.docx

notice the file opened quickly and successfully. Marking RESOLVED FIXED.

lsb_release -rd
Description:	Ubuntu 11.04
Release:	11.04

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
Comment 2 vihsa 2017-06-03 03:46:05 UTC
per comment 1, verified, hence status change.

Version: 5.5.0.0.alpha0+
Build ID: 066665644b398a882e6cded98af5bb060af41d76
TinderBox: Android-ARM@24-Bytemark-Hosting, Branch: Master, Time: 2017-06-01 00:30:43