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

Archive Utility on mac has 100% cpu when trying to unpack zip created with zip.js #29

Closed
altryne opened this issue Dec 4, 2012 · 6 comments

Comments

@altryne
Copy link

altryne commented Dec 4, 2012

I've had this comment from a number of people for extensionizr.com
Generated zip , when opened with Archive Utility sets the CPU to 100% and gets stuck.
Unarchiver on the same archive works well.

@hirschberg
Copy link

same here... stuffitExpander works!

@0xjjpa
Copy link

0xjjpa commented Jan 4, 2013

Same here, thought it was a Mountain Lion bug, but I was able to open other zip files with no problem.

@gildas-lormeau
Copy link
Owner

Guys, I don't own a Mac :p. Can someone give me an example of a working zip file and a "corrupted" zip (please try to make them smaller as possible)? I'll try to see what's wrong... Can can send them at gildas.lormeau [at] gmail.com.

@gildas-lormeau
Copy link
Owner

Can someone try to replace at line 847 in zip.js:
if (!dontDeflate && options.level != 0)
with:
if (!dontDeflate && options.level != 0 && !options.directory)
and tell me if it fixes this issue?

gildas-lormeau added a commit that referenced this issue Feb 23, 2013
@gildas-lormeau
Copy link
Owner

It should be ok now :). Do not hesitate do reopen the issue if there's still a problem.

Special thanks to @hrambelo and @ylesaout!

@hrambelo
Copy link

Glad to see you got it ! @gildas-lormeau you rocks ;) Actually, it seems an os x bug (unbelievable-with-reboot proposed solution1 and solution2), fortunately CLI come to the rescue with /usr/bin/zip.
You welcome man, do not hesitate if there's anything I can do (testing another zip or so ...)

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

5 participants