Closed Bug 407587 Opened 17 years ago Closed 16 years ago

Large file uploads result in "Unresponsive Script" dialog; Works in IE

Categories

(Firefox :: File Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jek-mozilla, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

Uploading a large file to MoinMoin such as a zip file of photos results in the computer using 100% CPU and eventually the posting of the "Unresponsive script" dialog.  It is possible to implement a workaround with some size files by increasing the setting of max_script_run_time to be larger but there is always a filesize that will fail.  

The browser becomes locked up for the duration of the upload.  Hitting "Stop script" will unlock and return control.  If you have waited long enough for the upload, your file will likely be complete in spite of the non-completion of the script.  It appears that Firefox is using up the CPU for no benefit.

Uploading the same file using Internet Explorer works as expected and doesn't utilize 100% of the CPU.


Reproducible: Always

Steps to Reproduce:
1. Create a large zip file, say of photos.
2. Go to the attachments page of a MoinMoin wiki that allows large file uploads.
3. Attach the large file and observe the high cpu utilization and eventual "Unresponsive script" dialog.
Actual Results:  
"Unresponsive script" dialog.

Expected Results:  
Perform the upload and allow use of other Firefox windows during the upload.  For the window or tab that was performing the upload, it should appear busy until done.  The CPU utilization should be low.

I can make a private test wiki available by direct communication if needed.
In case MoinMoin is hitting an edge case in their scripting, I cross-posted the problem at this URL: http://moinmo.in/MoinMoinBugs/FirefoxUnresponsiveScript
any change, or response from moinmoin?
No response from either group.  :(

But you could help by "confirming" the bug.
I have uploaded a 48Mb file to both Moinmo and to GMail (just to try and prove that it might be browser side versus web site side).  Both uploads worked fine.  I wasn't able to reproduce this bug. 

I'm using the latest nightly build:  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008041606 Minefield/3.0pre

The "unresponsive script" dialog should inform you what script is causing the issue.  Could you post the name and line number of the error into this bug report?  That would help us to determine if this is a script in Firefox that is causing the problem or one on the moinmo site.
Appears fixed now to me.
Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Jim, thanks for closing this out.  We don't know what fixed it, so WORKSFORME is the proper closure.
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.