Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13692] CLI: Cannot build a project with a folder that contains more that 434 files

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-05-13T18:49:46.000+0000
Affected Version/sRelease 3.1.0
Fix Version/s2013 Sprint 10 JS, 2013 Sprint 10, Release 3.1.1, Release 3.2.0
ComponentsCLI
Labelsmodule_build, qe-closed-3.1.1, qe-testadded, regression, triage
ReporterKonstantinos Roussos
AssigneeChris Barber
Created2013-04-18T18:02:47.000+0000
Updated2014-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.

Comments

  1. Daniel Sefton 2013-04-26

    Reproduced with Ti Studio 3.1.0.201304151600, Ti SDK 3.1 GA. Reported number (434) is correct.
  2. Chris Barber 2013-04-26

    This relates to this Q&A question: http://developer.appcelerator.com/question/151195/call-stack
  3. Daniel Sefton 2013-04-26

    and plenty more reports in linked TIMOB-13668, as you probably saw :)
  4. Chris Barber 2013-05-13

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/4257 3.1.x pull request: https://github.com/appcelerator/titanium_mobile/pull/4258
  5. Olga Romero 2013-05-15

    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

JSON Source