{ "id": "141232", "key": "TIMOB-18152", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-12-10T22:21:37.000+0000", "created": "2014-12-08T21:21:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "file", "ios", "qe-3.5.0", "regression", "stack", "window" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-12-11T22:24:02.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When opening a window with a file as the url, I occasionally see a \"Maximum call stack size exceeded.\" error.\r\n\r\n*Steps to reproduce*:\r\n1. Download, Build, and open included project (proj 1)\r\n2. Click on Test 2\r\n3. Click on open win2\r\n4. Click on open win3\r\n5. Click on Close Windows\r\n6. Repeat steps 2-5 until error occurs (sometimes on first try, other times it takes a while)\r\n\r\n*Expected Results*:\r\nWindows are able to open without error.\r\n\r\n*Notes*:\r\nI am attaching two projects that encounter this error. If the windows do not use a file for the URL, I do not encounter this issue.\r\nI also have not been able to encounter this with Titanium SDK 3.4.1.GA.\r\n\r\nDownload projects here:\r\nProj 1: https://www.dropbox.com/s/50wyyyc5cs30elc/animations%20test.zip?dl=0\r\nProj 2: https://www.dropbox.com/s/sn2oax930mpx9lo/Null%20Test.zip?dl=0", "attachment": [ { "id": "53091", "filename": "IMG_0016.PNG", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-08T21:21:02.000+0000", "size": 132428, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Window with url:file throws \"Maximum call stack size exceeded\" error on open", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.5.0.v20141208092926\r\nStudio 3.4.1.201410281743 \r\nXcode 6.1.1\r\n\r\nOn: \r\niPad mini, iOS 8.1\r\niPhone 6, iOS 8.2b ", "closedSprints": [ { "id": 272, "state": "closed", "name": "2014 Sprint 25 SDK", "startDate": "2014-12-08T22:49:31.264Z", "endDate": "2014-12-22T01:00:00.000Z", "completeDate": "2015-01-05T18:18:28.523Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "335470", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ewieber] is this a regression?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-08T21:28:59.000+0000", "updated": "2014-12-08T21:28:59.000+0000" }, { "id": "335475", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ingo], looks like it, as I cannot encounter it with 3.4.1.GA. Updating ticket.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-08T21:51:50.000+0000", "updated": "2014-12-08T21:51:50.000+0000" }, { "id": "335864", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending\r\nmaster - https://github.com/appcelerator/titanium_mobile/pull/6464\r\n3_5_X - https://github.com/appcelerator/titanium_mobile/pull/6465", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-10T19:55:49.000+0000", "updated": "2014-12-10T19:55:49.000+0000" }, { "id": "336072", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed using:\r\n\r\nTitanium SDK 3.5.0.v20141211093314\r\nStudio 3.4.1.201410281743 \r\nXcode 6.1.1\r\n\r\nOn: \r\niPad mini, iOS 8.1\r\niPhone 6, iOS 8.2b2 \r\niPhone 4S Sim, iOS 8.1", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-11T22:21:53.000+0000", "updated": "2014-12-11T22:21:53.000+0000" }, { "id": "336073", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test code used:\r\n{code}\r\nvar win = Ti.UI.createWindow({});\r\nvar win2;\r\n\r\nvar btn1 = Ti.UI.createButton({\r\n\ttop : 40,\r\n\tleft : 0,\r\n\twidth : 200,\r\n\theight : 50,\r\n\ttitle : 'open win2'\r\n});\r\nbtn1.addEventListener('click', function() {\r\n\twin2 = Ti.UI.createWindow({\r\n\t\tleft : 0,\r\n\t\ttop : 200,\r\n\t\twidth : '100%',\r\n\t\theight : '50%',\r\n\t\tbackgroundColor : 'purple',\r\n\t\turl : 'win2.js'\r\n\t});\r\n\twin2.open();\r\n});\r\n\r\nvar btn2 = Ti.UI.createButton({\r\n\ttop : 40,\r\n\tleft : 250,\r\n\twidth : 200,\r\n\theight : 50,\r\n\ttitle : 'close win2'\r\n});\r\nbtn2.addEventListener('click', function() {\r\n\twin2.close();\r\n});\r\n\r\nwin.add(btn1);\r\nwin.add(btn2);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-11T22:24:02.000+0000", "updated": "2014-12-11T22:24:02.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }