Bug 35039

Summary: FILEOPEN: LibreOffice hangs when opening particular document
Product: LibreOffice Reporter: Federico Del Bene <federico>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: major CC: bugs, LibreOffice
Priority: medium    
Version: 3.3.0 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Crashing file
Reporter's sample document, saved after vfew edits

Description Federico Del Bene 2011-03-05 10:51:02 UTC
Created attachment 44152 [details]
Crashing file

I was editing some files containing formulas, and closed and tried to reopen one of them, but LibreOffice get blocked, stuck at full CPU load and continuosly increasing RAM consumption.

There were no other user program running at the moment. Tried to reboot but problem persist.

My system is a Windows 7 SP1 x64.

The file is attached.
Comment 1 tester8 2011-03-05 13:42:04 UTC
Reproduced with
LibreOffice 3.3.1 RC2 (1:3.3.0-1lucid1) - Ubuntu 10.04 x86 Linux 2.6.32-28-generic Russian UI
Comment 2 Rainer Bielefeld Retired 2011-03-06 00:24:23 UTC
NOT Reproducible with "LibreOffice 3.3.1  – WIN7  Home Premium  (64bit) German UI [OOO330m19 (build 8 / tag 3.3.1.2)]" and sample document. Double click on document in WIN Explorer opened document without any problem. Also no problem to reopen document after saved with some small edits from LibO 'Recent Documents'.

The question is why my LibO will open the document, other ones will not? Installed Extensions? 

Modified OS due to tester8's results

A was to find out might be that you rename your user profile in "AppData" (or the similar folder in Linux" after you have closed LibO.
Will the sample document be opened after that action?
You can rename back your profile after that test without problems.
Comment 3 Federico Del Bene 2011-03-06 03:07:39 UTC
Did the following:

1) Renamed file to aaa.odt -> same problem
2) Renamed folder \AppData\Roaming\LibreOffice\3\user to \user2 with LibO closed, tried to reopen file (it recreated \user folder) -> same problem
Comment 4 Federico Del Bene 2011-03-06 03:11:23 UTC
BTW Rainer, could you upload a copy of the file working on your system, saved after some small edits?
Comment 5 Rainer Bielefeld Retired 2011-03-06 04:08:57 UTC
Created attachment 44167 [details]
Reporter's sample document, saved after vfew edits
Comment 6 Federico Del Bene 2011-03-06 07:21:29 UTC
The modified file works. The older one still provokes a block.
Comment 7 tester8 2011-03-06 07:28:01 UTC
Reporter's sample document, saved after few edits works on my system.

>A was to find out might be that you rename your user profile in "AppData" (or
>the similar folder in Linux" after you have closed LibO.

After renaiming ~/.libreoffice/3/user to ~/.libreoffice/3/user2 it was the same
problem.

>Installed Extensions? 
Only default extensions.
Comment 8 Don't use this account, use tml@iki.fi 2011-03-07 00:23:09 UTC
The attached document q02.odt opens just fine in LibreOffice 3.3.1 on Windows XP (Swedish) for me.
Comment 9 Federico Del Bene 2011-03-07 08:44:41 UTC
Upgrading from

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

to

LibreOffice 3.3.1 
OOO330m19 (Build:8)
tag libreoffice-3.3.1.2

didn't solve the problem.

Forgot to specify that I'm using Italian versions of both Windows and LibO.
Comment 10 Björn Michaelsen 2011-12-23 11:51:20 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 11 Roman Eisele 2012-05-03 08:48:44 UTC
This is a Writer bug, therefore changed Component accordingly.
Comment 12 Roman Eisele 2012-05-03 08:56:09 UTC
NOT reproducible with LibreOffice 3.5.3.2 (Build-ID: 235ab8a-3802056-4a8fed3-2d66ea8-e241b80), German langpack installed, on MacOS X 10.6.8. The attached file (I tried the original sample document 'q02.odt') opens well and even looks fine.

@Federico Del Bene:
Could you please test if the problem is fixed for you, i.e. if you can open and edit the sample file with LibreOffice 3.5.x? Thank you very much! There is a good chance that your problems have been fixed in between -- there have been quite some improvements to formula handling in Writer, if I remember correctly.

Or, if Federico Del Bene does not listen anymore (he has not answered to Björn's comment #10): Could anyone else please test on Linux (Ubuntu mentioned in comment #1) if opening this file now works?

Maybe we can finally close this bug report ...
Comment 13 Federico Del Bene 2012-05-03 12:45:13 UTC
Hi, I can confirm that now it works.
Tested on LibreOffice 3.5.3.2 (Build-ID: 235ab8a-3802056-4a8fed3-2d66ea8-e241b80), Italian langpack installed, on Windows 7 SP1 x64.
Comment 14 Roman Eisele 2012-05-04 00:17:41 UTC
Closing this bug report as RESOLVED/WORKSFORME, as the bug is no longer reproducible with LibreOffice 3.5.3.2 (see comment #12 and comment #13). Feel free to re-open this bug if the issue is still reproducible for you ;-)


@Federico Del Bene:
(In reply to comment #13)
> Hi, I can confirm that now it works.
> Tested on LibreOffice 3.5.3.2 (Build-ID:
> 235ab8a-3802056-4a8fed3-2d66ea8-e241b80), Italian langpack installed, on
> Windows 7 SP1 x64.

Thank you very much for your fast response and for testing again! Every bug we can close makes it a little bit easier to find the remaining important bugs ...