Closed Bug 98682 Opened 25 years ago Closed 17 years ago

Non-responding Windows UNC share hangs bookmark menu

Categories

(Firefox :: Bookmarks & History, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: johan.walles, Unassigned)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.3) Gecko/20010801 BuildID: 2001080110 I have a bookmark pointing to "file://///HOST/share/file.txt". When HOST is not responding (either because it is shut off or I have not authenticated to it yet), trying to view the bookmarks submenu containing the bookmark hangs mozilla for ~10 seconds. Reproducible: Always Steps to Reproduce: 1. Get two Windows NT boxes, A and B. 2. Make sure they are in the same "workgroup". 3. Export a directory from A as "share" so that it can be accessed from B. 4. Create a text file "file.txt" in the shared directory. 5. Verify that you can access "file.txt" using Mozilla on B. 6. On B, add a bookmark for "file.txt". Verify that it works. 7. Shut down both machines, start B and try to open the bookmark menu. Actual Results: Mozilla hangs for maybe ten seconds, then shows the bookmark menu as it should. Expected Results: Mozilla should have displayed the bookmark menu directly.
URL: http://file://///nonrespondinghost/sh... → file://///nonrespondinghost/share/wha...
Benc : What should we do with this bug ?
Reporter: Are you still seeing this with a more recent build? http://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-win32-talkback.zip (as always, be sure to delete your old Mozilla directory before installing the new one)
Alex: With 2001101003, absolutely :-(.
Ok, no dupes found. Marking NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
file
Assignee: neeti → dougt
Component: Networking → Networking: File
-> bookmarks?
Maybe bookmarks could be doing something smarter to avoid the latency of a nonexistant UNC referenced server.
Assignee: dougt → ben
Component: Networking: File → Bookmarks
QA Contact: benc → claudius
Paul Chen is now taking Bookmarks bugs. For your convenience, you can filter email notifications caused by this by searching for 'ilikegoats'.
Assignee: ben → pchen
marking p3 and future and cc-ing rjc to see why he thinks we're going out to the filesystem
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → Future
pchen: RDF's file system datasource mozilla/rdf/datasource/src/nsFileSystemDataSource.cpp is aggregated in with bookmarks; the FS-DS ends up answering file:/// queries by calling through to XPCom file I/O routines. It would be interesting to discover exactly what OS call causes the ~10 sec delay; WinNT is going out onto the net to either find the volume and perhaps try and enumerate something which it doesn't know isn't there yet. Possible hot spots to set breakpoints in the FS-DS are the GetVolumeList() and GetFolderList() methods. However, this OS behavior might be somewhat unavoidable... its a similiar scenario to making a shortcut to a remote volume, then shutting down the remote volume and trying to access the shortcut... I'd assume that has a delay associated with it as well.
mass reassign of pchen bookmark bugs to ben
Assignee: pchen → ben
Status: ASSIGNED → NEW
see also bug 36974
Summary: Non responding Windows UNC share hangs bookmark menu → Non-responding Windows UNC share hangs bookmark menu
*** Bug 197026 has been marked as a duplicate of this bug. ***
*** Bug 97096 has been marked as a duplicate of this bug. ***
Mass reassign of my non-Firefox bugs to ben_seamonkey@hotmail.com
Assignee: bugs → ben_seamonkey
In a local network environment, where the user has many bookmarks including some servced by file://, and the network configuration changes, this bug is extremely annoying. Workarounds for folk encountering this bug is to remove outdated server references, and keep servers that may be offline in nested folders so their appearance and disappearance does not affect performance of regularly accessed bookmark folders.
Assignee: ben_seamonkey → vladimir
*** Bug 269769 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
*** Bug 273198 has been marked as a duplicate of this bug. ***
Just an update that this bug also occurs on Windows XP.
*** Bug 331267 has been marked as a duplicate of this bug. ***
In my dupe of this (bug 331267), FF was freezing for several *minutes* -- it might as well have hung permanently. Note that all of FF, not just the Bookmarks menu, is frozen for this period. Windows itself causes the long delay, since even via Windows Explorer it took about 1 minute to decide that the network share was unavailable. Would a slow RDF feed cause the same freezing? Anyway, how about the following as a fix: - Timeout after only 1-2 seconds - Don't retry (I observed FF retry at least 3 times) Under no circumstances should opening the Bookmarks menu freeze Firefox for more than a few seconds.
*** Bug 336728 has been marked as a duplicate of this bug. ***
Assignee: vladimir → nobody
Product: Mozilla Application Suite → Firefox
QA Contact: claudius → bookmarks
The delay is caused mainly by Windows NetBT service and can be decreased by tweaking its parameters in the registry. For instance, i decreased the latency on my machine to fewer that 5s by decreasing timeouts and retry counts (see below). We may provide users who struggle from the problem with a .reg file which does appropriate reconfigurations. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters] "BcastNameQueryCount"=dword:00000002 "BcastQueryTimeout"=dword:000002ee "NameSrvQueryCount"=dword:00000002 "NameSrvQueryTimeout"=dword:000002ee
Looks to me like these bug reports are all about Firefox 2.0, which is no longer supported. Firefox 3.0 has a completely different back-end for this, so the report is no longer valid. If you see something similar to this, please file a new bug, as it's not what this bug is about.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
It was once valid. I agree these bugs need to be closed, and I'm glad you've taken the step to do so. I think WFM is the accurate coding.
Resolution: INVALID → WORKSFORME
You need to log in before you can comment on or make changes to this bug.