PLO crashes when I tried accidentally to compare an empty document with a chapter of the LO Writer manual. In order to reproduce: [1] Download Chapter 1 of the LibreOffice Writer Guide and save it to your computer. I used the version for branch 3.4.x. (http://wiki.documentfoundation.org/Documentation/Publications) [2] Start LO. [3] Open a new text document. [4] From the menu: Edit > Compare Document... [5] Select the file saved at step [1]. With my ancient Computer, I have to wait some seconds, then LO crashes. 3 hints: - LO does not crash, when I added a single character to the new document. - LO does not crash, when I compared the empty file with some documents I created. - After the crash a recovery is successful. Regards Harald Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24
1) Confirmed with LibreOffice 3.4.4 / German UI, running on MacOS X 10.6.8 German. I will attach the MacOS X log file for the crash. 2) Confirmed with LibreOffice 3.5 beta 0 / German UI, running on MacOS X 10.6.8 German. The MacOS X log file for this crash is almost identical with the one for crash 1). Changing Status from Unconfirmed to New due to confirmation.
Additional observation: This crash does NOT happen if you just (1) create an ODT document, insert one character (e.g. 'x'), and save it, then (2) create a new empty ODT document, and then (3) compare document (2) to document (1) -- no crash happens, everything works as expected (LibreOffice tells you about the differences).
Created attachment 54106 [details] MacOS X crash log for bug 43424, LibreOffice 3.4.4
Created attachment 58184 [details] Proposed patch fixes comparing empty document with attached one Hi! There was a call for GetLine( nInsPos-1 ); with nInsPos == 0 so it wanted to return aLines[ nLine ]; where nLine == -1. (vector< CompareLine* > aLines;) Files: sw/source/core/doc/doccomp.cxx (in SwCompareData::ShowDelete) Szabolcs
Szabolcs Dezsi committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=706cac767c90281b74fbc27a134b022d27e2ce21 fdo#43424: Comparing empty document with attached one crashes LO
Szabolcs Dezsi committed a patch related to this issue. It has been pushed to "libreoffice-3-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=fb172ff8a71765799d5e45edebfeae72243dcf46&g=libreoffice-3-5 fdo#43424: Comparing empty document with attached one crashes LO It will be available in LibreOffice 3.5.4.
closing fixed then - thanks ! :-)
Once you have comforted yourself through laughter or compassion, bring yourself back into the present moment. Recognize that the embarrassing moment is in the past. https://tutuappx.com/ https://vidmate.onl/