Created attachment 89174 [details]
File need to be saved
Steps to reproduce:
Open file in LibreOffice
Click File -> Save As (.docx)
Crashing on every save.
Creating the file correctly
Hi Vinu, please don't set your own bug to NEW. Wait for the QA team or someone else to confirm it.
Can confirm a crash when saving the test file as docx with LO 22.214.171.124 on OS X 10.9.
Crash log (available 1 month from now): http://pastebin.com/hgvv4Qze
Created attachment 89238 [details]
console + bt with master sources
On pc Debian x86-64 with master sources updated today, I reproduced the crash.
I attached console logs (at the opening + during saving try) + bt
Put 126.96.36.199 for the moment.
+ All (since it concerns at least MacOs + Linux)
At the time of export of document.xml,
Tags gets export as follows:
<ftr> # Writing footer1.xml
<ftr> # Writing footer2.xml
</sectPr> # Written in document.xml
So we are facing issue in start table in footer1.xml
Crash occurs also when attemping saving in .odf format or when saving tamplates.
Michael: according some recent commits from you, I thought you might be interested in this one? (bt includes sax/source/tools/fastserializer.cxx)
Heh - thanks for the CC - we didn't touch the FastSaxSerializer only the FastSaxParser (ie. load not save). Sorry about that. I guess the core code is somehow generating an invalid sequence of XML to be output and the serializer just doesn't like that & complains / crashes.
So - the problem would be higher up in writer somewhere.
Michael: oups sorry for the noise! I should have double checked the name of the file :-)
Hi Julien & Michael, I fixed the this issue.
The fix is in export part of Writer. So file is able to save and Open in MS office 2010
Rohit: do you mean with this commit?
Julien: No. I am writing UT for this fix. I will put for review today.
Rohit Deshmukh committed a patch related to this issue.
It has been pushed to "master":
fdo#71594: Fix for LO crash while saving of file.
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:
Affected users are encouraged to test the fix and report feedback.
Rohit: does your commit mean, this can be set to fixed?
Foss: it could be interesting first to cherry-pick this on 4.2 branch at least, and if possible on 4.1 branch.