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)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
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:


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
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

Finally stops in 6.1 (but crashes on scroll)

crashing in 
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: (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.

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

Version: (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: (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.


- 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: (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