{ "id": "175072", "key": "TIMOB-27930", "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": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-08-11T12:47:30.000+0000", "created": "2020-06-03T13:31:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "engSchedule" ], "versions": [ { "id": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2020-08-11T12:47:30.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": "15103", "name": "iPad", "description": "iPad support" } ], "description": "When the test suite runs on iPad, it tends to crash around the Ti.UI.iOS.WebViewConfiguration tests (not one specific test, though). i.e.\r\n\r\nPlease see the attached crash logs.\r\n\r\nLooks like perhaps TiViewController's underlying _proxy pointer is null?\r\n\r\n{code}\r\n[2020-06-03T13:01:33.689Z] [INFO] : \b\b \b !TEST_START: #createWebViewProcessPool()\r\n[2020-06-03T13:01:33.689Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":16,\"suite\":\"Titanium.UI.iOS\",\"title\":\"#createWebViewProcessPool()\",\"message\":\"\"}\r\n[2020-06-03T13:01:33.689Z] [INFO] : \b\b \b !TEST_START: #createWebViewConfiguration()\r\n[2020-06-03T13:01:33.689Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":0,\"suite\":\"Titanium.UI.iOS\",\"title\":\"#createWebViewConfiguration()\",\"message\":\"\"}\r\n[2020-06-03T13:01:33.689Z] [INFO] : \b\b \b !TEST_START: allowsPictureInPictureMediaPlayback\r\n[2020-06-03T13:01:33.689Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":337,\"suite\":\"Titanium.UI.iOS.WebViewConfiguration\",\"title\":\"allowsPictureInPictureMediaPlayback\",\"message\":\"\"}\r\n[2020-06-03T13:01:33.689Z] [INFO] : \b\b \b !TEST_START: suppressesIncrementalRendering\r\n[2020-06-03T13:01:33.689Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":6,\"suite\":\"Titanium.UI.iOS.WebViewConfiguration\",\"title\":\"suppressesIncrementalRendering\",\"message\":\"\"}\r\n[2020-06-03T13:01:33.689Z] [INFO] : \b\b \b !TEST_START: allowsAirPlayMediaPlayback\r\n[2020-06-03T13:01:33.690Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":5,\"suite\":\"Titanium.UI.iOS.WebViewConfiguration\",\"title\":\"allowsAirPlayMediaPlayback\",\"message\":\"\"}\r\n[2020-06-03T13:01:33.690Z] [INFO] : \b\b \b !TEST_START: allowsInlineMediaPlayback\r\n[2020-06-03T13:01:33.690Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":8,\"suite\":\"Titanium.UI.iOS.WebViewConfiguration\",\"title\":\"allowsInlineMediaPlayback\",\"message\":\"\"}\r\n[2020-06-03T13:01:33.690Z] [INFO] : \b\b \b !TEST_START: selectionGranularity\r\n[2020-06-03T13:01:33.690Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":4,\"suite\":\"Titanium.UI.iOS.WebViewConfiguration\",\"title\":\"selectionGranularity\",\"message\":\"\"}\r\n[2020-06-03T13:01:33.690Z] [INFO] : \b\b \b !TEST_START: mediaTypesRequiringUserActionForPlayback\r\n[2020-06-03T13:01:33.690Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":7,\"suite\":\"Titanium.UI.iOS.WebViewConfiguration\",\"title\":\"mediaTypesRequiringUserActionForPlayback\",\"message\":\"\"}\r\n[2020-06-03T13:01:33.690Z] [INFO] : \b\b \b !TEST_START: preferences\r\n[2020-06-03T13:01:33.690Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":7,\"suite\":\"Titanium.UI.iOS.WebViewConfiguration\",\"title\":\"preferences\",\"message\":\"\"}\r\n[2020-06-03T13:01:33.690Z] [INFO] : \b\b \b !TEST_START: Should pass\r\n[2020-06-03T13:01:33.690Z] [WARN] : \b\b \b Ti.UI.iOS.NavigationWindow DEPRECATED in 8.0.0, in favor of Ti.UI.NavigationWindow\r\n[2020-06-03T13:01:33.690Z] [WARN] : \b\b \b 3DTouch is not available on this device.\r\n[2020-06-03T13:01:33.690Z] [WARN] : \b\b \b Ti.UI.iOS.StatusBar.GRAY DEPRECATED in 9.1.0, in favor of Ti.UI.iOS.StatusBar.DEFAULT\r\n[2020-06-03T13:01:33.690Z] [WARN] : \b\b \b Ti.UI.iOS.StatusBar.GREY DEPRECATED in 9.1.0, in favor of Ti.UI.iOS.StatusBar.DEFAULT\r\n[2020-06-03T13:01:33.690Z] [ERROR] : \b\b \bApplication received error: signal error code: 11\r\n[2020-06-03T13:01:33.690Z] [ERROR] : \b\b \b (null)\r\n{code}", "attachment": [ { "id": "67421", "filename": "mocha_2020-06-02-150546_macos-feldman.crash", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-06-03T13:29:18.000+0000", "size": 195734, "mimeType": "application/octet-stream" }, { "id": "67420", "filename": "mocha_2020-06-03-060205_slapchop-macos.crash", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-06-03T13:29:19.000+0000", "size": 196040, "mimeType": "application/octet-stream" }, { "id": "67422", "filename": "mocha_2020-06-03-063834_ginsu-macos06.crash", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-06-03T17:51:49.000+0000", "size": 191857, "mimeType": "application/octet-stream" }, { "id": "67423", "filename": "mocha_2020-06-03-065153_slapchop-macos.crash", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-06-04T12:42:00.000+0000", "size": 195303, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "iOS: iPad crashing intermittently during unit test suite", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": "CI builds on master\r\nmacOS: Mac OS X 10.14.6 (18G87)\r\nSimulator: iPad Pro (11-inch) (2nd generation) - Runtime: iOS 13.4 (17E8260) - DeviceType: iPad Pro (11-inch) (2nd generation)\r\nSimulator: iPhone SE (2nd generation) - Runtime: iOS 13.4 (17E8260) - DeviceType: iPhone SE (2nd generation)\r\n", "closedSprints": [ { "id": 1199, "state": "closed", "name": "2020 Sprint 13", "startDate": "2020-06-19T16:41:04.099Z", "endDate": "2020-07-02T16:41:00.000Z", "completeDate": "2020-07-02T15:37:12.455Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "455634", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I run unit test 10+ times on iPad but didn't get any crash. I suspect [Titanium.UI.iPad.Popover|https://github.com/appcelerator/titanium-mobile-mocha-suite/blob/8cbbda6f03577d4804ba2c917c9d4430c6419fd8/Resources/ti.ui.ipad.popover.test.js#L43] might be the causing the crash. This is only iPad specific test case which is executing.\r\n[~cwilliams] Can we temporarily stop executing this test case to narrow down the cause of crash?\r\n\r\nPR to comment out test case - https://github.com/appcelerator/titanium-mobile-mocha-suite/pull/262\r\n\r\nNote- Above PR need to be reverted after deciding.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-03T20:58:58.000+0000", "updated": "2020-06-03T21:56:46.000+0000" }, { "id": "455637", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I don't know that it's iPad specific anymore. Just saw this crash on iPhone:\r\nhttps://jenkins.appcelerator.org/blue/organizations/jenkins/titanium-sdk%2Ftitanium_mobile/detail/master/1049/artifacts\r\n\r\nI'll attach that crash log as well - seems to be the same stack trace natively.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-06-04T12:41:52.000+0000", "updated": "2020-06-04T12:41:52.000+0000" }, { "id": "455638", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "My best guess here is that the {{Ti.UI.iOS.createPreviewContext()}} test may be the trigger? I see it registers for the app's top controller a delegate, but never unregisters. But it does deallocate the underlying preview property which is the proxy that the TiViewController is trying to operate on.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-06-04T12:53:58.000+0000", "updated": "2020-06-04T12:53:58.000+0000" }, { "id": "455639", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Nevermind, we guard on non-3DTouch, so probably not that. Ti.UI.iOS.NavigationWindow?", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-06-04T13:12:28.000+0000", "updated": "2020-06-04T13:12:28.000+0000" }, { "id": "455641", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/11753", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-06-04T13:30:46.000+0000", "updated": "2020-06-04T13:30:46.000+0000" }, { "id": "455989", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed: Waiting on Jenkins build.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-02T11:54:25.000+0000", "updated": "2020-07-02T11:54:25.000+0000" }, { "id": "456003", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master for 9.1.0 target", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-07-06T14:59:51.000+0000", "updated": "2020-07-06T14:59:51.000+0000" }, { "id": "456403", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, Test suite is no longer crashing. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-11T12:47:22.000+0000", "updated": "2020-08-11T12:47:22.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }