Bug 170161 - LibreOffice Writer crashes if I attempt to add Table of contents.
Summary: LibreOffice Writer crashes if I attempt to add Table of contents.
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-29 08:36 UTC by Rinka Singh
Modified: 2025-12-29 10:58 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
I have attached a file test.odt that will help in recreating the issue. LibreOffice crashes when I try to generate the Table of contents. (12.95 KB, application/vnd.oasis.opendocument.text)
2025-12-29 08:38 UTC, Rinka Singh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rinka Singh 2025-12-29 08:36:05 UTC
Description:
I created text using Grok and pasted it into the document.
I then formatted/cleaned out the document
Tried to insert Table of contents
and LibreOffice crashed...

Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.4
Calc: threaded

Steps to Reproduce:
1. as described in description.
2.
3.

Actual Results:
It crashes every time.

Expected Results:
Table of contents should have been generated and I should be able to continue.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.4
Calc: threaded

Memory is not an issue, I have sufficient memory.
Comment 1 Rinka Singh 2025-12-29 08:38:10 UTC
Created attachment 204849 [details]
I have attached a file test.odt that will help in recreating the issue.  LibreOffice crashes when I try to generate the Table of contents.

Please see description.
Comment 2 BogdanB 2025-12-29 09:24:41 UTC
Working well with
Version: 25.8.3.1 (X86_64)
Build ID: 52ad9dd1c984050a9fb6932dbfb16e86a49e9758
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: ro-RO (en_US.UTF-8); UI: en-US
Calc: threaded

You can try 2 things:
- reset user profile (To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile (<https://wiki.documentfoundation.org/UserProfile>) and
re-test?)

- try a new version: https://www.libreoffice.org/download/download-libreoffice/
Comment 3 Takenori Yasuda 2025-12-29 09:58:07 UTC
It seems to me that this could be a duplicate of Bug 163325.
Comment 4 BogdanB 2025-12-29 10:58:32 UTC
In this case this is an old bug in an old version, so, Rinka, if you will test with the new versions available for your system, the problem is already solved.