Bug 167624 - Writer hangs for over 10 minutes unable to open a document
Summary: Writer hangs for over 10 minutes unable to open a document
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: László Németh
URL:
Whiteboard: backportRequest:25.2
Keywords: bibisected, bisected
Depends on:
Blocks: Performance
  Show dependency treegraph
 
Reported: 2025-07-21 21:06 UTC by Yousuf Philips (jay) (retired)
Modified: 2025-08-01 14:41 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
page 18 of doc (30.86 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-07-21 21:09 UTC, Yousuf Philips (jay) (retired)
Details
page 119 of the doc (31.28 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-07-21 22:19 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2025-07-21 21:06:47 UTC
Description:
I tried to open a 180+ page document and writer hangs for over 10 minutes, so i killed the process. I reduced the document to only the first 20 pages and it still hangs for over 10 minutes. I was able to reduce the pages to a single page and still result in hang.

Steps to Reproduce:
1. open document

Actual Results:
UI hangs for over 10 minutes

Expected Results:
document should appear to be browsed


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 4; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded
Comment 1 Yousuf Philips (jay) (retired) 2025-07-21 21:09:31 UTC
Created attachment 201930 [details]
page 18 of doc
Comment 2 Yousuf Philips (jay) (retired) 2025-07-21 22:19:04 UTC
Created attachment 201931 [details]
page 119 of the doc

found a second 1-page that also caused the hang, though not sure if it is due to the same issue or not
Comment 3 m_a_riosv 2025-07-21 22:20:34 UTC
Reproducible with
Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

even in Safe Mode



Open fine with
Version: 25.8.0.1.0+ (X86_64) / LibreOffice Community
Build ID: e2272d311c8a7f2ac6eb8df3e222dec12d83b248
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
AND
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 49279f6a01c4f07b723072c068a9c1eab5b7f292
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded
Comment 4 Yousuf Philips (jay) (retired) 2025-07-21 22:31:12 UTC
Both attached docs opened fine in my older version, so its a regression of some kind that should be tracked down.

Version: 7.5.7.1 (X86_64) / LibreOffice Community
Build ID: 50(Build:1)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:7.5.7-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 5 Telesto 2025-07-26 20:25:50 UTC
Reverse bibisect..
Comment 6 BogdanB 2025-07-27 06:35:44 UTC
In debug version I get:
warn:legacy.osl:6732:6732:sw/source/uibase/app/docstyle.cxx:1327: SwCharFormat missing!
warn:legacy.osl:6732:6732:sw/source/uibase/app/docstyle.cxx:1327: SwCharFormat missing!
warn:legacy.osl:6732:6732:sw/source/core/unocore/unobkm.cxx:157: CreateXBookmark: no MarkBase?
warn:legacy.osl:6732:6732:sw/source/core/unocore/unobkm.cxx:157: CreateXBookmark: no MarkBase?
warn:legacy.osl:6732:6732:sw/source/core/unocore/unobkm.cxx:157: CreateXBookmark: no MarkBase?
warn:sw.uno:6732:6732:sw/source/core/unocore/unocrsrhelper.cxx:1184: DocInsertStringSplitCR: refusing to insert control character 5
warn:writerfilter.dmapper:6732:6732:sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx:4164: PushFootOrEndnote() is called from another foot or endnote
warn:sw.uno:6732:6732:sw/source/core/unocore/unocrsrhelper.cxx:1184: DocInsertStringSplitCR: refusing to insert control character 5
warn:writerfilter.dmapper:6732:6732:sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx:4164: PushFootOrEndnote() is called from another foot or endnote
warn:sw.uno:6732:6732:sw/source/core/unocore/unocrsrhelper.cxx:1184: DocInsertStringSplitCR: refusing to insert control character 5
warn:legacy.osl:6732:6732:sw/source/core/unocore/unobkm.cxx:157: CreateXBookmark: no MarkBase?
warn:legacy.osl:6732:6732:sw/source/core/unocore/unobkm.cxx:157: CreateXBookmark: no MarkBase?
warn:legacy.osl:6732:6732:sw/source/core/unocore/unobkm.cxx:157: CreateXBookmark: no MarkBase?
warn:writerfilter:6732:6732:sw/source/writerfilter/dmapper/PropertyMap.cxx:625: Paper source not found com.sun.star.lang.IllegalArgumentException message: "at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/sw/source/core/unocore/unostyle.cxx:1710" ArgumentPosition: 0
warn:legacy.osl:6732:6732:oox/source/helper/storagebase.cxx:67: StorageBase::StorageBase - missing base input stream
Comment 7 Saburo 2025-07-30 23:28:06 UTC
bibisected with linux-64-25.8
Version: 25.8.0.0.beta1+ (X86_64)
commit edb1e8f1a0fca2489b722877917283f616e3acd9
author	László Németh <nemeth@numbertext.org>	Mon Jun 02 19:54:43 2025 +0200

tdf#166113 sw smart justify: adjust algorithm for interoperability