1. Create a new text document or open an existing one 2. Menu Insert > Indexes and tables > Indexes and tables 3. Check 'Additional Styles' 4. Click '...' 5. Assign Heading 1 AND Heading 2 using right arrow 5. Crash with fatal error 'invalid vector <T> subscript
Hi Mike, Can you clarify step 5 please? does it matter what we assign to header 1 and 2? I assigned Heading to Header 1 and Index to Header 2, pushed okay, no crash. LibreOffice 4.4.0.3 Ubuntu 14.10 x64 Thanks for any additional insight that you can provide. Leaving this open until we can get a Windows test.
Created attachment 113525 [details] Test case
Hi, It appears to be something to do with comments also, actually only having the trouble with one document (not new ones, was mistaken) but can't track down the problem exactly. The document has a number of comments, so I went through and deleted each one at a time until there was no crash. However, just deleting that single comment still caused a crash, so there must be comments further up the document also causing problems. I've attached a document that has the issue. In place of step 1, open the attached file 'libre-office_bug89400.odt' and follow steps 2 > 5 as before. Hope that helps.
(In reply to mike from comment #0) > 1. Create a new text document or open an existing one > 2. Menu Insert > Indexes and tables > Indexes and tables > 3. Check 'Additional Styles' > 4. Click '...' > 5. Assign Heading 1 AND Heading 2 using right arrow > 5. Crash with fatal error 'invalid vector <T> subscript Reproduced with attachment 113525 [details]. Could not get a backtrace in Win. Procdump and DebugView were useless, too. Debug output in terminal from Linux: warn:legacy.osl:3751:1:sw/source/core/doc/doclay.cxx:1563: Found a FlySection but not a Format! warn:legacy.osl:3751:1:sw/source/core/txtnode/thints.cxx:3210: +SwpHints::Insert: invalid hint, end < start warn:legacy.osl:3751:1:sw/source/core/txtnode/thints.cxx:3210: +SwpHints::Insert: invalid hint, end < start warn:fwk:3751:1:framework/source/fwi/threadhelp/transactionmanager.cxx:265: TransactionManager...: Owner instance stand in close method. Call was rejected! Win 7 Pro 64-bit, LibO Version: 4.4.0.3 Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7 Locale: fi_FI Version: 4.5.0.0.alpha0+ Build ID: b13534de022972131b46f93f5ada90af155eec9e TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-02-19_00:21:37 Locale: fi_FI Ubuntu 14.10 64-bit Version: 4.5.0.0.alpha0+ Build ID: 6b3aa0fe4094e87290bd33a30bd6cd99ee78ce38 TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2015-02-16_21:52:18 Locale: en_US
*** Bug 89432 has been marked as a duplicate of this bug. ***
As discussed on IRC, the crash on Linux noted in comment 4 is a combination of bug 89520 and bug 89521 - it's uncertain that those are the same as the "invalid vector" error observed on Windows. Either they are different expressions of the same issue, or (probably more likely) this bug is a separate Windows only issue.
No crash or error dialog on Win or Ubuntu 4.3. Addition to my comment 4: on Ubuntu with LibO 4.5, the error dialog flashed quickly while LibO crashed. Didn't get the opportunity to click ok. Now tested on Ubuntu LibO 4.4, the error dialog showed up without visible contents for a while longer, so that I could confirm it was indeed a Fatal Error. Win: Version: 4.3.0.1 Build ID: 67f5430184326974072b65403ef1d9d934fc4481 Ubuntu: Version: 4.3.5.2 Build ID: 3a87456aaa6a95c63eea1c1b3201acedf0751bd5 Version: 4.4.0.3 Build ID: 40m0(Build:3) Locale: en_US
Can't reproduce, this really sounds like bug 89520 to me. *** This bug has been marked as a duplicate of bug 89520 ***