Bug 134811 - LO 7.0.0.1 (and earlier) goes into an endless autosave loop with a 1.7M 263,000 word ODT file with a password.
Summary: LO 7.0.0.1 (and earlier) goes into an endless autosave loop with a 1.7M 263,0...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha1+
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-14 21:14 UTC by Travis Capener
Modified: 2020-07-25 11:42 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
An ODT document that produces an endless autosave in 7.0.0 (870.34 KB, application/zip)
2020-07-14 22:13 UTC, Travis Capener
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Capener 2020-07-14 21:14:05 UTC
Description:
I have a Writer file that is 1.7M and 263,000 words protected with a password. It works fine in LO 6.4.5 and earlier (I've been using this file since 2017). In all versions of LO 7.0.0 I can load the file, but it goes into an endless autosave loop. When I try to save manually I get a General IO Error. If I remove the password in LO 6.4.x and open in any version of LO 7.0.0 then the file works fine. The problem seems to be when I add the password.

Steps to Reproduce:
1. Create a file with approximately 263,000 words (about 1.7M).
2. Save it with a password.
3. Open it in LO 7.0.0.x.
4. Wait for autosave to commence.

Actual Results:
Autosave goes into an endless loop, saving over and over. LO is listed as "Not Responding" in "Force Quit" dialog.

Expected Results:
Autosave should only commence at normal intervals.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: StartModule
[Information guessed from browser]
OS: Mac OS X (Catalina) 10.15.5
OS is 64bit: yes
Comment 1 Travis Capener 2020-07-14 21:16:07 UTC
I can search/replace all alpha-numeric characters to X's and send the file. I also just realized that I haven't tested with a smaller file and a password (sorry it's my first bug report).
Comment 2 Xisco Faulí 2020-07-14 21:53:33 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 3 Travis Capener 2020-07-14 22:13:36 UTC
Created attachment 163031 [details]
An ODT document that produces an endless autosave in 7.0.0

I just tested this file in Writer in LO 7.0.0.1 and it produces an autosave loop. The password on the document is "password" (no quotes). The behaviour happens on Google Drive and on my Desktop as well.

If I remove the password in 6.4.5 it seems to work fine in 7.0.0.1. However if I try to save the file with password in 7.0.0.1 (or earlier) I get a "General I/O Error" and the save fails.

This file is an ongoing journal (I redacted it for you). It works in 6.4.5 so I'll just keep using it there for now.
Comment 4 Dieter 2020-07-25 09:25:28 UTC
I can't confirm it with

Version: 7.1.0.0.alpha0+ (x64)
Build ID: 52820b52b3bca45e2db527d1cc5f4488b2e0b9d0
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded

Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/current.html ? You can install it alongside the standard version. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 5 Travis Capener 2020-07-25 11:38:53 UTC
As requested, I installed 

Version: 7.1.0.0.alpha0+
Build ID: <buildversion>
CPU threads: 4; OS: Mac OS X 10.15.6; UI render: default; VCL: osx
Locale: en-CA (en_CA.UTF-8); UI: en-US
Calc: threaded

I tried loading the original problematic file, and I watched autosave activate several times without any issues. I was also able to save the file with no issues.

I reloaded the file, and again I had no problems.

I loaded the sample file attached to this bug report, and autosave and save were also successful.

I can no longer reproduce this bug. Thanks very much.

I could have split this file into smaller files, but I wanted to test how big a Writer file could get before it started to have issues. I originally switched from MS Word to Star Office in 2001 because MS Word was unable to handle large files (200+ pages). I am most impressed with LibreOffice.

Thanks again!