Download Manager shows every file with "starting download" status even after being downloaded; Clear List button disabled; unable to remove downloaded files from the file list




Downloads API
9 years ago
9 years ago


(Reporter: Tony Stewart, Unassigned)


Firefox Tracking Flags

(Not tracked)



(1 attachment)



9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/2009011913 Firefox/3.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/2009011913 Firefox/3.0.6

Since I upgraded to Firefox 3.0.6 last week the status of every file I've downloaded has remained "Starting..." even though download manager has successfully completed the download of all the files. The "Clear List" button in download manager is disabled and clicking the "X" to the right of each filename does nothing, so every downloaded file remains visible in the download manager apparently forever. Also, the status bar at bottom of browser says "2 active downloads (A few seconds remaining)" even though all downloads were successfully completed days ago. (This number has varied between 1 and 2 for several days now.) 

I see several other bugs in bugzilla (e.g. 474168) which are similar, but in my case the downloads have all completed with no errors; the problem is that Download Manager thinks they are still happening and refuses to let me clear them. 

Reproducible: Always

Steps to Reproduce:
1. Go to website containing a link to a file
2. Click link; dialog appears asking where to save it; specify a location
3. Save file to disk 
4. Attempt to remove the filename from Download Manager

Actual Results:  
File remains in Download Manager with status of "Starting..." even though it has been fully downloaded, and Download Manager does not let me remove it from the list. Status bar at bottom of Firefox shows "[n] active downloads (A few seconds remaining)" at all times.
This is happening all the time for every file I download, ever since I upgraded to 3.0.6 last week.

Expected Results:  
Show file in Download Manager with status of "completed"; enable Clear List button; enable X to the right of the filename; allow me to remove it from the list.

I am using default theme but have extras "IE Tab", "Interclue" and "PDF Download". Since I can't believe this bug is happenign to everyone I assume the problem is an interaction with one of those extras.

Comment 1

9 years ago
Created attachment 362000 [details]
Screen shot of download manager as described in the bug

I guess you have to take my word for it, but the files shown in the attached jpg are all small files, all of them were fully downloaded with no problem, and only the .wav file at the top of the list is even recent. The others were from days ago.
Tony: Please try starting in Safe mode to confirm that the extensions are indeed the problem:

Comment 3

9 years ago
Per Marcia's request, I ran in Safe mode and had different (and much worse) problem: the download I attempted didn't start at all. I went to a site from which I can reliably download a reasonably large file, clicked the link to download it. Firefox displayed the "where do you want to save" dialog and I selected a location and pressed the "Save File" button. Nothing happened. Waited about thirty seconds. Opened Download Manager and it was empty. Then I exited and restarted Firefox in normal mode, repeated the above steps, and I am getting the same behavior even in normal Firefox: I am unable to download and save *anything* now. I am asked for Save location, but then nothing happens.

This is a lot more serious than the bug I've been living with the past few days. Next step is to try a reboot and see if it magically solves the problem. 

Btw, downloads are working fine in IE; I just don't want to use it.


9 years ago
Component: General → Download Manager
Product: Firefox → Toolkit
QA Contact: general → download.manager

Comment 4

9 years ago
I have now done a full system reboot (hoping it would magically change something) but I am still completely unable to download anything in Firefox, as reported in my comment #3 immediately above. 

To repeat the history of this bug: I started with the behavior I described in the main bug report (downloads working but Download Manager showing them as forever in "starting..." mode), then I ran Firefox in Safe mode as requested, and ever since I did that I have been unable to download anything at all even when not in Safe mode. For the first time in two years I find myself saying "thank goodness I've also got IE on this machine." 

FYI this all began when I upgraded to 3.0.6; so far as I can recall I have not installed any other software or changed any settings on my computer which might have triggered it.

Comment 5

9 years ago
Same here and it seems that there are dupes - bug #476317 for instance.

UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/2009011913 Firefox/3.0.6 GTB5
Platform: x86 WinXP SP3 build 2600

Also all downloads are completed, but still in "Starting..." state.
It started appearing with downloading of small .torrent file (13 754 bytes)
I haven't restarted Firefox and jumped in SQLite Manager to take a peek at downloads.sqlite and there are two records for same files as in Downloads dialog, both with state -1, curBytes 0 and maxBytes -1

when state is changed manually to 1 DL dialog reflects that info, but refuses to remove download entry and throws following uncaught exception:

uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDownloadManager.cancelDownload]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://mozapps/content/downloads/downloads.js :: cancelDownload :: line 183"  data: no]

Further if I try to download new files while DL dialog is open download doesn't appear in DL list but are added to moz_downloads table and another error is thrown:
Error: download is null
Source File: chrome://mozapps/content/downloads/DownloadProgressListener.js
Line: 76

seems like it could be a race condition and it may be happening on line 70:
var download = getDownload(;

Someone should look deeper in this.

Comment 6

9 years ago
After restarting in safemode previous downloads restarted but now it was possible to stop, remove and add new ones.
DL manager worked like it should.

Restarting back in normal mode also works fine. Guess it must be something obscure.

Comment 7

9 years ago
once more the same bug. this time it happened while saving 3.5KB file from localhost and error console shows following:

Error: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsITransfer.onProgressChange64]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://global/content/contentAreaUtils.js :: anonymous :: line 138"  data: no]
Source File: chrome://global/content/contentAreaUtils.js
Line: 138

Are anyone willing to look at this bug?
You need to log in before you can comment on or make changes to this bug.