Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16513] iOS: Getting error message as Maximum call stack size exceeded when having commonJS circular reference

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.2.2
Fix Version/sn/a
ComponentsiOS
Labelsqe-3.2.2
ReporterPriya Agarwal
AssigneeUnknown
Created2014-02-26T11:31:22.000+0000
Updated2018-02-28T20:03:58.000+0000

Description

Getting error message as :
[ERROR] :  Script Error {
[ERROR] :      message = "Maximum call stack size exceeded.";
[ERROR] :      name = RangeError;
[ERROR] :  }
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
[ERROR] :  Script Error Module "b" failed to leave a valid exports object
[ERROR] :  Script Error Module "a" failed to leave a valid exports object
Steps to reproduce: 1.Install TIMOB-9557 from memory Test Suite and run the app on iOS Device. Actual Result: Getting above mentioned error message as "Maximum call stack size exceeded." Expected Result: Must get console logs as:
Finished require! 
foo 
foo
Working fine on Android. Previously bug for Android was logged TIMOB-9557

Comments

  1. Ingo Muschenetz 2014-02-26

    Is this a regression?
  2. Priya Agarwal 2014-02-27

    No its not a regression. Since issue reproduces in latest 3.2.2 build;3.2.2.v20140221161255 and 3.2.1.GA,3.2.0.GA,3.1.3.GA.3.1.2.GA also.
  3. Shameer Jan 2014-08-21

    Issue reproduced on both SDK Version 3.2.2 GA and 3.4.0 GA CLI version 3.3.0, Titanium SDK version 3.4.0 Titanium SDK version 3.2.2 iOS SDK: 7.1 Appcelerator Studio, build: 3.3.0.201407111535
  4. Khushbu Agrawal 2015-01-12

    Issue reproduced with SDK Version 3.5.0.v20150109131718. CLI version 3.4.1 iOS SDK: 8.1 Appcelerator Studio, build: 3.4.1.201410281743

JSON Source