Created attachment 47487 [details]
Downstream bug may be found at:
1) lsb_release -rd
Description: Ubuntu 11.04
2) apt-cache policy libreoffice-writer
*** 1:3.3.2-1ubuntu5 0
500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
3) What is expected to happen in LibreOffice Writer via the Terminal:
cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/792143/+attachment/2152945/+files/UPU0001_Ass1_GroupAnalysis_Template.doc && lowriter -nologo UPU0001_Ass1_GroupAnalysis_Template.doc
is when one saves in .doc format, Writer does not immediately close, with the reopened file has all it's changes lost.
4) What happens instead is LO immediately closes and the changes are lost.
WORKAROUND: Save as .odt file type.
Both LibreOffice 3.3.2 and LibreOffice 3.4.0 crash on Linux and Windows.
Debugging this now.
When saving the document as .doc, with a msword library built with debug=t, I get the assertion failure from sw/source/filter/ww8/wrtw8nds.cxx, line 1845: "Looks like this doc is broken...; where is the Fieldmark for the FIELDSTART??". And indeed the pFieldmark pointer is NULL.
I tried now, with 3.4.1, and it does _not_ crash for me. Can you please try with that version? It has been released just today.
Indeed does not crash in 3.4.1 > Fixed