<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Crash on & opening recovered file after removing title from long(?) Table Of Contents [EDITING] [FILEOPEN]"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126014">126014</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash on & opening recovered file after removing title from long(?) Table Of Contents [EDITING] [FILEOPEN]
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.2.4.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>gamemanj@hotmail.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
LibreOffice crashes after removing title from a long Table Of Contents in the
file referenced in the reproduction steps.
The resulting file on recovery also crashes.
I'm not sure of the details.

Steps to Reproduce:
1. Open <a href="https://20kdc.duckdns.org/Crasher.odt">https://20kdc.duckdns.org/Crasher.odt</a>
2. Edit the Table Of Contents index
3. Remove the text from the index's title
4. Confirm - Program will crash.

Actual Results:
Program will crash.
Recovered file should be similar to <a href="https://20kdc.duckdns.org/Crasher.odt_0.odt">https://20kdc.duckdns.org/Crasher.odt_0.odt</a>
and this will crash the program too.


Expected Results:
Removal of title from Table Of Contents.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Text contents of file were changed before reporting, but I confirmed the new
file does still have the same effect.
It seems reduction of the size *too much* causes the crash not to happen - if
it doesn't happen, maybe copy/paste some chapters, IDK?

UserProfile reset was performed as going into safe mode, rather than a true
reset - this should be sufficient?

I am assuming that "Use hardware acceleration" means OpenGL is on because the
option you specify on the "checking" page doesn't exist.

Version: 6.2.4.2.0+
Build ID: 6.2.4-1
CPU threads: 8; OS: Linux 5.1; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Arch Linux package in use:
extra/libreoffice-fresh 6.2.4-1 [installed]
    LibreOffice branch which contains new features and program enhancements

Backtrace (for a 'opened corrupted file' run):
<a href="https://20kdc.duckdns.org/crasher-gdbtrace.log">https://20kdc.duckdns.org/crasher-gdbtrace.log</a>

Valgrind seems to slow things down a *lot* - ask if you can't recreate it</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>