{ "id": "150921", "key": "TIMOB-19774", "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": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-23T23:18:54.000+0000", "created": "2015-09-02T16:12:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios", "profiler", "user_experience" ], "versions": [], "issuelinks": [ { "id": "49521", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "152197", "key": "TISTUD-7799", "fields": { "summary": "Error connecting to profiler and debugger: Error Domain=NSPOSIXErrorDomain Code=2 \"No such file or directory\"", "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": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-20T04:33:37.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": "h6.Issue Description\r\nWhen the user click on the Capture performance profile button the alert with the message:\r\n\r\nError getting the performance data snapshot\r\n\r\nand the snapshot is not captured\r\n\r\nh6.Expected behavior\r\ncapture a snapshot without errors\r\n\r\nh6.Steps to Replicate: \r\n\r\n1. Create a new titanium alloy/classic default project \r\n2. Run as profile on any iOS simulator \r\n3. In the profile view click the Capture Performance Profile\r\n4. The alert is displayed with the error\r\n \r\n** Profile log and Ti info attached\r\n\r\nAdditional note: \r\n\r\nThis is not happening in all my projects, I also have other project where I can capture the snapshot and the Ti version is the same. In Android Works perfectly on Titanium SDK 3.5.1.GA, 4.0.0.GA, 4.1.0.GA. ", "attachment": [ { "id": "56885", "filename": "logfile.txt", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-02T23:19:21.000+0000", "size": 1058432, "mimeType": "text/plain" }, { "id": "56580", "filename": "Screen Shot 2015-09-02 at 10.10.49 AM.png", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-02T15:36:42.000+0000", "size": 160027, "mimeType": "image/png" }, { "id": "56709", "filename": "studio_log.txt", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-14T21:18:17.000+0000", "size": 14282, "mimeType": "text/plain" }, { "id": "56581", "filename": "Ti info.rtf", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-02T18:12:16.000+0000", "size": 14562, "mimeType": "text/rtf" } ], "flagged": false, "summary": "iOS Profiler: Studio Error getting the performance data snapshot", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX 10.10.5\r\nNode 0.10.37\r\nNPM 1.4.28\r\nJDK 1.7.0_80\r\nNode-appc 0.2.26\r\niOS8.4 \r\nXcode 6.4\r\nTitanium SDK 3.5.1.GA, 4.0.0.GA, 4.1.0.GA \r\n", "closedSprints": [ { "id": 503, "state": "closed", "name": "2015 Sprint 21 SDK", "startDate": "2015-10-10T00:32:18.011Z", "endDate": "2015-10-24T00:32:00.000Z", "completeDate": "2015-10-26T02:20:47.579Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "363787", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I need the Studio log file. Without that, I can't tell what is going on.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-14T16:24:49.000+0000", "updated": "2015-09-14T16:24:49.000+0000" }, { "id": "363835", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The Studio Log is attached, when the snapshot is captured, the studio just throws the alert message (As is showed in the image attached) but never print an error in the log. ", "updateAuthor": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-14T21:21:04.000+0000", "updated": "2015-09-14T21:21:04.000+0000" }, { "id": "365115", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~pinnamuri] to tell them how to add logging information.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-28T16:34:46.000+0000", "updated": "2015-10-12T16:27:48.000+0000" }, { "id": "365116", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~rramirez] The studio log points to the console output from the profile command. Would it be possible to enable Debug Level to All in Preferences > Studio > Troubleshooting, and clear/backup the logs through Help > Studio > Clear log file, and then profile the app.\r\n\r\nThe studio logs should be available at Help > Studio > View log file.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-28T16:37:19.000+0000", "updated": "2015-09-28T20:54:53.000+0000" }, { "id": "365122", "author": { "name": "ralcocer", "key": "ralcocer", "displayName": "Ricardo Alcocer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~pinnamuri] [~rramirez]", "updateAuthor": { "name": "ralcocer", "key": "ralcocer", "displayName": "Ricardo Alcocer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-28T17:01:52.000+0000", "updated": "2015-09-28T17:01:52.000+0000" }, { "id": "365707", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Logile Attached. ", "updateAuthor": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-02T23:19:42.000+0000", "updated": "2015-10-02T23:19:42.000+0000" }, { "id": "367368", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~kkolipaka] Try with iOS 8.4 simulator. You can work with [~cng] to understand why Studio is receiving invalid hprof data after profiling.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-21T04:08:40.000+0000", "updated": "2015-10-21T04:08:40.000+0000" }, { "id": "367620", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "iOS Profiler was rebuild to 64 bits previously. This in turn, changed NSUInteger into 64 bit (previously was 32 bit), causing it to return invalid results to Studio when Studio was expecting 32 bits.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-23T07:05:51.000+0000", "updated": "2015-10-23T07:05:51.000+0000" }, { "id": "367621", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "profiler PR: https://github.com/appcelerator/titanium_profiler/pull/13\r\nMaster PR: https://github.com/appcelerator/titanium_mobile/pull/7337\r\n5_1_X PR: https://github.com/appcelerator/titanium_mobile/pull/7338", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-23T07:15:38.000+0000", "updated": "2015-10-23T07:15:38.000+0000" }, { "id": "368195", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified that if I try to \"Capture Performance Profile\" or stop capturing performance profile, then I do not get the \"Error getting the performance data snapshot\".\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 4.4.0.201510280736\r\nAppc CLI NPM: 4.2.1\r\nAppc CLI Core: 5.1.0-38\r\nArrow: 1.3.13\r\nSDK: 5.1.0.v20151028143628\r\nNode: v4.2.1\r\nOS: El Capitan (10.11.1)\r\nXcode: 7.1\r\nDevices: iphone simulator (9.1), iphone 6 plus (9.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-28T22:53:41.000+0000", "updated": "2015-10-28T22:53:41.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }