{ "id": "159496", "key": "TIMOB-23220", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-08-08T22:35:18.000+0000", "created": "2016-04-12T10:16:33.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "Debugging", "Studio4.5.0.201602170821", "ios" ], "versions": [ { "id": "17993", "description": "Release 5.2.2", "name": "Release 5.2.2", "archived": false, "released": true, "releaseDate": "2016-04-05" } ], "issuelinks": [ { "id": "51313", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "154488", "key": "TIMOB-20271", "fields": { "summary": "Frequent crash in Javascript Debugger when removing a breakpoint...", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "51422", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "159498", "key": "TIMOB-23196", "fields": { "summary": "iOS: App crashes when using Expressions tab during debugging", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-08-08T22:35: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" } ], "attachment": [ { "id": "58951", "filename": "HarnessTemplate.zip", "author": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-14T07:31:07.000+0000", "size": 8754465, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS crash on databinding when debugging in studio with SDK 5.2.X", "creator": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.11.4\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 16.0GB\r\n\r\nNode.js\r\n Node.js Version = 0.12.7\r\n npm Version = 2.11.3\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.4\r\n Core Package = 5.2.2\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\n node-appc Version = 0.2.31", "closedSprints": [ { "id": 618, "state": "closed", "name": "2016 Sprint 08 SDK", "startDate": "2016-04-09T00:30:18.262Z", "endDate": "2016-04-23T00:30:00.000Z", "completeDate": "2016-04-25T02:38:28.511Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "382485", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nCan you please explain a little more. I am not understanding your guidance in steps to reproduce \"create a test app with jake using models/binding_tableview\". Please provide a sample test case or a sample project for us to test in our environment. We will let you know the result ones we test the issue in our environment.\r\n\r\nRegards,\r\nSharif.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-04-12T15:42:03.000+0000", "updated": "2016-04-12T15:42:03.000+0000" }, { "id": "382694", "author": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Hello Sharif,\r\n\r\nI made an effort in avoiding as much custom coding as possible. So I reverted to the alloy repository to try and recreate the issue. This is what I did:\r\n\r\nI created a test app using appcelerators repo: https://github.com/appcelerator/alloy\r\nFollowing these steps provided in the readme of the repo:\r\n\r\n[Readme section B|https://github.com/appcelerator/alloy#b-by-cloning-the-repo-and-using-the-jake-test-runner]\r\n{quote}B) By cloning the repo and using the Jake test runner\r\n\r\n# first, clone the repo\r\ngit clone https://github.com/appcelerator/alloy.git\r\ncd alloy\r\n\r\n# install jake globally\r\n[sudo] npm install -g jake\r\n\r\n# install alloy globally from the cloned repo\r\n[sudo] npm install -g .\r\n\r\n# install alloy's local testing dependencies\r\nnpm install\r\n\r\n# run a test app \r\njake app:run dir=models/binding_tableview\r\n{quote}\r\n\r\nNOTE: I changed *_jake app:run dir=basics/simple_* from the read me to *_jake app:run dir=models/binding_tableview_*\r\n\r\nI run this app from CLI and after that imported it in studio as stated in section C:\r\n[Readme Section C|https://github.com/appcelerator/alloy#c-importing-the-harness-to-titanium-studio]\r\n{quote}\r\nC) Importing the \"Harness\" to Titanium Studio\r\n\r\nYou can use these apps through Titanium Studio too. The easiest way to do that would be to import the test/project/Harness into Titanium Studio. After that, everytime you run jake, your project in Studio will be updated. Once in Studio, you can run for any platform, Titanium SDK version, or change any settings you want. This will give you a lot more options and power than running solely from the command line.{quote}\r\n\r\nAfter that run the app from Studio in debug mode.\r\nAs soon as you click addItem (rightnav button) the issue appears and the app crashes.\r\n\r\nBest regards,\r\n\r\nAlexander", "updateAuthor": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-14T07:25:22.000+0000", "updated": "2016-04-14T07:46:24.000+0000" }, { "id": "382695", "author": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Added an attachement with the example project that causes the issue.", "updateAuthor": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-14T07:31:21.000+0000", "updated": "2016-04-14T07:44:34.000+0000" }, { "id": "382916", "author": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "updateAuthor": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-17T19:08:46.000+0000", "updated": "2016-04-17T19:08:46.000+0000" }, { "id": "382917", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-17T22:44:18.000+0000", "updated": "2016-04-17T22:44:35.000+0000" }, { "id": "383283", "author": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Hello Angel,\r\n\r\nTesting the prescribed sdk (5.4.0.v20160411201753) did not work.\r\nWith or without the run-on-main-thread element the app crashes as soon as an item is added to the list using the model.\r\n\r\nHowever, the newer sdk did have success. \r\nI tested using sdk [5.4.0.v20160419234222|http://builds.appcelerator.com/mobile/master/mobilesdk-5.4.0.v20160419234222-osx.zip]\r\nNow the app doesn't crash and I am able to debug. The debugger stops on every breakpoint (single or consecutive ones).\r\n\r\nBest regards,\r\n\r\nAlexander", "updateAuthor": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-20T08:32:57.000+0000", "updated": "2016-04-20T08:32:57.000+0000" }, { "id": "383366", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, Alex thats great to here. Ill be resolving the issue now, thank you for testing it with the newest SDK! ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-20T16:10:29.000+0000", "updated": "2016-04-20T16:10:29.000+0000" }, { "id": "383386", "author": { "name": "alexanderbaars", "key": "alexanderbaars", "displayName": "Alexander Baars", "active": true, "timeZone": "Europe/Berlin" }, "body": "One note though, \r\n\r\nIt works in the simulator only.\r\nI was not able to install an app on device in a debugging session, using this sdk.\r\nI suppose this is a different issue.\r\n", "updateAuthor": { "name": "alexanderbaars", "key": "alexanderbaars", "displayName": "Alexander Baars", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-20T17:31:56.000+0000", "updated": "2016-04-20T17:31:56.000+0000" }, { "id": "383390", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ah thank you for letting me know! We'll investigate the issue and create a new ticket if its re-producable of which I'm sure it will be. Are you able to build to devices using the other SDK's ? ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-20T17:55:32.000+0000", "updated": "2016-04-20T17:55:32.000+0000" }, { "id": "383485", "author": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Hello Angel,\r\n\r\nI tried installing on an iPad 2 with iOS 9.3.1, and it installed both in run and debugging mode for sdk: 5.4.0.v20160419234222, 5.4.0.v20160411201753, 5.2.3.v20160404160237. So success, however the debug-connection was never established.\r\n\r\nI tried installing on an iPhone 6 with iOS 9.3.2(beta) and I succeeded installing only once in debug mode using sdk: 5.4.0.v20160419234222. After that I kept getting this error, on all three sdks upon install, both from debug and run mode on all attempts, restarting or reconnecting didn't help:\r\n\r\n[ERROR] : An error occurred during build after 19s 740ms\r\n[ERROR] : Failed to start \"com.apple.syslog_relay\" service (0xe800007f)\r\n[ERROR] : Try reconnecting your device and try again.\r\n\r\nBest regards,\r\n\r\nAlexander\r\n", "updateAuthor": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-04-21T08:05:34.000+0000", "updated": "2016-04-21T08:05:34.000+0000" }, { "id": "383702", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~Alexander Baars] Hello, I'm sorry to hear you've ran in to another bug , your patience is appreciated. Does this error message appear only with iOS 9.3.2 ? Does it work with iOS 9.2 and 9.3 GA ?\r\n\r\nEdit: I think the crash might be happening because i misled you, instead of doing run-on-main-thread the way i suggested above. Use {code:xml} true {code} Add this above the iOS tag *not* after. We changed the way we declared mainThread for parity reasons between platforms. ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-22T21:01:33.000+0000", "updated": "2016-04-22T22:19:31.000+0000" }, { "id": "384442", "author": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Hello Angel,\r\n\r\nSorry for my late response.\r\nUsing the sdk 5.4.0.v20160419234222 I was able to install a build from a debug session on my iPhone running iOS 9.3.1 GA, with and without the run-on-main-thread property. However the debugger-session hung in Waiting for debugger to connect... Cancelling this message makes the app run.\r\n\r\nAlso I noticed the app starts with a black screen (regression?).\r\n\r\nI also tried sdk 5.4.0.v20160429102159 with the same results.\r\n\r\nBest regards,\r\n\r\nAlexander", "updateAuthor": { "name": "Alexander Baars", "key": "alexander baars", "displayName": "Alexander", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-05-02T10:42:56.000+0000", "updated": "2016-05-02T10:42:56.000+0000" }, { "id": "392464", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue, using:\r\nMacOS 10.11.5 (15F31a)\r\nStudio 4.7.0.201607250649\r\nTi SDK 5.4.0.v20160802165655\r\nAppc NPM 4.2.7\r\nAppc CLI 5.4.0-37\r\nAlloy 1.9.1\r\nXcode 7.3.1 (7D1014)\r\niPhone 6S, iOS 9.3.3\r\n\r\nTested using the data binding test apps in the Alloy repo as well as my own test apps using data binding. I had to turn off {{}} due to TIMOB-23726, but I was able to debug on devices and simulators. All apps were able to build, install, and debug properly.\r\n", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-04T21:23:22.000+0000", "updated": "2016-08-04T21:23:22.000+0000" }, { "id": "392681", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Hi [~Alexander Baars], \r\n\r\nWe are having trouble reproducing the original issue you reported, however I have recently confirmed your issue with the Debugger hanging on \"waiting to connect\" as a valid bug and have created a ticket in regards to it: (See TIMOB-23726).\r\n\r\nFor the time being, I will close this issue as \"unable to reproduce\", and the progress towards the fix for your current issue may be tracked in the aforementioned ticket. If you are still experiencing the original issue here, we will reopen this ticket and investigate further.\r\n\r\nBest Regards,\r\n\r\nHarry Bryant \r\nQuality Engineering", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-08-08T22:34:45.000+0000", "updated": "2016-08-08T22:34:45.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }