-
Notifications
You must be signed in to change notification settings - Fork 44
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
Maximum call stack size exceeded on OSX #9
Comments
Just some further clarification re:
I changed line 168 to the following: process.nextTick(entry.doFileDataPump); |
It looks like there's a bug where calling |
$ node --stack-size=100 --stack-trace-limit=200 test/zip.js index.js --buffer $(for i in {1..1000}; do echo index.js; done) -o /dev/null
I was able to cause a problem that matched your stacktrace, and i implemented a fix for it in version 2.1.1. If this did not solve your problem, please reopen this issue. |
👍 Thanks for the quick fix! |
I'm using gulp-atom-shell, which is in turn using gulp-vinyl-zip, which depends on yazl. I'm running into the following problem (OSX 10.10.2):
As best I can tell, it seems to be due to recursion in
pumpEntries()
(by callingentry.doFileDataPump()
, which in turn (possibly?) callspumpEntries()
, etc).Maybe it's caused by a very deeply nested file structure, but I'm not sure. I do know that pushing the call to
entry.doFileDataPump()
to the next frame seems to work, but it feels a little hacky, since i don't actually know why the recursion is occurring.Thoughts?
The text was updated successfully, but these errors were encountered: