Bug 93117 - LibreOffice freezes when trying to access/open/read/write documents on NFS mounts
Summary: LibreOffice freezes when trying to access/open/read/write documents on NFS mo...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: Other Linux (All)
: medium major
Assignee: Not Assigned
Depends on:
Blocks: Network
  Show dependency treegraph
Reported: 2015-08-04 11:32 UTC by Basic Six
Modified: 2018-05-30 02:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Basic Six 2015-08-04 11:32:31 UTC
LibreOffice is unable to access files on NFS mounts (at least NFSv3).
When trying to open a remote (odt) file, the splash screen freezes. The process has to be killed (SIGKILL). Opening a file in read-only mode appears to work.
Same thing when trying to save a file on an NFS mount. The window freezes, it's not even possible to select and copy the text to the clipboard, it's gone. I lost a document because I forgot to copy everything to the clipboard before saving - in case LibreOffice crashes.
Interestingly, the file was created (but it's empty), along with a LibreOffice lock file (".~lock...").

This basically makes LibreOffice impossible to work with, on a central NFS storage, at least by default. Given that a central storage for all data is a very common setup, this is a significant bug. When trying to save, this can even cause data loss. The safe workaround is copying the file to the local system, edit it locally and then move it back to the storage.

Using the default LibreOffice from the Arch repository:
LibreOffice 430m0(Build:2)
NFSv3 is used (hard - nolock option is *not* used)

It's frustrating that some people seem to suggest using the nolock mount option, or even worse, migrating everything to NFSv4. Besides certain issues like NFSv4 sometimes having issues when NFSv3 works perfectly fine, it's not a proper solution to migrate NFS because of LibreOffice.
The Arch documentation recommends modifying the LibreOffice wrapper script /usr/lib/libreoffice/program/soffice:
However, none of this is limited to one distribution (like Arch) and no regular person will/should edit a shell script in order to make LibreOffice work. (And what happens when updating, the script might be replaced.)
Again, telling an end user to hack in shell scripts has nothing to do with a solution. If the locking feature isn't working by default, maybe it should be disabled by default?

I have found similar bugs regarding this issue, but no actual solution so far. For example, there is an old OpenOffice bug which was closed (without solution) because "Go_oo does not exist anymore". There are similar LibreOffice bugs, but there are differences, some describe a problem when opening only but not when saving, others describe error messages (there's no error message here).
Comment 1 j.rios 2016-05-17 16:43:18 UTC
I do confirm having theses exact same glitches under archlinux and my server mount using NFSv3, hangs even loading an existing file from the nfs mountpoint.

Thanks for the solution Basic Six x)
Comment 2 Buovjaga 2016-05-25 19:18:10 UTC
NEW per comment 1
Comment 3 QA Administrators 2018-05-30 02:38:43 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team