{ "id": "175511", "key": "TIMOB-28113", "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": "21051", "description": "", "name": "Release 9.2.0", "archived": false, "released": true, "releaseDate": "2020-09-23" }, { "id": "21057", "description": "", "name": "Release 9.1.1", "archived": true, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-09-11T14:25:18.000+0000", "created": "2020-09-08T16:17:34.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "engSchedule", "regression" ], "versions": [ { "id": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-09-11T14:25:18.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": "The customer is experiencing a crash when animating a view.\r\nthey have just upgraded their application from 9.0.3.GA to 9.1.0.GA, the crash is nor present on the earlier SDK.\r\n\r\n*Testcase*;\r\n\r\n{noformat}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: \"white\",\r\n layout: \"vertical\"\r\n});\r\n\r\nvar flipBtn = Ti.UI.createButton({\r\n top: 50,\r\n title: \"Flip\"\r\n});\r\n\r\nvar controlView = Ti.UI.createView({\r\n});\r\n\r\nvar view1 = Ti.UI.createView({\r\n elevation: 20,\r\n width: 200,\r\n height: 200,\r\n top: 100,\r\n backgroundColor: \"red\"\r\n});\r\n\r\ncontrolView.add(view1);\r\n\r\nvar view2 = Ti.UI.createView({\r\n elevation: 20,\r\n width: 200,\r\n height: 200,\r\n top: 100,\r\n backgroundColor: \"green\"\r\n});\r\n\r\nwin.add(flipBtn);\r\nwin.add(controlView);\r\n\r\nvar isShowGreen = false;\r\n\r\nflipBtn.addEventListener('click', function () {\r\n if (isShowGreen) {\r\n isShowGreen = false;\r\n view1.show();\r\n controlView.animate({\r\n view: view1,\r\n transition: Ti.UI.iOS.AnimationStyle.FLIP_FROM_LEFT\r\n });\r\n view2.hide();\r\n } else {\r\n isShowGreen = true;\r\n view2.show();\r\n controlView.animate({\r\n view: view2,\r\n transition: Ti.UI.iOS.AnimationStyle.FLIP_FROM_LEFT\r\n });\r\n view1.hide();\r\n }\r\n});\r\n\r\nwin.open();\r\n{noformat}\r\n\r\n*Expected*;\r\nAnimation to happen successfully\r\n\r\n*Actual*;\r\n\r\n{noformat}\r\n[INFO] -[TiUIViewProxy propertyChanged:oldValue:newValue:proxy:]: unrecognized selector sent to instance 0x7fef51014a00\r\n[DEBUG] ACA crash.report: {\r\n[DEBUG] \"aca_version\" = \"2.0.2\";\r\n[DEBUG] message = \"-[TiUIViewProxy propertyChanged:oldValue:newValue:proxy:]: unrecognized selector sent to instance 0x7fef51014a00\";\r\n[DEBUG] meta = {\r\n[DEBUG] handled = 0;\r\n[DEBUG] };\r\n[DEBUG] stack = (\r\n[DEBUG] \"TitaniumKit 0x000000010c5efde3 -[TiProxy replaceValue:forKey:notification:] + 648\\nTitaniumKit 0x000000010c5caadb -[TiViewProxy setValue:forUndefinedKey:] + 212\\nFoundation 0x00000001095a4bd6 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 325\\nTitaniumKit 0x000000010c5ef8c1 -[TiProxy setValuesForKeysWithDictionary:] + 1886\\nTitaniumKit 0x000000010c5dd5e4 -[TiAnimation animationCompleted:finished:context:] + 365\\nTitaniumKit 0x000000010c5df7c9 __23-[TiAnimation animate:]_block_invoke.380 + 107\\nUIKit 0x0000000134fc4888 -[UIViewAnimationStateAccessibility animationDidStop:finished:] + 118\\nQuartzCore 0x000000010b3d2adc _ZN2CA5Layer23run_animation_callbacksEPv + 306\\nsupport 0x000000010713e445 main + 1173\\nlibdyld.dylib 0x000000010ff361fd start + 1\"\r\n[DEBUG] );\r\n[DEBUG] } \r\n[INFO] APSAnalyticsStore: crash.report\r\n[DEBUG] APSAnalytics: Attempting to send 1 analytics event(s)\r\n[DEBUG] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[TiUIViewProxy propertyChanged:oldValue:newValue:proxy:]: unrecognized selector sent to instance 0x7fef51014a00'\r\n[DEBUG] *** First throw call stack:\r\n[DEBUG] ( \r\n[DEBUG] 0 CoreFoundation 0x000000010d247e6e __exceptionPreprocess + 350\r\n[DEBUG] 1 libobjc.A.dylib 0x0000000109c3a9b2 objc_exception_throw + 48\r\n[DEBUG] 2 CoreFoundation 0x000000010d268b94 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132\r\n[DEBUG] 3 CoreFoundation 0x000000010d24c86c ___forwarding___ + 1436\r\n[DEBUG] 4 CoreFoundation 0x000000010d24eb58 _CF_forwarding_prep_0 + 120\r\n[DEBUG] 5 TitaniumKit 0x000000010c5efde3 -[TiProxy replaceValue:forKey:notification:] + 648\r\n[DEBUG] 6 TitaniumKit 0x000000010c5caadb -[TiViewProxy setValue:forUndefinedKey:] + 212\r\n[DEBUG] 7 Foundation 0x00000001095a4bd6 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 325\r\n[DEBUG] 8 TitaniumKit 0x000000010c5ef8c1 -[TiProxy setValuesForKeysWithDictionary:] + 1886\r\n[DEBUG] 9 TitaniumKit 0x000000010c5dd5e4 -[TiAnimation animationCompleted:finished:context:] + 365\r\n[DEBUG] 10 TitaniumKit 0x000000010c5df7c9 __23-[TiAnimation animate:]_block_invoke.380 + 107\r\n[DEBUG] 11 UIKitCore 0x000000011ecca938 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 671\r\n[DEBUG] 12 UIKitCore 0x000000011ec9b5c5 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 220\r\n[DEBUG] 13 UIKitCore 0x000000011ec9bbbc -[UIViewAnimationState animationDidStop:finished:] + 276\r\n[DEBUG] 14 UIKit 0x0000000134fc4888 -[UIViewAnimationStateAccessibility animationDidStop:finished:] + 118\r\n[DEBUG] 15 QuartzCore 0x000000010b3d2adc _ZN2CA5Layer23run_animation_callbacksEPv + 306\r\n[DEBUG] 16 libdispatch.dylib 0x000000010feb18cb _dispatch_client_callout + 8\r\n[DEBUG] 17 libdispatch.dylib 0x000000010febdcdb _dispatch_main_queue_callback_4CF + 1042\r\n[DEBUG] 18 CoreFoundation 0x000000010d1ab869 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n[DEBUG] 19 CoreFoundation 0x000000010d1a63b9 __CFRunLoopRun + 2041\r\n[DEBUG] 20 CoreFoundation 0x000000010d1a58a4 CFRunLoopRunSpecific + 404\r\n[DEBUG] 21 GraphicsServices 0x00000001128c1bbe GSEventRunModal + 139\r\n[DEBUG] 22 UIKitCore 0x000000011e7cf964 UIApplicationMain + 1605\r\n[DEBUG] 23 support 0x000000010713e445 main + 1173\r\n[DEBUG] 24 libdyld.dylib 0x000000010ff361fd start + 1\r\n[DEBUG] ) \r\n[DEBUG] libc++abi.dylib: terminating with uncaught exception of type NSException\r\n{noformat}\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: App crashes when animation a view", "creator": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "environment": "Appc SDK: 9.1.0.GA\r\nAppc NPM: 5.0.0\r\nAppc CLI: 8.1.0\r\nXcode: 11.7\r\nNode: 12.18.1\r\nNPM: 6.14.6", "closedSprints": [ { "id": 1205, "state": "closed", "name": "2020 Sprint 18", "startDate": "2020-08-31T15:45:10.220Z", "endDate": "2020-09-11T15:45:00.000Z", "completeDate": "2020-09-11T19:56:20.674Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "456777", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is regression from animation related PR https://github.com/appcelerator/titanium_mobile/pull/11666.\r\nLooking in this. ", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-08T20:19:58.000+0000", "updated": "2020-09-08T20:19:58.000+0000" }, { "id": "456800", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/12028", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-09T21:38:35.000+0000", "updated": "2020-09-09T21:38:35.000+0000" }, { "id": "456810", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed waiting for 9_1_X and 9_3_X ports. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-10T12:22:21.000+0000", "updated": "2020-09-10T12:22:21.000+0000" }, { "id": "456813", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master for 9.2.0 target. Backport PRs merged to 9_1_X and 9_3_X. If we do a 9.1.1 this would be included, but if not users can still install an sdk off the 9_1_X branch to get this fix: {{ti sdk install -b 9_1_X}}", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-09-10T12:52:52.000+0000", "updated": "2020-09-10T12:52:52.000+0000" }, { "id": "456844", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*. Fix verified in SDK version {{9.2.0.v20200911051822}}, and {{9.3.0.v20200911052140}}, {{9.1.1.v20200910063052}}.\r\n\r\n*Test and other information can be found at:*\r\nhttps://github.com/appcelerator/titanium_mobile/pull/12028", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-11T14:25:08.000+0000", "updated": "2020-09-11T14:25:08.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }