Bug 67792 - FILEOPEN: [DOC] possible infinite loop in importer
Summary: FILEOPEN: [DOC] possible infinite loop in importer
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 14:32 UTC by Valek Filippov
Modified: 2015-05-19 14:41 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
PDF export of page 172 using 4.4.0.0 alpha from Oct 6 (30.26 KB, application/pdf)
2014-10-07 11:17 UTC, Buovjaga
Details
PDF export of page 100 from Word in LO (279.98 KB, application/pdf)
2015-05-19 13:56 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valek Filippov 2013-08-05 14:32:28 UTC
LO Writer opens and shows file (~770 pages), than it starts to increment page number counter and everything slows down. I've killed it after ~2000 "pages".
Comment 1 retired 2013-08-06 03:27:59 UTC
Hi Valek,

can you please attach a sample document producing this issue? Otherwise it's impossible to confirm this bug.

After attaching a sample document, please re-set this bug to UNCONFIRMED. Thanks :)
Comment 2 Valek Filippov 2013-08-06 04:02:35 UTC
Oh... I'd missed that attachment was too large first time.
The file is here:
http://libelli.ru/z/14/bd29.zip
Comment 3 Joel Madero 2013-08-06 19:27:04 UTC
It doesn't look like an infinite loop - it looks like pages are just really messed up. Going to see if it ever worked right with bibisect - likely been around since forking from OOo
Comment 4 Jean-Baptiste Faure 2013-09-14 08:37:06 UTC
For me there is really a bug. I encounter the same bahavior with LO 4.0.5 (generic Linux version), 4.1.3.0.0+ (build at home) and the master under Ubuntu 13.04 x86-64.
If I launch the command Tools > Update > Page formatting, the progress bar moves forward and backward, suggesting an infinite loop restarting the page formatting computation.

Best regards. JBF
Comment 5 Buovjaga 2014-10-07 11:17:37 UTC
Created attachment 107482 [details]
PDF export of page 172 using 4.4.0.0 alpha from Oct 6

Exported page 172 as PDF to show an example of messy rendering.

On 4.3.2.2 and 4.4.0.0 dev build, I don't get infinite loop with Tools > Update > Page formatting.

Version: 4.4.0.0.alpha0+
Build ID: 9177329a425cf70b515d1f266132838894fe54c6
TinderBox: Win-x86@39, Branch:master, Time: 2014-10-06_01:02:02
Comment 6 Buovjaga 2015-01-07 13:30:27 UTC
Lowered version number after reproducing hang on opening in:

Ubuntu 14.10 64-bit
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735

Yet this should probably be closed and a new one opened for the messy rendering.
Comment 7 Timur 2015-05-19 13:56:27 UTC
Created attachment 115714 [details]
PDF export of page 100 from Word in LO

Word shows 780 pages. As noted, current LO versions open more, LO 4.4.3 ~1580 pages, LO 5.0 ~1650 pages, but that doesn't seem to increment endlessly. 

(In reply to Beluga from comment #5)
> Created attachment 107482 [details]
> PDF export of page 172 using 4.4.0.0 alpha from Oct 6
That's page 100 from Word, current page 170 in LO 5.0.
Comment 8 Timur 2015-05-19 14:06:13 UTC
(In reply to Beluga from comment #6)
> Yet this should probably be closed and a new one opened for the messy
> rendering.
I'll close this one as WFM. If you feel that's inappropriate, feel free to reopen, but please read the following before. 

Problems with rendering are obvious, but:
- it's highly unlikely that any bugs of type "multiple problems/bad rendering", will be fixed
- each issue (section break, paragraph break, text box, picture...) should be reported separately, after a search for already reported bugs
- if bugs don't exist, they should be reported separately, even if they happen with the same file
- the document is created with manual interventions which is not the proper way for a complex text document.
Comment 9 Timur 2015-05-19 14:41:36 UTC
Of course, it's not Linux only, but also Windows problem, thus All.