jQuery-File-Upload
jQuery-File-Upload copied to clipboard
Firefox: "Error: Image corrupt or truncated: blob:[XY]"
I'm using jQuery-File-Upload with image resizing. In Firefox 28 I'm getting the error
Error: Image corrupt or truncated: blob:1554606b-7557-4977-b1af-f06d90bdee10 Source File: blob:1554606b-7557-4977-b1af-f06d90bdee
if i select more than 3 or 4 images to upload. It doesn's happen always at the 3rd or 4th image, sometimes it happens not before the 10th image. Selecting one or two images always works. After the error appears in the log, not yet processed images stay with the wait-symbol. I can reproduce the problem even with your demo.
In Opera everything works fine.
Any idea what the problem could be?
Thanks Ben
Just a guess, but could be a memory issue, as each browser tab has only limited resources and resizing images, depending on their size, is rather memory intensive. What platform are you testing this on?
I'm using Windows Vista.
Do you think Firefox has a problem releasing allocated memory? Because image processing is done one after another, so it shouldn't be an overall memory-problem? Or am I wrong?
An answer to that question requires further debugging with the help of memory profilers as found in the developer tools of Firefox/Chrome.
But yes, it's certainly possible that memory issues only affect certain browsers, as they employ different JS engines.
I tried it with Google Chrome in the meantime...it seems to be working there.
Same problem here. I'm using Ubuntu. Firefox Nightly works.
Cannot confirm this in my case. It is better in Nightly (more converted images until error appears), but problem is still there.