Created attachment 89354 [details]
Crashing file under 4.1x
Write 4.1.3 is not able to open certain documents, which are valid with 3.6 and 4.0x version.
Tested with openSUSE build & pure Windows Loo version
In attachement you will find several files :
We use a template, which are edited by programs. This has worked for years now, and still work with any version < 4.1x loo.
Description : NOK are point measurements where the point is declared destroyed, a remark (In French) is added (Point détruit)
1-NOK-1-OK_KABOOM.odt this file finish with error read input file in 4.1.3
The destroyed point is followed by normal ok point
1-OK-2-NOK.odt this file work and contain almost same data but the NOK Point (destroyed remark) are placed on the last page.
2-NOK.odt this file works, two non okay points are inside
2-OK.odt this file works, two non destroyed (ok) points are inside.
Created attachment 89355 [details]
working file non ok point placed at the end
Created attachment 89356 [details]
2 destroyed point alone works
Created attachment 89357 [details]
Two ok point alone work also
Thanks for the report and the sample files.
I am not looking at details of what opens fine and not, but confirm that 71698_1-NOK-1-OK_KABOOM.odt indeed does not open in 18.104.22.168.
Working on Ubuntu 32 bits.
File opens in 4.1.2.x but not in 22.214.171.124 and 126.96.36.199
Reverting http://cgit.freedesktop.org/libreoffice/core/commit/?id=b69d152cfa1da868ba960345d72ba78f9f8e1b35 fixes the bug.
*** This bug has been marked as a duplicate of bug 71450 ***