Bug 137940 - FILEOPEN ODT: Number of pages keeps increasing (page loop)
Summary: FILEOPEN ODT: Number of pages keeps increasing (page loop)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2020-11-02 16:42 UTC by Telesto
Modified: 2024-02-10 09:00 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-11-02 16:42:55 UTC
Description:
FILEOPEN ODT: Number of pages keeps increasing (page loop)

Steps to Reproduce:
1. Open attachment 127161 [details] (bug 122894)
2. Expect around 511 pages (

Actual Results:
Crashes on scroll with version prior 6.0 and 6.1

Expected Results:
No looping no crash


Reproducible: Always


User Profile Reset: No



Additional Info:
Looping in
7.1

Finally stops in 6.1 (but crashes on scroll)

crashing in 
5.4
Comment 1 Kevin Suo 2020-11-05 16:06:27 UTC
Reproduced on today's master on Fedora 32.

I get a lot of sal_warnings on each increase of number of pages:
warn:legacy.osl:13483:13483:sw/source/core/layout/flowfrm.cxx:2493: <SwFlowFrame::MoveBwd(..)> - missing next new upper

I am adding Miklos Vajna in cc: would you please take a look, as you have recently worked on commit 195b28c9f0cd71776d677d25e562eee8e7bef8d7 which involves SwFlowFrame::MoveBwd(..). However, this bug was already there before you commit, so this may not be a regression caused by your commit.
Comment 2 QA Administrators 2022-11-06 03:38:03 UTC Comment hidden (obsolete)
Comment 3 Roman Kuznetsov 2022-11-09 19:28:34 UTC
LO 7.5 opens it with 511 pages, but after scrolling LO increases page amount to over 750 pages, and when you will scroll to aend of the document it shows 652 pages (and I saw some hang while tried to scroll using scrolbar)

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ddb8a1a282aae74c1cee3a5e1f446abd0c00b116
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded
Comment 4 BogdanB 2023-05-13 19:06:57 UTC
I press Ctrl+End.
Crash.

Another test. Scroll until page 246/758 and freezing.

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ef106661fcc40cfdd406064cbf73fd62477d0e79
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 5 Tex2002ans 2024-02-09 23:07:38 UTC
Loaded "fine" + no crash in:

Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

- - -

511/512 pages = On load.
~540 pages = While waiting/generating (or scrolling).
   - I even saw it go up to ~670 during one try!

And after about a few minutes of letting everything settle:

511 pages = End

- - -

The layout was a little wonky and there were some very strange things going on while it was loading/laying things out... but no crashes for me.

Tried:

- Comment 0 + scrolling.
- Comment 3 + scrolling.
   - Used the scrollbar + mouse wheel.
- Comment 4.
   - Ctrl+End = NO CRASH.
   - I even tried immediately after load, plus a few tests in the middle of it computing.
Comment 6 Telesto 2024-02-10 09:00:07 UTC
Freezes for me by pressing pag down and holding it at pag 252
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ba8f4bff6015013013df652efbfaf4d9ae10c881
CPU threads: 8; OS: macOS 14.3; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

Font substitution being used, no Garamond ITC T on my system