This just happens with a "--enable-dbgutil" build! Just try to merge an empty document with any data source. Same happens, if you insert a single text frame. Won't happen, if the document has more then one paragraph or multiple lines. soffice.bin:sw/source/core/bastyp/index.cxx:225: virtual SwIndexReg::~SwIndexReg(): Assertion `!m_pFirst && !m_pLast && "There are still indices registered"' failed. Currently it's not that critical, but some of our upcomming unit tests will definitly break on dbgutil builds. Took me some time to fix this originally, so I bisected it to: commit a305a2c91420652db450b7f8edd140e1d69f42cf Author: Luboš Luňák <l.lunak@collabora.com> Date: Mon Oct 20 15:13:03 2014 +0200 use bookmarks to mark mailmerge parts in a mailmerge document (fdo#80823) Instead of page numbers, which - was somewhat fragile (and broken, as it was actually off-by-one) - required repeated re-layout of the increasingly large document, making mailmerge awfully slow. The re-layout is not removed by this commit, as it needs further checking whether it can be removed. See the bugreport for details. Change-Id: Ib09bd5f5a6a549c3d38ca40b0f32c0d2831fdd4c
Found it when I tired fixing bug 80822.
I don't think root cause of crash of tdf#90185 may be linked but perhaps I missed something.
Adjusted Whiteboard / Keywords according to comment 0 However, I can't actually reproduce this using the 4.5 dbgutil bibisect repo. (I could reproduce bug 90185 which had a different cause)
Created attachment 114572 [details] A dummy sheet used as a dbgutil repo mail merge DB So I checked out the dbgutil repo, and - for me - it crashes with the same assertion. Info missed from the original bug report: You need to disable all modifiying default wizard entries. The dbgutil repo doesn't contain the default biblio DB, so I created a dummy one. See attachment. Steps to reproduce: * ./opt/program/soffice -env:UserInstallation=file:///tmp/soffice-bisect --writer * Mail Merge Wizard ... * Next => Next => Select address list ... => Add ... => dummy.ods => <Select DB> => Ok * Unselect "This document shall contain an address block" * Click "4. Create salutation" (as you can't click "next" - sig) * Unselect "This document should contain a salutation" * Click "6. Edit document" * Next => Crash P.S. yeah - I know the wizard is quite broken...
Reproduced following comment 4 - thanks for the update -> NEW Adding Cc: to l.lunak@collabora.com; As mentioned in comment 0, this is another one from your mail merge work. Could you possibly take a look? Thanks
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=2819ee71da631116662401f14f8a0fb78c2a7f3a tdf#90230 SwDoc::AppendDoc: take care of marks when inserting page break It will be available in 5.0.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.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-4-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=2d66204f9676e5a3361de0b6dcc5fcc5a4a625e2&h=libreoffice-4-4 tdf#90230 SwDoc::AppendDoc: take care of marks when inserting page break It will be available in 4.4.3. 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.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a6c4ecd05dfaedd05960c1edf14fd70bb51012e6 tdf#90230 SwDoc::AppendDoc: take care of marks when inserting page break It will be available in 5.0.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.
Migrating Whiteboard tags to Keywords: (bibisected) [NinjaEdit]