[TIMOB-16513] iOS: Getting error message as Maximum call stack size exceeded when having commonJS circular reference
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.2.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | qe-3.2.2 |
Reporter | Priya Agarwal |
Assignee | Unknown |
Created | 2014-02-26T11:31:22.000+0000 |
Updated | 2018-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
Is this a regression?
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.
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
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