Bug 33050 - [FILESAVE] LibO stops responding saving particular documents as .doc
Summary: [FILESAVE] LibO stops responding saving particular documents as .doc
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium major
Assignee: Cédric Bosdonnat
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 02:22 UTC by Leopoldo Saggin
Modified: 2011-02-16 21:27 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document, please see Comment 1 (9.14 KB, application/vnd.oasis.opendocument.text)
2011-01-13 03:40 UTC, Rainer Bielefeld Retired
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leopoldo Saggin 2011-01-13 02:22:53 UTC
In Libre Office Writer 3.3 RC2 (US interface) (but it was also present with RC1) I have this problem:
1. I try to make a "Find" for ' - ' (ie: space U+002D space) and "Replace all" occurrences  with ' — ' (ie, space U+2014 space) or ' ― ' (ie space U+2015 space)
2. It seems to work. Anyway when I save document in Word 97/2000/2003 (.doc) format after this operation, LibreOffice always crashes.
This does not happen using OpenOffice.org 3.2.1.
Not tested with OpenOffice 3.3 RCx
OS: Windows 7 64bit professional

Leopoldo Saggin
Comment 1 Rainer Bielefeld Retired 2011-01-13 03:39:44 UTC
[Reproducible] with "LibreOffice 3.3.0 RC2 - WIN XP German UI 
[OOO330m18 (build 3.3.0.2)]". I do not know what influence the proceeding of the document might have, but you cna simpy reproduce the hang using my "crash21.odt". If you want to save it as .doc, LibO will stop responding.

@Cédric:
Any ideas? Please feel free to reassign!
Comment 2 Rainer Bielefeld Retired 2011-01-13 03:40:34 UTC
Created attachment 41953 [details]
Sample document, please see Comment 1
Comment 3 Leopoldo Saggin 2011-01-13 03:50:50 UTC
I tested the sample document with GoOO 3.2.1 for Windows and it was saved corectly.
In my previous report I said I had no problem with OpenOffice.org 3.2.1
Please note I was referring to GoOO 3.2.1 instead.
L. Saggin
Comment 4 mvoit 2011-01-15 15:53:34 UTC
Another easy way to reproduce the file save problem.

-start "LibreOffice Writer" (it should come up with a new, empty document)
-from where the cursor is start writing for example something like "1234567890"
-press "Enter" to send the cursor to the next line
-use the mouse to mark one or more of the characters of the above text string, for example "456"
-now "copy" the marked text string (Ctrl-C or "Edit -> Copy")
-now "paste" that text string from the Clipboard to the line below "1234567890"
-save the document in the format "Microsoft Word 97/2000/XP *.doc" or "Microsoft Word 2007 XML *.docx" (click the "Save" button or do "File -> Save/Save As") 
-LibreOffice stops responding on my computer (Windows Vista Home Premium 32bit)

LibreOffice RC2 and RC3
Comment 5 Leopoldo Saggin 2011-01-24 06:46:38 UTC
While I was not able to reproduce anymore the bug I pointed out in the first post of this discussion, in LibreOffice 3.3 RC4, the test proposed by mvoit@gmx.net on 2011-01-16 00:53:34 CET, seems to crash LibO 3.3RC4 still.
Leopoldo Saggin
Comment 6 NoOp 2011-01-28 13:07:18 UTC
Using the Sample document (crash21.odt) and File|Save as to Word
97/2000/2003 (.doc) my LORC4 (linux gnome Ubuntu 10.10 2.4Ghz/3Gb)
stalls taking up 94.5% cpu:

Swap:  3004116k total,        0k used,  3004116k free,  1554872k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

23426 ..        20   0  286m  93m  64m R 94.5  3.1   0:49.98 soffice.bin

and I have to kill soffice.bin to get it back.

[Version]
AllLanguages=en-US
buildid=330m19(Build:6)
ExtensionUpdateURL=http://updateexte.libreoffice.org/ExtensionUpdateService/check.Update
OOOBaseVersion=3.3
ProductBuildid=6
ProductMajor=330
ProductMinor=19
ProductSource=OOO330
UpdateID=LibreOffice_3_en-US
UpdateURL=
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH};
BundledLanguages=${AllLanguages})

No issues with:

Ubuntu'ized OOo 3.2.1:
[Version]
AllLanguages=en-US
BuildVersion=ooo-build 3.2.1.4, Ubuntu package 1:3.2.1-7ubuntu1
buildid=320m19(Build:9505)
ExtensionUpdateURL=http://updateext.services.openoffice.org/ProductUpdateService/check.Update
OOOBaseVersion=3.2
ProductBuildid=9505
ProductMajor=320
ProductMinor=19
ProductSource=OOO320
UpdateID=OpenOffice.org_3_en-US
UpdateURL=
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH};
BundledLanguages=${AllLanguages})
Vendor=Debian and Ubuntu

Standard OOo 3.2.1:
[Version]
AllLanguages=en-US
buildid=320m18(Build:9502)
ExtensionUpdateURL=http://updateext.services.openoffice.org/ProductUpdateService/check.Update
OOOBaseVersion=3.2
ProductBuildid=9502
ProductMajor=320
ProductMinor=18
ProductSource=OOO320
UpdateID=OpenOffice.org_3_en-US
UpdateURL=http://update35.services.openoffice.org/ProductUpdateService/check.Update?pkgfmt=deb
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH};
BundledLanguages=${AllLanguages})

However, OOo-Dev 3.3:
[Version]
buildid=330m9(Build:9529)
OOOBaseVersion=3.3
OOOPackageVersion=3.3.0
ProductBuildid=9529
ProductMajor=330
ProductMinor=9
ProductSource=OOO330

does exactly the same as LORC4. So my _guess_ is that something in the
3.3 code was added to cause the issue.
Comment 7 NoOp 2011-01-28 17:24:36 UTC
Further to my last:

Seems to have been fixed in standard OOo 3.3 (linux) final:

[Version]
AllLanguages=en-US
buildid=330m20(Build:9567)
ExtensionUpdateURL=http://updateexte.services.openoffice.org/ExtensionUpdateService/check.Update
OOOBaseVersion=3.3
ProductBuildid=9567
ProductMajor=330
ProductMinor=20
ProductSource=OOO330
UpdateID=OpenOffice.org_3_en-US
UpdateURL=http://update36.services.openoffice.org/ProductUpdateService/check.Update?pkgfmt=deb
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH}; BundledLanguages=${AllLanguages})

as the crash21.odt saves to a .doc without issue in that version.
Comment 8 mvoit 2011-02-16 04:42:54 UTC
Just an update.

In LibreOffice 3.3.1 RC1 (Windows) this particular file save problem seems to solved, as I can not reproduce it anymore.
Comment 9 NoOp 2011-02-16 10:08:25 UTC
Confirmed. Also works for me with 3.3.1RC1:
$ cat /opt/libreoffice/program/versionrc
[Version]
AllLanguages=en-US
buildid=330m19(Build:7)
ExtensionUpdateURL=http://updateexte.libreoffice.org/ExtensionUpdateService/check.Update
OOOBaseVersion=3.3
ProductBuildid=7
ProductMajor=330
ProductMinor=19
ProductSource=OOO330
UpdateID=LibreOffice_3_en-US
UpdateURL=
UpdateUserAgent=<PRODUCT> (${buildid}; ${_OS}; ${_ARCH}; BundledLanguages=${AllLanguages})

@Leopoldo: Can you please try with 3.3.1RC1?
http://www.libreoffice.org/download/pre-releases/
Comment 10 Rainer Bielefeld Retired 2011-02-16 21:27:38 UTC
No longer reproducible for me with 3.3.1RC. Closing due to this result and other comments with the same result.

Please feel free to reopen this Bug if you find out that the problem still exists in the latest release of LibO.