https://bugs.documentfoundation.org/show_bug.cgi?id=147127
Bug ID: 147127
Summary: CRASH - editing/saving of file in LibreOffice exceeds
allowed system disk write cache maximum leading to
exception crash
Product: LibreOffice
Version: 7.2.5.2 release
Hardware: All
OS: macOS (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
LibreOffice isn't compiled to reduce disk writes on SSD drives, which equip all
current Macs. This leads to situations, when making multiple edits and saves in
a large file to a situation in which the builtin macOS disk write protection
system is exceeded, generating an exception that LibreOffice doesn't know how
to handle, which in turn leads to a crash.
In my case, I believe (from the trace) that the diagnostic report that macOS
generated occurred when editing a Draw file with multiple pages of drawings,
each page containing one or more relatively complex SVG files. However, this
could also occur when editing a heavy Writer file, or any other multiple
edit/save operations on the file.
MacOS fixes a limit on the number of disk writes in a 24 hour period per
application, in order to limit wear on SSD drives. The LibreOffice app bundle
doesn't seem to include any code which handles that situation gracefully,
leading to the crash and the diagnostic report.
Steps to Reproduce:
1. In a SSD equipped Mac device, open a large file, or several large files, for
editing.
2. Make multiple saves to the files.
3. Repeat edits and saves over a short period of time (although 24 hours is the
limit set by macOS, the SSD write buffer can be exceeded in much less time)
Actual Results:
CRASH due to unhandled exception generated by excessive write operations on SSD
Expected Results:
No crash, correct disk write management in accordance with Apple guidelines:
https://developer.apple.com/documentation/xcode/reducing-disk-writes
Reproducible: Sometimes
User Profile Reset: Yes
Additional Info:
The software should manage disk writes in accordance with macOS programming
guidelines.
--
You are receiving this mail because:
You are the assignee for the bug.