Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compressing a file of ~100MB gives incomplete zip file #42

Closed
jokester opened this issue Mar 27, 2013 · 4 comments
Closed

compressing a file of ~100MB gives incomplete zip file #42

jokester opened this issue Mar 27, 2013 · 4 comments

Comments

@jokester
Copy link

Got an incomplete zip file of 100 bytes, when I tried to compress a ~100MB xml file via temporary storage in RAM.

It seems only zip header(PK~) / filename are there, not compressed date itself.

Didn't observe exception in browser console or demo page.

I can reproduce it by:

1. open http://gildas-lormeau.github.com/zip.js/demos/demo1.html  , with chromium 25.0.1364.172 (187217)
2. add the 100MB file when RAM is chosen for temp storage
3. wait till finish, and click "download".

By the way, a few tests

  • For ~50MB file, temporary storage at RAM still works
  • For ~500MB file, temporary storage at HDD still works

Any idea about the real threshold?

@gildas-lormeau
Copy link
Owner

I was able to reproduce your issue with Chrome 25.0.1364.172 and the latest stable version 26.0.1410.43 m. From my point of view it's a regression from Chrome.

If I put a breakpoint at line 71 in demo1.js, I see that the blob object seems ok : its length is about 100 MB in my test, but the blob URL points to a corrupted Blob. In Chromium 27.0.1454.0 (190683), I wasn't able to reproduce this issue so it may have already been fixed. I think I will however open an issue on crbug.com.

@gildas-lormeau
Copy link
Owner

I opened the ticket 224251 on crbug.com.

@jokester
Copy link
Author

wow. Should have looked into it.

Thanks ! :)

@gildas-lormeau
Copy link
Owner

This bug is fixed in Chrome 42.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants