Closed Bug 473624 Opened 16 years ago Closed 16 years ago

Firefox Bookmarks bar, google search bar, navigation button, History, become corrupted and unusable. Corrupted places.sqlite on accounts that are hosted on NFS shared volumes.

Categories

(Toolkit :: Places, defect)

1.9.0 Branch
x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED INVALID

People

(Reporter: artinm, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5

Firefox Bookmarks bar, google search bar, navigation button, History, become corrupted and  unusable. Corrupted places.sqlite on accounts that are hosted on NFS shared volumes.










Expected Results:
Toolbar buttons not working
Bookmarks not saving.  
Places.sqlite corrupting
Firefox Bookmarks bar, google search bar, navigation button, History, become corrupted and unusable at random (roughly 4 times out of ten when quitting and opening Firefox)


Similar bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=462760
https://bugzilla.mozilla.org/show_bug.cgi?id=464486
https://bugzilla.mozilla.org/show_bug.cgi?id=452193

Reproducible: Sometimes

Steps to Reproduce:
1.Install Firefox 3.0.5
2.Create a Firefox profile on a network account that is hosted on an NFS share.
3.Open Firefox.
4.Create a bookmark.
5.Quit Firefox
6.Open Firefox

Actual Results:  
Toolbar buttons not working
Bookmarks not saving.  
Places.sqlite corrupting

Firefox Bookmarks bar, google search bar, navigation button, History, become corrupted and unusable at random (roughly 4 times out of ten when quitting and opening Firefox)


Expected Results:  
Firefox should save the the bookmarks and not get corrupted. 

This problem does not exhibit itself on profiles that are create on a local volume. So far it has only been reproducible on an NFS shared network volume.

Similar bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=462760
https://bugzilla.mozilla.org/show_bug.cgi?id=464486
https://bugzilla.mozilla.org/show_bug.cgi?id=452193
Do you have any extension in the install? Is this a clear duplicate of any of those bugs?
Version: unspecified → 3.0 Branch
Component: General → Places
Product: Firefox → Toolkit
QA Contact: general → places
Version: 3.0 Branch → 1.9.0 Branch
This is a bug with NFS lying to SQLite about file operations, and we can't do a dang thing about it.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
So Firefox is simply unusable with NFS homes on Mac OS X? Other applications don't seem to suffer from this problem.
This patch will cause sqlite to use the posix lock methods instead of some special workaround for nfs on mac. It is based on firefox 10.0, and I've only tested it on Mac OS X 10.7.2. I haven't done extreme tests, however for now it seems to work (which is much better than doesn't work at all).
Note: we don't accept patches to SQLite.  If you want the change, you have to get it in upstream.
> This is a bug with NFS lying to SQLite about file operations, and we can't do a dang thing about it.

You could not use WAL on NFS...
(In reply to Michael Kaply (mkaply) from comment #6)
> You could not use WAL on NFS...
Our architecture depends on WAL, so no, we can't.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: