Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 152269 - default using locking causes hang under nfs
default using locking causes hang under nfs
Product: Fedora
Classification: Fedora
Component: openoffice.org (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Caolan McNamara
Depends On:
  Show dependency treegraph
Reported: 2005-03-26 20:33 EST by Rik van Riel
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 1.9.89-4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-06 11:40:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Rik van Riel 2005-03-26 20:33:22 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

Expected results:

It would be really cool if I could use oowriter to read and write word documents.

Additional information:

Opening .sxw documents fails in the same way.
Comment 1 Caolan McNamara 2005-03-29 04:42:50 EST
Seeing as it clearly works normally, are you only seeing this with an
nfs-mounted directory ?
Comment 2 Caolan McNamara 2005-03-29 04:46:24 EST
http://qa.openoffice.org/issues/show_bug.cgi?id=44126 sounds similiar.
Comment 3 Caolan McNamara 2005-03-29 06:24:37 EST
Does commenting out SAL_ENABLE_FILE_LOCKING in
/usr/lib/openoffice.org1.9.87/program/soffice make a difference ?
Comment 4 Rik van Riel 2005-03-29 07:37:55 EST
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...
Comment 5 Caolan McNamara 2005-03-29 10:12:53 EST
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.
Comment 6 Rik van Riel 2005-04-03 21:27:21 EDT
For the benefit of people testing FC4t2: the bug is still present in
Comment 7 Caolan McNamara 2005-04-05 13:13:11 EDT
I'll try and work around this in 1.9.89-4
Comment 8 Caolan McNamara 2005-04-06 11:40:50 EDT
done in 1.9.89-4 in HEAD

Note You need to log in before you can comment on or make changes to this bug.