{ "id": "154771", "key": "TIMOB-20355", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-02-10T19:35:04.000+0000", "created": "2016-02-05T16:50:02.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" }, { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "issuelinks": [ { "id": "50535", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "154616", "key": "TIMOB-20298", "fields": { "summary": "Classic Titanium app with tabs crashes when closed on iOS", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-21T18:37:29.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" }, { "id": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "When a titanium app with a navigation window inside of a tab is closed on iOS it crashes.\r\n\r\n*Steps to reproduce:*\r\n1) Create a new mobile app: Alloy -> Two-tabbed Alloy Application\r\n2) Replace index.xml with the one attached to this issue\r\n2) Run the app on iOS Simulator\r\n3) Double tap the home icon to bring up the app selection/multitasking screen\r\n4) Close the app by sliding it up\r\n\r\n*Expected result*\r\nApp closes normally, without an exception\r\n\r\n*Actual result*\r\nConsole displays:\r\n[ERROR] Can not close root window of the navWindow. Close this window instead", "attachment": [ { "id": "58151", "filename": "index.xml", "author": { "name": "clinseman", "key": "clinseman", "displayName": "Chris Linseman", "active": true, "timeZone": "Europe/London" }, "created": "2016-02-05T16:47:28.000+0000", "size": 228, "mimeType": "text/xml" } ], "flagged": false, "summary": "Titanium app with navigation window in a tab crashes when closed on iOS", "creator": { "name": "clinseman", "key": "clinseman", "displayName": "Chris Linseman", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "clinseman", "key": "clinseman", "displayName": "Chris Linseman", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "376119", "author": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "body": "Similar issue - both seen in the same app.", "updateAuthor": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "created": "2016-02-05T16:52:31.000+0000", "updated": "2016-02-05T16:52:31.000+0000" }, { "id": "376202", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Should be be duplicate of TIMOB-20298, [~bgrantges@appcelerator.com] can you validate with latest 5_2_X or master?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-07T20:14:02.000+0000", "updated": "2016-02-07T20:14:02.000+0000" }, { "id": "376217", "author": { "name": "clinseman", "key": "clinseman", "displayName": "Chris Linseman", "active": true, "timeZone": "Europe/London" }, "body": "This issue is still occurring when running against 5.2.0.v20160205150103", "updateAuthor": { "name": "clinseman", "key": "clinseman", "displayName": "Chris Linseman", "active": true, "timeZone": "Europe/London" }, "created": "2016-02-08T11:06:49.000+0000", "updated": "2016-02-08T11:06:49.000+0000" }, { "id": "376230", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ok. First things first: It's not a crash, just a warning with severity \"error\". The reason is the same as in TIMOB-20298 (related to main thread / kroll thread). We will take a look!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-08T14:21:43.000+0000", "updated": "2016-02-08T14:21:43.000+0000" }, { "id": "376291", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Tested this issue using SDK version {{5.2.0.v20160208101502}}. The issue is not reproducible with an iOS9.2 simulator. *However, I am able to reproduce the error using on 8.4.*\r\n\r\nTested on:\r\n\r\nMac OSX El Capitan 10.11.3 (15D21)\r\nTi SDK: 5.2.0.v20160208101502 \r\nAppc Studio: 4.5.0.201602070910\r\nAppc NPM: 4.2.3-2\r\nApp CLI: 5.2.0-249\r\nXcode 7.2\r\nNode v4.2.4\r\n\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-02-08T23:50:15.000+0000", "updated": "2016-02-10T19:26:59.000+0000" }, { "id": "376518", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/7701\r\nPR (5_2_X): https://github.com/appcelerator/titanium_mobile/pull/7702\r\n\r\n[~cng] Providing a backport, because the related ticket was also 5_2_X. Please consider taking in both.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-10T13:23:56.000+0000", "updated": "2016-02-10T13:29:56.000+0000" }, { "id": "376535", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cherry-Picked Hans commits and added willTerminate check. \r\n\r\nPR(master) : https://github.com/appcelerator/titanium_mobile/pull/7703\r\nPR(5_2_X) : https://github.com/appcelerator/titanium_mobile/pull/7704", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-10T19:21:34.000+0000", "updated": "2016-02-10T19:21:34.000+0000" }, { "id": "414294", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T18:37:29.000+0000", "updated": "2017-03-21T18:37:29.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }