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 https://20kdc.duckdns.org/Crasher.odt 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 https://20kdc.duckdns.org/Crasher.odt_0.odt 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): https://20kdc.duckdns.org/crasher-gdbtrace.log Valgrind seems to slow things down a *lot* - ask if you can't recreate it
steps to reproduce: - Open document: https://20kdc.duckdns.org/Crasher.odt - Context Menu: Edit index - change Title: Hello[OK] - Context Menu: Edit index - delete Title text [OK] - crash / Table of content dialog freezes confirming with: Version: 6.2.4.2 (x64) Build-ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64 CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win; Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE Calc: Version: 6.1.6.3 (x64) Build ID: 5896ab1714085361c45cf540f76f60673dd96a72 CPU threads: 4; OS: Windows 10.0; UI render: default; Locale: de-DE (de_DE); Calc: Version: 6.0.7.3 (x64) Build-ID: dc89aa7a9eabfd848af146d5086077aeed2ae4a5 CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; Gebietsschema: de-DE (de_DE); Calc: *not* reproducible with: Version: 5.4.7.2 (x64) Build-ID: c838ef25c16710f8838b1faec480ebba495259d0 CPU-Threads: 4; BS: Windows 6.19; UI-Render: Standard; Gebietsschema: de-DE (de_DE); Calc: single
On linux it hangs instead of crashing. The hang got fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=b7d4418c309c8bc4fd25485dd3a0ea6ad9edf34e Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ? You can install it alongside the standard version.
Not crashing in Version: 6.4.0.0.alpha0+ (x64) Build ID: e6adec29beadb83ebd3941275b99e2dd1be02f61 CPU threads: 16; OS: Windows 6.3; UI render: default; VCL: win; Locale: en-GB (en_GB); UI-Language: en-US Calc: threaded Closing as RESOLVED FIXED
Created attachment 152306 [details] sample file
(In reply to Xisco Faulí from comment #2) > On linux it hangs instead of crashing. The hang got fixed by > https://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=b7d4418c309c8bc4fd25485dd3a0ea6ad9edf34e Same result on windows...
This is also fixed in Version: 6.2.6.0.0+ (x86) Build ID: 0d4d982b9cde760f558d5ad51b238951c1753577 CPU threads: 16; OS: Windows 6.3; UI render: default; VCL: win; Locale: en-GB (en_GB); UI-Language: en-US Calc: threaded so, it will be fine in LibreOffice 6.2.5.
Can confirm that: Version: 6.4.0.0.alpha0+ Build ID: b674d3c12a5819fbcb551e83bf6862afc85ef7f3 CPU threads: 8; OS: Linux 5.1; UI render: default; VCL: gtk3; TinderBox: Linux-rpm_deb-x86_64@86-TDF-dbg, Branch:master, Time: 2019-06-15_21:06:59 Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded doesn't hang or crash here.
(In reply to gamemanj from comment #7) > Can confirm that: > > Version: 6.4.0.0.alpha0+ > Build ID: b674d3c12a5819fbcb551e83bf6862afc85ef7f3 > CPU threads: 8; OS: Linux 5.1; UI render: default; VCL: gtk3; > TinderBox: Linux-rpm_deb-x86_64@86-TDF-dbg, Branch:master, Time: > 2019-06-15_21:06:59 > Locale: en-US (en_US.UTF-8); UI-Language: en-US > Calc: threaded > > doesn't hang or crash here. Setting to VERIFIED. thanks for checking