Red Hat Bugzilla – Bug 152269
default using locking causes hang under nfs
Last modified: 2007-11-30 17:11:02 EST
Description of problem:
I know it sounds strange, but trying to open documents with oowriter
(openoffice.org-writer-1.9.87-2) on rawhide fails with
"General input/output error while accessing /path/to/document.doc"
The same file opens fine with another version of OOo, on another system - where
the directory is also nfs mounted.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start oowriter
2. try to open a .doc file
3. sit back in amazement
It would be really cool if I could use oowriter to read and write word documents.
Opening .sxw documents fails in the same way.
Seeing as it clearly works normally, are you only seeing this with an
nfs-mounted directory ?
http://qa.openoffice.org/issues/show_bug.cgi?id=44126 sounds similiar.
Does commenting out SAL_ENABLE_FILE_LOCKING in
/usr/lib/openoffice.org1.9.87/program/soffice make a difference ?
Yes, that makes all the difference.
Setting SAL_ENABLE_FILE_LOCKING=0 still breaks, but commenting out the
SAL_ENABLE_FILE_LOCKING line (and its export) makes OOo work again over NFS...
FWIW http://go-ooo.org/lxr/source/porting/sal/osl/unx/file.cxx#633 is the
locking stuff which SAL_ENABLE_FILE_LOCKING disables, I'll see if I can
reproduce this with a local nfs setup.
For the benefit of people testing FC4t2: the bug is still present in
I'll try and work around this in 1.9.89-4
done in 1.9.89-4 in HEAD