jQuery-File-Upload icon indicating copy to clipboard operation
jQuery-File-Upload copied to clipboard

Firefox: "Error: Image corrupt or truncated: blob:[XY]"

Open bense opened this issue 11 years ago • 6 comments
trafficstars

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

bense avatar Apr 05 '14 11:04 bense

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?

blueimp avatar Apr 05 '14 12:04 blueimp

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?

bense avatar Apr 05 '14 18:04 bense

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.

blueimp avatar Apr 06 '14 10:04 blueimp

I tried it with Google Chrome in the meantime...it seems to be working there.

bense avatar Apr 12 '14 13:04 bense

Same problem here. I'm using Ubuntu. Firefox Nightly works.

Jaxo avatar Apr 22 '14 11:04 Jaxo

Cannot confirm this in my case. It is better in Nightly (more converted images until error appears), but problem is still there.

bense avatar Apr 26 '14 14:04 bense