Closed Bug 236267 Opened 21 years ago Closed 21 years ago

Download Manager cleanup lockup

Categories

(Toolkit :: Downloads API, defect)

x86
Windows 95
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 211632

People

(Reporter: paulgrogers, Assigned: bugs)

Details

User-Agent:       
Build Identifier: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

Pressing Tools/Downloads shows dowload history.  Pressing Cleanup button appears
to lockup the task.  Pressing ctl-alt-del bring up task manager.  Download is
"(not responding)".  Task can be ended, but it takes Firefox with it.

Reproducible: Always
Steps to Reproduce:
1.Tools/Download/Cleanup
2.
3.

Actual Results:  
Nothing.

Expected Results:  
Status of previous downloads should be deleted.

There appear a lot of files in the status list.
I can't reproduce this bug. Can anyone else? It might be Win9x specific. If you
upgraded from an earlier version of Firebird, can you try again with a clean
profile and see if you're still seeing this bug?
QA Contact: aebrahim
this is probably bug 211632
Reporter, if you let wait for some time, does it eventually complete the
clearing, or do you have to kill the task?
I did some hunting.  I found the downloads.rdf file had grown to over 1MB. 
(Busy little beaver, ain't I?  ;-)

I opened it in Wordpad.  And while I found most of it in THIS format:
  <RDF:Description about="D:\Download\Computing\SW\Linux\Samba\Samba.ppt"
                   NC:Name="Samba.ppt"
                   NC:Transferred="970KB of 970KB">
    <NC:URL resource="http://www.security-stadium.org/2001/documents/Samba.ppt"/>
    <NC:File resource="D:\Download\Computing\SW\Linux\Samba\Samba.ppt"/>
    <NC:DateStarted NC:parseType="Date">Sat Dec 06 11:35:27 Pacific Standard
Time 2003 +400000</NC:DateStarted>
    <NC:DateEnded NC:parseType="Date">Sat Dec 06 11:38:32 Pacific Standard Time
2003 +450000</NC:DateEnded>
    <NC:DownloadState NC:parseType="Integer">1</NC:DownloadState>
    <NC:ProgressPercent NC:parseType="Integer">100</NC:ProgressPercent>
  </RDF:Description>

In the middle there was a long stretch of THIS:
  <RDF:Seq about="NC:DownloadsRoot">
    <RDF:li resource="C:\WIN95\PROFILES\PAUL\DESKTOP\a173gplf.zip"/>
etc., which appeared anomalous.

So, I saved the old file (obviously), and picked a spot after the first entry of
that first format, and went to the bottom and left the last similar one, and 
deleted everything in the middle.  Then I restarted Firefox,
Tools/Downloads/Cleanup, which it did instantly.  Then I exited and looked at
downloads.rdf, and it was clean.

So, I don't know if the problem came from the list section being improper, or
just the file was too big and overflowed some pointer or table.

Not sure where that LIST section came from.  I went through Mozi 1.5, Firebird
.7, to get here.  Perhaps it's a remnant of a misapplied installation.  I found
the same stretch of lists in a downloads.rdf under C:\WIN95\Mozilla\.
Reporter,

Can you please start again with a totally clean profile and see if you can still
see this problem with a large downloads.rdf file (but one that is generated only
by Firefox 0.8)?

Note two other things:
a) We don't support profile upgrades yet, so you need to test with a clean profile
b) We don't support Windows 95 any more on Firefox. But because your problem
doesn't appear to be OS related, I'm not invalidating.

*** This bug has been marked as a duplicate of 211632 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.