FLUID-826: Pausing upload hangs the browser, or causes endless loop

Metadata

Source
FLUID-826
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Eli Cochran
Reporter
Anastasia Cheetham
Created
2008-06-26T15:48:01.000-0400
Updated
2008-06-26T17:14:57.000-0400
Versions
N/A
Fixed Versions
  1. 0.4beta1
Component
  1. Uploader

Description

Pausing a upload either hangs the browser, or causes some kind of endless loop.

To reproduce:
http://build.fluidproject.org/fluid/sample-code/uploader/inline/index.html

1) In Firefox, use Firebug to enable and show the console.
2) Select several files to upload. It seems more reproducable with larger files (eg. >500k)
3) Start the upload, then press Pause before it is complete.

One of two things may happen:

A) It may take some time for the 'pause' process to complete (with no console output indicating what's going on). It may, in fact, not come back, and you may have to kill the browser.

B) If you're very patient, and it does come back, the console will begin to display a continuous stream of repeating debug information.

This may actually be two separate issues, one related to the occasional hanging of the browser, and another related to the endless loop. I haven't been able to investigate enough to determine that.

Note that this might be related to FLUID-822, but I don't think so: 822 seems to happen when upload is resumed after pausing, and this bug doesn't let you get that far.

Comments

  • Eli Cochran commented 2008-06-26T16:54:32.000-0400

    I left an extra param around in attempting to fix (work around) FLUID-822. Removed the param. All is happy.