Bug 69131 - FILESAVE: Auto File Save Feature goes into Infinite loop
Summary: FILESAVE: Auto File Save Feature goes into Infinite loop
Status: RESOLVED DUPLICATE of bug 46635
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.1.1.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-09 07:30 UTC by Sumit Bhardwaj
Modified: 2014-02-10 18:45 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sumit Bhardwaj 2013-09-09 07:30:24 UTC
Problem description: 
I don't know since when this feature was introduced, but in Tools-> Options -> Save/Load, along with AutoRecovery option, there is also an option to save the file too.

While using this option with a 1 minute time interval, at random  times, if the file is not explicitly saved, the application (I have experienced it with Both Writer and Calc) goes into infinite loop and the status bar keeps on repeating "Saving document...". This loop does not break and doesn't allow to save the file. The only option is to kill the application. I am yet to encounter this issue if the time interval for AutoRecover is set to some value greater than 1.

Steps to reproduce:
1. Create a large document in Writer or Calc and do not save it.
2. Keep the Save AutoRecover info option to 1 minute and keep the Also save the document checked.
3. Keep on working till the issue occurs. It's quite random for me so can't say exactly what triggers it.

Current behavior:
Application goes into infinite loop of saving the document but nothing is saved actually. Killing the application is the only choice.

Expected behavior:
On an unsaved file, the saving action should not occur, only AutoRecover should save its state. On a saved file, this should just save the file once every defined interval of time without any disruptions.
              
Operating System: Linux (Other)
Version: 4.1.1.2 rc
Comment 1 ign_christian 2013-09-09 08:07:08 UTC
Looks similar/related to Bug 65509.

@Sumit, do you have problem with manual save? 
See: https://bugs.freedesktop.org/show_bug.cgi?id=46635#c3
Comment 2 Sumit Bhardwaj 2013-09-09 08:25:43 UTC
@ign_christian No, manual save works fine for me, till now. The autosave feature is only driving me crazy.

The issue you pointed out is very similar to this one, but I don't know whether the person experienced a freeze kind of situation. I am saying kind of, because the application is not actually frozen, its just doing its task repeatedly without processing input events properly.

Anyways, if it looks similar, it can be closed. I reported it just so that this can get noticed quickly. My wife was all angry when her 1 and a half hour worth of work got lost because of this, and she just switched to Libre Office, and I made her switch :D So you can understand my situation :D
Comment 3 Joel Madero 2013-09-09 15:33:39 UTC
Well first suggestion - save much more frequently then once in every hour and a half when working on important work...I have to remind my wife of this frequently ;)

That being said, we need said "large document" to test - we can't be expected to just create one on our own as QA is really stretched thin. Please attach a document that you see the problem with and then mark the bug as UNCONFIRMED so QA is pinged to check it again.

Thanks for your understanding
Comment 4 Joel Madero 2013-09-09 15:34:05 UTC
Updating component to LibreOffice as this isn't a UI issue
Comment 5 Jorendc 2013-11-25 12:09:21 UTC
Dupe of Bug 46635?
Comment 6 wrigh 2013-12-09 16:09:18 UTC
I have had it with a small document in Writer (only 70 chars)  
Settings: 4 min interval and Also save the document.
Document has been saved previously
In this case it is possible to interrupt the problem by repeatedly clicking on an icon or menu item (possibly because it takes such a short time to save)
Once another action is done such as setting a background colour, the action sometimes stops. 
In my case NOT a precise Dupe of Bug 46635 as format is odt

 Version: 4.1.3.2
Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a

I suspect that the problem occurs when an autosave happens while a menu is accessed, but I haven't reproduced it reliably.
Comment 7 Luuk 2014-01-19 18:57:20 UTC
I had this bug too, Windows7 LO 4.1.4.2

I was creating a Draw (playing around, not really doing anything usefull)
Will use coming week to see if this is reproducable... ;)


result:
C:\Users\Luuk\AppData\Roaming\LibreOffice\4\user\backup>dir/w
 Volume in drive C is Acer
 Volume Serial Number is A0B0-B175

 Directory of C:\Users\Luuk\AppData\Roaming\LibreOffice\4\user\backup

[.]                [..]               Email0.ods         Email1.ods         untitled_0.odg     untitled_0.ods     untitled_1.odg     untitled_1.ods
untitled_10.odg    untitled_100.odg   untitled_101.odg   untitled_102.odg   untitled_103.odg   untitled_104.odg   untitled_105.odg   untitled_106.odg
untitled_107.odg   untitled_108.odg   untitled_109.odg   untitled_11.odg    untitled_110.odg   untitled_111.odg   untitled_112.odg   untitled_113.odg
untitled_114.odg   untitled_115.odg   untitled_116.odg   untitled_117.odg   untitled_118.odg   untitled_119.odg   untitled_12.odg    untitled_120.odg
untitled_121.odg   untitled_122.odg   untitled_123.odg   untitled_124.odg   untitled_125.odg   untitled_126.odg   untitled_127.odg   untitled_128.odg
untitled_129.odg   untitled_13.odg    untitled_130.odg   untitled_131.odg   untitled_132.odg   untitled_133.odg   untitled_134.odg   untitled_135.odg
untitled_136.odg   untitled_137.odg   untitled_138.odg   untitled_139.odg   untitled_14.odg    untitled_140.odg   untitled_141.odg   untitled_142.odg
untitled_143.odg   untitled_144.odg   untitled_145.odg   untitled_146.odg   untitled_147.odg   untitled_148.odg   untitled_149.odg   untitled_15.odg
untitled_150.odg   untitled_151.odg   untitled_152.odg   untitled_153.odg   untitled_154.odg   untitled_155.odg   untitled_156.odg   untitled_157.odg
untitled_158.odg   untitled_159.odg   untitled_16.odg    untitled_160.odg   untitled_161.odg   untitled_162.odg   untitled_163.odg   untitled_164.odg
untitled_165.odg   untitled_166.odg   untitled_167.odg   untitled_168.odg   untitled_169.odg   untitled_17.odg    untitled_170.odg   untitled_171.odg
untitled_172.odg   untitled_173.odg   untitled_174.odg   untitled_175.odg   untitled_176.odg   untitled_177.odg   untitled_178.odg   untitled_179.odg
untitled_18.odg    untitled_180.odg   untitled_181.odg   untitled_182.odg   untitled_183.odg   untitled_184.odg   untitled_185.odg   untitled_186.odg
untitled_187.odg   untitled_188.odg   untitled_189.odg   untitled_19.odg    untitled_190.odg   untitled_191.odg   untitled_192.odg   untitled_193.odg
untitled_194.odg   untitled_195.odg   untitled_196.odg   untitled_197.odg   untitled_198.odg   untitled_199.odg   untitled_2.odg     untitled_2.ods
untitled_20.odg    untitled_200.odg   untitled_201.odg   untitled_202.odg   untitled_203.odg   untitled_204.odg   untitled_205.odg   untitled_206.odg
untitled_207.odg   untitled_208.odg   untitled_209.odg   untitled_21.odg    untitled_210.odg   untitled_211.odg   untitled_212.odg   untitled_213.odg
untitled_214.odg   untitled_215.odg   untitled_216.odg   untitled_217.odg   untitled_218.odg   untitled_219.odg   untitled_22.odg    untitled_220.odg
untitled_221.odg   untitled_222.odg   untitled_223.odg   untitled_224.odg   untitled_225.odg   untitled_226.odg   untitled_227.odg   untitled_228.odg
untitled_229.odg   untitled_23.odg    untitled_230.odg   untitled_231.odg   untitled_232.odg   untitled_233.odg   untitled_234.odg   untitled_235.odg
untitled_236.odg   untitled_237.odg   untitled_238.odg   untitled_239.odg   untitled_24.odg    untitled_240.odg   untitled_241.odg   untitled_242.odg
untitled_243.odg   untitled_244.odg   untitled_245.odg   untitled_246.odg   untitled_247.odg   untitled_248.odg   untitled_249.odg   untitled_25.odg
untitled_250.odg   untitled_251.odg   untitled_252.odg   untitled_253.odg   untitled_254.odg   untitled_255.odg   untitled_256.odg   untitled_257.odg
untitled_258.odg   untitled_259.odg   untitled_26.odg    untitled_260.odg   untitled_261.odg   untitled_262.odg   untitled_263.odg   untitled_264.odg
untitled_265.odg   untitled_266.odg   untitled_267.odg   untitled_268.odg   untitled_269.odg   untitled_27.odg    untitled_270.odg   untitled_271.odg
untitled_272.odg   untitled_273.odg   untitled_274.odg   untitled_275.odg   untitled_276.odg   untitled_277.odg   untitled_278.odg   untitled_279.odg
untitled_28.odg    untitled_280.odg   untitled_281.odg   untitled_282.odg   untitled_283.odg   untitled_284.odg   untitled_285.odg   untitled_286.odg
untitled_287.odg   untitled_288.odg   untitled_289.odg   untitled_29.odg    untitled_290.odg   untitled_291.odg   untitled_292.odg   untitled_293.odg
untitled_294.odg   untitled_295.odg   untitled_296.odg   untitled_297.odg   untitled_298.odg   untitled_299.odg   untitled_3.odg     untitled_30.odg
untitled_300.odg   untitled_301.odg   untitled_302.odg   untitled_303.odg   untitled_304.odg   untitled_305.odg   untitled_306.odg   untitled_307.odg
untitled_308.odg   untitled_309.odg   untitled_31.odg    untitled_310.odg   untitled_311.odg   untitled_312.odg   untitled_313.odg   untitled_314.odg
untitled_315.odg   untitled_316.odg   untitled_317.odg   untitled_318.odg   untitled_319.odg   untitled_32.odg    untitled_320.odg   untitled_321.odg
untitled_322.odg   untitled_323.odg   untitled_324.odg   untitled_325.odg   untitled_326.odg   untitled_327.odg   untitled_328.odg   untitled_329.odg
untitled_33.odg    untitled_330.odg   untitled_331.odg   untitled_332.odg   untitled_333.odg   untitled_334.odg   untitled_335.odg   untitled_336.odg
untitled_337.odg   untitled_338.odg   untitled_339.odg   untitled_34.odg    untitled_340.odg   untitled_341.odg   untitled_342.odg   untitled_343.odg
untitled_344.odg   untitled_345.odg   untitled_346.odg   untitled_347.odg   untitled_348.odg   untitled_349.odg   untitled_35.odg    untitled_350.odg
untitled_351.odg   untitled_352.odg   untitled_353.odg   untitled_354.odg   untitled_355.odg   untitled_356.odg   untitled_357.odg   untitled_358.odg
untitled_359.odg   untitled_36.odg    untitled_360.odg   untitled_361.odg   untitled_362.odg   untitled_363.odg   untitled_364.odg   untitled_365.odg
untitled_366.odg   untitled_367.odg   untitled_368.odg   untitled_369.odg   untitled_37.odg    untitled_370.odg   untitled_371.odg   untitled_372.odg
untitled_373.odg   untitled_374.odg   untitled_375.odg   untitled_376.odg   untitled_377.odg   untitled_378.odg   untitled_379.odg   untitled_38.odg
untitled_380.odg   untitled_381.odg   untitled_382.odg   untitled_383.odg   untitled_384.odg   untitled_39.odg    untitled_4.odg     untitled_40.odg
untitled_41.odg    untitled_42.odg    untitled_43.odg    untitled_44.odg    untitled_45.odg    untitled_46.odg    untitled_47.odg    untitled_48.odg
untitled_49.odg    untitled_5.odg     untitled_50.odg    untitled_51.odg    untitled_52.odg    untitled_53.odg    untitled_54.odg    untitled_55.odg
untitled_56.odg    untitled_57.odg    untitled_58.odg    untitled_59.odg    untitled_6.odg     untitled_60.odg    untitled_61.odg    untitled_62.odg
untitled_63.odg    untitled_64.odg    untitled_65.odg    untitled_66.odg    untitled_67.odg    untitled_68.odg    untitled_69.odg    untitled_7.odg
untitled_70.odg    untitled_71.odg    untitled_72.odg    untitled_73.odg    untitled_74.odg    untitled_75.odg    untitled_76.odg    untitled_77.odg
untitled_78.odg    untitled_79.odg    untitled_8.odg     untitled_80.odg    untitled_81.odg    untitled_82.odg    untitled_83.odg    untitled_84.odg
untitled_85.odg    untitled_86.odg    untitled_87.odg    untitled_88.odg    untitled_89.odg    untitled_9.odg     untitled_90.odg    untitled_91.odg
untitled_92.odg    untitled_93.odg    untitled_94.odg    untitled_95.odg    untitled_96.odg    untitled_97.odg    untitled_98.odg    untitled_99.odg
             390 File(s)      3.688.178 bytes
Comment 8 Luuk 2014-01-25 13:20:23 UTC
i added some comment on how to reproduce the infinite loop to bug 46635
https://bugs.freedesktop.org/show_bug.cgi?id=46635
Comment 9 Teo91 2014-02-10 18:45:16 UTC
I can confirm this bug in LO 4.2.0 on Windows 7 64bit and Linux.

Marked as duplicate of an older bug.

*** This bug has been marked as a duplicate of bug 46635 ***