Bug 164429 - skip individual file recovery after crash
Summary: skip individual file recovery after crash
Status: RESOLVED DUPLICATE of bug 114508
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.7.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-22 18:08 UTC by pousset.christophe
Modified: 2024-12-22 18:32 UTC (History)
0 users

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 pousset.christophe 2024-12-22 18:08:10 UTC
ubuntu 22.04; libreoffice 7.3.7.2

Hi all,

This is both a bug as it results in a LO crash, and an enhancement suggestion
I have not found a similar request; apologies if i missed it.
This user reported a similar issue:
https://ask.libreoffice.org/t/exclude-single-file-from-recovery/64113

Every now and then (usually after a system crash) i restart libreoffice and it tries to recover files that do not exist anymore (usually, temporary files eg emails attachments) which are removed after reboot.
Instead of just skipping the missing file with a warning, this results in a libreoffice crash (after the warning was issued).

I just had a case where invoking LO after a system crash and reboot, it complained that some file could not be recovered because it could not find /home/User/.cache/.fr-0LFyOg/MyFile.csv
Then, LO crashed, and again and again when trying again.

Indeed it was not here.
In fact the folder .fr-0LFyOg/ was not there at all - the .cache folder was there, but not the said subfolder - (it could also be because of the system crash not updating correctly my filesystem with fsck doing something strange here, or because MyFile.csv was on an sshfs and removed silently)

The (little bit painful) solution was to recreate this folder then recreate the file, which allow LO to start without crashing (then quit the dummy file).

I wish it would not crash and just ignore the missing file(s) with a warning, or that I could request to ignore the missing file before it enters the hole where it crashes.

And yes, I use LO extensively, and this -this hole loop-  happens pretty often. Several times a year, for sure

Have a great end of week end
Comment 1 Mike Kaganski 2024-12-22 18:32:25 UTC

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