Open Bug 349733 Opened 18 years ago Updated 2 years ago

Freezes for a while when trying to find a file:// on network share

Categories

(Core :: Networking, defect, P5)

1.8 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: regaddress, Unassigned)

References

Details

(Whiteboard: [necko-would-take])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6

I downloaded a file ("save to disk" in download manager) to a windows file share (SMB) on another computer. After that when that computer wasn't avaible I tried to download another file, but firefox freeze so I had to kill the process (but it took a while). Like the X-button on the window reacted and after a time displayed "this program is not responding".
The problem seems to be that as always things freeze when you try to access a network share that isn't there (when it try to find that computer).
The same thing happend when I clicked on "Downloads" in the option window.
I confirmed that it has to do with network shares as about:config page field browser.download.dir och browser.download.lastDir (one of them) showed the network share. By letting windows try to find the network computer for a minute, then it was fine again and I could save it locally.
But to have firefox freeze up like that isn't nice.

Maybe a check to see if it's a network share (starts with double slash) and if so launch a new thread that handles it? I don't really know if the whole process will halt while windows tries to find the network share or just the thread. But somehow it should be cancelable and not freezed.

Reproducible: Always

Steps to Reproduce:
1.Find a network computer, save a file to a share.
2.Make the computer unavailable on the network
3.Try to save a file in firefox download manager again

Actual Results:  
Firefox freeze for a minute while windows tries to find the network computer/resource

Expected Results:  
shouldn't freeze, maybe display a message or if the other thread (see details) didn't return an answer in a few seconds, revert lastDir to homefolder instead.
Component: Download Manager → Networking
Product: Firefox → Core
QA Contact: download.manager → networking
Version: unspecified → 1.8 Branch
Summary: Freezes for a while when trying to find a network resource → Freezes for a while when trying to find a file:// on network share
Whiteboard: [network-would-take]
Whiteboard: [network-would-take] → [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: minor → S4

The severity field for this bug is relatively low, S4. However, the bug has 3 duplicates.
:kershaw, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(kershaw)

The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.

Flags: needinfo?(kershaw)
You need to log in before you can comment on or make changes to this bug.