[TIMOB-13692] CLI: Cannot build a project with a folder that contains more that 434 files
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-13T18:49:46.000+0000 |
Affected Version/s | Release 3.1.0 |
Fix Version/s | 2013 Sprint 10 JS, 2013 Sprint 10, Release 3.1.1, Release 3.2.0 |
Components | CLI |
Labels | module_build, qe-closed-3.1.1, qe-testadded, regression, triage |
Reporter | Konstantinos Roussos |
Assignee | Chris Barber |
Created | 2013-04-18T18:02:47.000+0000 |
Updated | 2014-07-03T16:27:27.000+0000 |
Description
I have an App with a folder that contains images (jpg & png). This folder has 830 images. If I try to build the project with more than 434 images I get this error:
timers.js:103
if (!process.listeners('uncaughtException').length) throw e;
RangeError: Maximum call stack size exceeded
If I delete any random images and have less that 434 the project is build correctly.
In 3.0.2 it works just fine with any number of images.
Reproduced with Ti Studio 3.1.0.201304151600, Ti SDK 3.1 GA. Reported number (434) is correct.
This relates to this Q&A question: http://developer.appcelerator.com/question/151195/call-stack
and plenty more reports in linked TIMOB-13668, as you probably saw :)
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/4257 3.1.x pull request: https://github.com/appcelerator/titanium_mobile/pull/4258
Verified fix with: Appcelerator Studio, build: 3.1.1.201305142215 SDK, build: 3.1.1.v20130514180723 Device: iPad1 5.1.1 iOS 6.1 simulator