Split from investigation on bug 89432 Reproduced in Ubuntu 14.04 / LO 4.4.0.3 and 4.5 master Steps to reproduce 1. Load attachment 113461 [details] 2. Open Insert - Indexes and Tables - Indexes and Tables 3. Click "OK" Expected result - Index is inserted Actual result - A fatal error dialog containing the text "vector::_M_range_check" - (later) The above error dialog appears briefly, then LO crashes
Setting this to NEW myself as a commit has been identified. The error dialog mentioned in comment 0 started as of the below commit. The additional crash appears to be a separate issue which I will raise a separate bug for. Adding Cc: to drtl@fastmail.fm; Could you possibly take a look at this? Thanks commit 9088a4c2d18f59c22fceb81829441b704603415d Author: Tobias Lippert <drtl@fastmail.fm> Date: Fri Jun 6 00:04:24 2014 +0200 fdo#30732 Retain selected character attributes for table of contents The text and selected attributes are copied from the source text node and added to the target node at the corresponding positions.
Created attachment 113571 [details] console bt with master sources On pc Debian x86-64 with master sources updated yesterday, I could reproduce this.
I will have a look into it. Thanks for providing the attachment to reproduce the bug, and for notifying me.
Thanks for taking a look. The second part of the issue (the later crash) was raised as bug 89521 - as suspected that seems to trace back to a different commit
The error is a consequence of the previously reported problems in the log: ... warn:legacy.osl:3964:1:sw/source/core/txtnode/thints.cxx:3210: +SwpHints::Insert: invalid hint, end < start warn:legacy.osl:3964:1:sw/source/core/txtnode/thints.cxx:3210: +SwpHints::Insert: invalid hint, end < start warn:legacy.osl:3964:1:sw/source/core/txtnode/thints.cxx:3210: +SwpHints::Insert: invalid hint, end < start ... I will make my code more tolerant to work with invalid hints. However, I cannot see where the invalid hints originate, and I cannot say what other errors will ensue from this.
I have submitted a patch for the master which is waiting for review here: https://gerrit.libreoffice.org/14580
Tobias Lippert committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4bdbea5447f36beb9cc33df173a89a49a9918290 tdf#89520 Make TOX creation more robust It will be available in 4.5.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Tobias Lippert committed a patch related to this issue. It has been pushed to "libreoffice-4-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=09669c4f89ad5c4c012ba114811b49f7805e3801&h=libreoffice-4-4 tdf#89520 Make TOX creation more robust It will be available in 4.4.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 89779 has been marked as a duplicate of this bug. ***
*** Bug 89400 has been marked as a duplicate of this bug. ***
Migrating Whiteboard tags to Keywords: (bibisected) [NinjaEdit]