Description: writerfilter::dmapper::DomainMapper_Impl::finishParagraph (this=0x4a31700, pPropertyMap=..., bRemove=false, bNoNumbering=false) at sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx:2656 2656 assert( isNumberingViaRule == (itNumberingRules != aProperties.end()) ); Steps to Reproduce: 1. wget https://bz.apache.org/ooo/attachment.cgi?id=67256 -O ~/Downloads/ooo108255-3.odt 2. ./instdir/program/soffice --headless --convert-to rtf ~/Downloads/ooo108255-3.odt 3. ./instdir/program/soffice --headless --convert-to pdf ./ooo108255-3.rtf Actual Results: asserts on import our own exported rtf Expected Results: no failure Reproducible: Always User Profile Reset: No Additional Info: .
@jluth: We have quite a few of these asserts now that we check reimport of our own export: https://wiki.documentfoundation.org/Development/Crashtesting#DomainMapper_Impl::finishParagraph
The assert was added in 7.0 with https://gerrit.libreoffice.org/c/core/+/94365. I don't remember, and I can't find any reasons why I added the assert. (I may have just been looking for example documents - added in patchset3, modified in patchset5.) https://gerrit.libreoffice.org/c/core/+/178607
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/668bd34288952019d6013758b435294f4fd83a87 tdf#164075 rtfimport: ignore assert developed for DOCX fixing It will be available in 25.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.