Public bug reported:
LibreOffice Writer hangs (>5 min) and aborts (SIGABRT) when opening a
large 1500-page pure-text ODT file across all VCL backends Edit
Hello Ubuntu / LibreOffice maintainers,
LibreOffice Writer is completely unable to open larger text documents
(around 1500 pages) on Kubuntu 26.04.1 LTS. While small ODT files open
normally, larger ODT files freeze indefinitely (even after waiting more
than 5 minutes) and end up aborting with SIGABRT.
Interestingly, the exact same 1500-page ODT file opens almost
instantaneously without any issues in a third-party editor (WordCraft),
which strongly points to a severe performance regression or layout hang
inside LibreOffice Writer's document loading / single-threaded layout
engine.
Please investigate and fix this issue, as handling large multi-hundred
or 1000+ page text documents is a critical basic requirement for a
flagship office suite, and currently LibreOffice Writer is completely
unusable for such files on Ubuntu 26.04.
---
### System Information
- OS: Kubuntu / Ubuntu 26.04.1 LTS (Resolute Raccoon), KDE Plasma 6.6.5
(Wayland)
- Kernel: Linux 7.0.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 6
02:38:04 UTC 2026 x86_64
- Hardware: Dell Inc. Precision M4800 (Intel i915 graphics)
- Package: libreoffice 4:26.2.6.3-0ubuntu0.26.04.2 (with Qt 6.10.2 / KF 6.24.0)
---
### Affected File Characteristics
The affected file is a pure-text ODT (~1500 pages) with NO embedded images or
heavy media:
- Compressed size: 2.0 MB
- Archive contents (7 files total, 10,051,352 bytes uncompressed):
- mimetype: 39 bytes
- META-INF/manifest.xml: 746 bytes
- content.xml: 9,958,950 bytes (~9.5 MiB)
- styles.xml: 73,667 bytes
- meta.xml: 1,713 bytes
- settings.xml: 15,338 bytes
- manifest.rdf: 899 bytes
---
### Steps to Reproduce & Workarounds Tested (All Failed)
1. Attempted to open the 2.0 MB (~1500-page) `.odt` file normally in
LibreOffice Writer (default kf6/qt6 Wayland backend).
2. Waited over 5 minutes; the window remained unresponsive and `soffice.bin`
aborted with Signal 6 (`SIGABRT`).
3. Tested forcing every alternative VCL backend and disabling Skia/recovery —
ALL of them hung in the exact same way without opening the document:
- `SAL_USE_VCLPLUGIN=gtk3 libreoffice --writer <file.odt>` -> hangs
indefinitely
- `QT_QPA_PLATFORM=xcb libreoffice --writer <file.odt>` -> hangs indefinitely
- `SAL_USE_VCLPLUGIN=gen libreoffice --writer <file.odt>` -> hangs
indefinitely
- `SAL_DISABLESKIA=1 libreoffice --norestore --writer <file.odt>` -> hangs
indefinitely
---
### Relevant GDB Backtrace (with debuginfod symbols)
During the freeze/abort, the main thread (`LWP 7741`) was busy inside
`SwViewShell::LayoutIdle()` formatting text lines and font glyph caches:
#0 rtl_uString_acquire (pThis=0x628e9edd0320) at sal/rtl/ustring.cxx:1115
#4 OutputDevice::ImplNewFont() const () from libmergedlo.so
#5 OutputDevice::GetFontMetric() const () from libmergedlo.so
#6 SalLayoutGlyphsCache::CachedGlyphsKey::CachedGlyphsKey(...) from
libmergedlo.so
#7 SalLayoutGlyphsCache::GetLayoutGlyphs(...) from libmergedlo.so
#14 SwTextFrame::FormatLine(SwTextFormatter&, bool) () from libswlo.so
#15 SwTextFrame::Format_(...) () from libswlo.so
#17 SwTextFrame::Format(...) () from libswlo.so
#18 SwContentFrame::MakeAll(OutputDevice*) () from libswlo.so
#25 SwViewShell::LayoutIdle() () from libswlo.so
#27 Scheduler::CallbackTaskScheduling() () from libmergedlo.so
...
#44 Dialog::Execute() () from libmergedlo.so
#50 callSignalHandler (...) at sal/osl/all/signalshared.cxx:47
#51 signalHandlerFunction (signal=6, ...) at sal/osl/unx/signal.cxx:423
#57 SalUserEventList::DispatchUserEvents(bool) () from libmergedlo.so
#61 Application::Execute() () from libmergedlo.so
#64 soffice_main () from libmergedlo.so
Code
And the crashing thread (`LWP 7745`) terminated via:
#0 __GI_abort () at ./stdlib/abort.c:95
#1 signalHandlerFunction (signal=6, ...) at sal/osl/unx/signal.cxx:436
Code
---
### Expected Behavior
LibreOffice Writer should open a 2.0 MB pure-text ODT file promptly (within
seconds) without hanging for >5 minutes or crashing with SIGABRT, regardless of
whether the user is on Wayland, X11, Qt6, or GTK3.
Please prioritize fixing this performance/layout bottleneck in Writer so
large documents can be opened reliably again.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: libreoffice-writer 4:26.2.6.3-0ubuntu0.26.04.2
ProcVersionSignature: Ubuntu 7.0.0-44.44-generic 7.0.14
Uname: Linux 7.0.0-44-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Sat Nov 21 00:09:51 2026
InstallationDate: Installed on 2026-04-28 (206 days ago)
InstallationMedia: Kubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423)
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: libreoffice (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175442
Title:
LibreOffice Writer is completely unable to open larger text documents
(around 1500 pages) on Kubuntu 26.04.1 LTS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2175442/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs