Bug 167086 - LibreOffice Hangs When Opening Specific .docx Template – Issue with Section 6 (Page 20+)
Summary: LibreOffice Hangs When Opening Specific .docx Template – Issue with Section 6...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-18 17:01 UTC by Leela Vinod
Modified: 2025-06-25 17:58 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
129494_MOMTemplateCausingError.docx (problematic document) (222.77 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-06-18 17:01 UTC, Leela Vinod
Details
Arabic + English document (25.26 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2025-06-24 18:18 UTC, Leela Vinod
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leela Vinod 2025-06-18 17:01:11 UTC
Description:
LibreOffice Writer becomes unresponsive (Not Responding state) when attempting to open the attached Word .docx document. After thorough testing, we identified the issue is specifically related to Section 6 of the document, which starts around Page 20.

Steps to Reproduce:
Steps to Reproduce:

Open LibreOffice Writer.

Load the attached file: 129494_MOMTemplateCausingError.docx.

Wait for the document to load fully.

LibreOffice becomes unresponsive after loading content until around page 20, where Section 6 begins.

Actual Results:
LibreOffice should load and render the entire document, including Section 6, without hanging.

Expected Results:
LibreOffice stops responding while loading the content around Section 6 (Page 20), requiring forced closure.


Reproducible: Always


User Profile Reset: No

Additional Info:
LibreOffice Version: 24.8.2.1

OS: Windows 64 bit
Comment 1 Leela Vinod 2025-06-18 17:01:41 UTC
Created attachment 201351 [details]
129494_MOMTemplateCausingError.docx (problematic document)
Comment 2 m_a_riosv 2025-06-18 23:15:23 UTC
Open fine for me with
Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (es_ES); UI: en-US
Calc: CL threaded

Please test in safe mode, Menu/Help/Restart in Safe Mode

or

Updating LibreOffice.
Comment 3 Takenori Yasuda 2025-06-19 02:06:15 UTC
Open fine in Safe Mode
Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 26100); UI render: default; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded


Freeze or hang in Safe Mode
Version: 25.8.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: 8a74eada6b7e7f8b2c7319748a9c3b21b91a7b17
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: default; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded
Comment 4 m_a_riosv 2025-06-19 11:13:33 UTC
No issue for me with
Version: 25.8.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: 8a74eada6b7e7f8b2c7319748a9c3b21b91a7b17
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (es_ES); UI: en-US
Calc: CL threaded

Please, test if you can enable Menu>Tools>Options>LibreOffice>View - Skia
Comment 5 Takenori Yasuda 2025-06-19 16:07:56 UTC
LibreOffice Writer froze even with Skia enabled.

Version: 25.8.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: 8a74eada6b7e7f8b2c7319748a9c3b21b91a7b17
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded Jumbo

Version: 25.8.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: 8a74eada6b7e7f8b2c7319748a9c3b21b91a7b17
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded


Note:
I can open the attached file.
However, when I try to perform any operation, it freezes and becomes unresponsive. Just to be sure, I waited 10 minutes after opening the file before attempting any operations, but the same result occurred.
At that time, the total number of pages was 5 (it should have been 27 pages if loaded correctly). In my environment, it seems to freeze after loading 5 pages.
Comment 6 m_a_riosv 2025-06-20 00:14:26 UTC
I can go through the file without any issue
Version: 25.8.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: 8a74eada6b7e7f8b2c7319748a9c3b21b91a7b17
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (es_ES); UI: en-US
Calc: CL threaded

Have you tried to update the graphics driver, directly from the vendor, instead of leave Win to do it?

OpenCL is not enabled in your configuration, that could be a sign of issues with the driver.
Comment 7 Takenori Yasuda 2025-06-20 06:21:09 UTC
I've confirmed that even with the same LibreOffice version where the hang occurred previously, the document now loads successfully when the Locale is set to a non-CJK language, such as en-US or en-GB, without changing any other conditions — Skia and OpenCL settings, graphics drivers, etc., remained exactly the same.

In contrast, when the Locale is set to a CJK language (ja-JP, zh-CN, zh-TW, or ko-KR), the document still hangs, exactly as before.  
Enabling or disabling Skia and OpenCL does not affect the result.


(In reply to m_a_riosv from comment #6)
> Have you tried to update the graphics driver, directly from the vendor,
> instead of leave Win to do it?
As a general Windows user without specific expertise in that area, I would prefer not to update the graphics driver manually. I'd like to avoid risking the stability of my current system. I'm sorry I can't follow your recommendation, and I appreciate your understanding.
Comment 8 m_a_riosv 2025-06-20 22:11:10 UTC
(In reply to Takenori Yasuda from comment #7)
>..............
> > Have you tried to update the graphics driver, directly from the vendor,
> > instead of leave Win to do it?
> As a general Windows user without specific expertise in that area, I would
> prefer not to update the graphics driver manually. I'd like to avoid risking
> the stability of my current system. I'm sorry I can't follow your
> recommendation, and I appreciate your understanding.

It is not done manually, the main vendors like Amd, Intel, etc. have their own programs to keep the system properly updated.
But it's yuor choice.
Comment 9 Leela Vinod 2025-06-24 18:18:03 UTC
Created attachment 201448 [details]
Arabic + English document
Comment 10 Leela Vinod 2025-06-24 18:21:46 UTC
Attached document not able to open in 25.2.8 but I am able to open this document in 7.x version. I am not sure exact reason for this.
Comment 11 m_a_riosv 2025-06-24 21:59:39 UTC
Open fine again for me with
Version: 25.8.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: e289ec223a14460abb7e09fbdf6a868f0a1f71cf
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (es_ES); UI: en-US
Calc: CL threaded

Fails with
Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (es_ES); UI: en-US
Calc: CL threaded

Latest version that works on the ones I have installed.
Version: 7.6.7.2 (X86_64) / LibreOffice Community
Build ID: dd47e4b30cb7dab30588d6c79c651f218165e3c5
CPU threads: 16; OS: Windows 10.0 Build 26100; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 12 Takenori Yasuda 2025-06-25 07:23:49 UTC
I tested the newly attached document (Attachment 201448 [details]) as well. It hangs in 25.2.4.3, but opens fine in 25.8.0.0.beta1+, including in Safe Mode. Details below:

Open.
Version: 25.8.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: e289ec223a14460abb7e09fbdf6a868f0a1f71cf
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded Jumbo

Open in Safe Mode.
Version: 25.8.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: e289ec223a14460abb7e09fbdf6a868f0a1f71cf
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: default; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded

---

Hang.
Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded Jumbo

Hang in Safe Mode.
Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 26100); UI render: default; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded