Description: 1. Using Version: 24.8.2.1, Create a Writer document with the “Simple” template or with a user-custom template. Do not use the Default template. 2. Add some text with headings using styles. 3. Attempt to insert a Table of Contents: Insert → Table of Contents and Index → Table of Contents, Index or Bibliography. Writer crashes while trying to open the dialog. If reopened in Safe Mode, the TOC can be inserted without problem. Once the TOC is inserted and saved, and LO is run in Normal Mode, Writer crashes for the document when the Edit Index option is selected. If reopened in Safe Mode, the TOC can be edited without problem. Finally, if the document has the Default template, LO Writer does not crash in Normal mode when inserting or editing the TOC. This issue did not occur in v7.6. v24.8.2.1 is the first time I have used any v24, so I do not not if the issue is present in earlier versions of v24. Steps to Reproduce: 1. Using Version: 24.8.2.1, Create a Writer document with the “Simple” template or with a user-custom template. Do not use the Default template. 2. Add some text with headings using styles. 3. Attempt to insert a Table of Contents: Insert → Table of Contents and Index → Table of Contents, Index or Bibliography. Actual Results: Writer crashes. Expected Results: Table of contents should be inserted. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 24.8.2.1 (X86_64) / LibreOffice Community Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13 CPU threads: 20; OS: Windows 11 X86_64 (10.0 build 22631); UI render: default; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded
Created attachment 197138 [details] Sample file using Simple template. Writer crashes when trying to insert Table of Contents
Crash with attached file, but seems solved for the next release 24.8.3 Version: 24.8.2.1 (X86_64) / LibreOffice Community Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded But not reproducible with Version: 24.8.3.0.0+ (X86_64) / LibreOffice Community Build ID: f7b102bc705d3bd98f7d2efa52c24eb6e2573642 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded neither Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b4faa1775dfd90e781ac2f94a7ae1ada31b9d49f CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: threaded Release plan 24.3 https://wiki.documentfoundation.org/ReleasePlan/24.8#24.8.3_release Maybe you can find a workaround, up to 24.8.3 release, or download dev version from https://dev-builds.libreoffice.org/daily/libreoffice-24-8/ It must be installed on parallel.
I have installed 24.8.3.2 and the problem still occurs and is now even worse. The comment by m_a_riosv that the problem would be solved in 24.8.3 release appears to be incorrect. As before, trying to EDIT a table of contents in a document that does not use the Default template crashes LO. Now, trying to EDIT a table of contents in a document that does use the Default template also crashes LO. Additionally, now, trying to INSERT a table of contents or index crashes LO, even if the document's template is Default. The crash occurs when Insert -> Table of Contents and Index is selected. I have attempted these actions multiple times on 23 Nov. 2024 and had LO send in crash reports each time, in case you have access to them. These problems do not occur in safe mode. I am running: Version: 24.8.3.2 (X86_64) / LibreOffice Community Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92 CPU threads: 20; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
I faced the same problem. And in my verification (mainly with my own files), I found the following. - Crash on insertion: - Default template - Non-default but originally included templates in LibreOffice - Templates created in 24.8.3.2 - Files created in 24.8.3.2 - Files created in 24.2.3, saved in 24.8.0.3 - Files saved by OTHERS in 7.2.0.0 - Files created in Safe Mode of 24.8.3.2 - Do not occur (able to insert or edit): - Templates created in versions prior to 24.8 - Files created in versions prior to 24.8, saved in 24.8.3.2 - Files created in versions prior to 7.5, saved in 24.8.2.1 These problems do not occur in Safe Mode. Version: 24.8.3.2 (X86_64) / LibreOffice Community Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92 CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: CL threaded Jumbo
Hello, Following instructions found in https://ask.libreoffice.org/t/insert-edit-table-of-contents-causes-crash/113195 the crash does not occur when the Preview option is unticked. It is possible to untick it because (in my situation) the TOC edit/create window is still open after the crash and before the file autosave. It seems that the issue is somehow related to the preview. Version: 24.8.3.2 (X86_64) / LibreOffice Community Build ID: 480(Build:2) CPU threads: 8; OS: Linux 6.12; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR 24.8.3-2 Calc: threaded
*** This bug has been marked as a duplicate of bug 163325 ***
Please test 24.8.4. This release solved this bug.
I confirm that version 24.8.4 has resolved the bug. I can now insert tables of content and edit them without crashes.
Nice, great. Anyway, thanks for reporting.