{ "id": "112125", "key": "TIMOB-13342", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2013-06-11T18:52:41.000+0000", "created": "2013-04-03T03:43:28.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.1.0", "qe-3.1.1" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "29469", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "115766", "key": "TIMOB-14173", "fields": { "summary": "Android: Profiler: output is inconsistent and incomplete", "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": "29433", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "115682", "key": "TIMOB-14156", "fields": { "summary": "Profiler: profile on iOS device hangs on \"launch app on your device\" ", "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": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-06-11T18:52:41.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "If you run more than one to three snapshots for Android, all results are one node: (program) 100%\r\n\r\nThe other nodes only appear on the creation of the first few snapshots.\r\n\r\nTest Steps:\r\n\r\n1. Run code (app.js) in Android Profiler:\r\n\r\n{code}\r\nvar string = '0123456789';\r\n\r\nfunction complexity_constant()\r\n{\r\n\tconsole.log(string);\r\n}\r\n\r\nfunction complexity_linear()\r\n{\r\n\tfor(i in string)\r\n\t\tconsole.log(string[i]);\r\n}\r\n\r\nfunction complexity_quadratic()\r\n{\r\n\tfor(i in string)\r\n\t\tfor(j in string)\r\n\t\t\tconsole.log(string[i] + ',' + string[j]);\r\n}\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tlayout:'vertical',\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nfunction createButton(title, e)\r\n{\r\n\tvar button = Ti.UI.createButton({\r\n\t\ttitle:title\r\n\t});\r\n\t\r\n\tbutton.addEventListener('click', e);\r\n\t\r\n\twin.add(button);\r\n}\r\n\r\ncreateButton('constant', complexity_constant);\r\ncreateButton('linear', complexity_linear);\r\ncreateButton('quadratic', complexity_quadratic);\r\n\r\nwin.open();\r\n{code}\r\n\r\n2. Create a few snapshots and click on some of the buttons.\r\n\r\nTest Results:\r\n\r\nAfter a few snapshots, all data stops appearing.", "attachment": [ { "id": "39601", "filename": "alloy_android_device_session_1.hprof", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T22:34:24.000+0000", "size": 598, "mimeType": "application/octet-stream" }, { "id": "39602", "filename": "alloy_android_device_session_2.hprof", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T22:34:24.000+0000", "size": 263, "mimeType": "application/octet-stream" }, { "id": "39603", "filename": "alloy_android_device_session_3.hprof", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T22:34:24.000+0000", "size": 598, "mimeType": "application/octet-stream" }, { "id": "39604", "filename": "alloy_android_device_session_4.hprof", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T22:34:24.000+0000", "size": 493, "mimeType": "application/octet-stream" }, { "id": "39605", "filename": "alloy_android_device_session_5.hprof", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T22:34:24.000+0000", "size": 361, "mimeType": "application/octet-stream" }, { "id": "39606", "filename": "alloy_android_device_session_6.hprof", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T22:34:24.000+0000", "size": 500, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Profiler: Android: results are inconsistent and lacking some function calls", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OS: OS X Mountain Lion 10.8.3\r\nJDK: 1.6.0_43\r\nPython: 2.7.2\r\nAnt: 1.8.2\r\nGperf: 3.0.3\r\nGit: 1.7.12.4\r\nNode.js: 0.8.22\r\nNPM: 1.2.14\r\nTitanium CLI: 3.1.0-beta\r\nAlloy: 1.1.0-beta\r\nNode.ACS: 0.9.34\r\nTitanium SDK: 3.1.0.v20130402092426\r\ncommonjs/ti.cloud: 2.3.2\r\nandroid/ti.cloudpush: 2.1.0\r\nandroid/facebook: 3.0.0\r\niphone/facebook: 3.1.1\r\nXcode: 4.6.1 w/Command Line Tools\r\niTunes: 11.0.2\r\nAndroid SDK Tools: r21.1\r\nAndroid NDK: r8e\r\nBlackBerry NDK: 10.0.9.1673\r\nTizen SDK: 2.0\r\nCode Processor: 1.0.0-beta\r\nLiveView: 0.1.0-alpha\r\nandroid/com.crittercism.ti: 1.0.1\r\niphone/com.crittercism.ti: 1.0.1\r\nAppcelerator Studio: 3.1.0.201304012115 w/JDK 3.7.2", "comment": { "comments": [ { "id": "245467", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This doesn't appear to be a Studio issue. We display the data for what we get for each profiling session, and the data here only contains the idle entry. Need Max to take a look at it.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-03T17:00:51.000+0000", "updated": "2013-04-03T17:00:51.000+0000" }, { "id": "245565", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I turned on profiler logging and here is what reported from underlying V8 profiler APIs:\n{code}\n[ERROR][TiProfiler( 384)] --down\n[ERROR][TiProfiler( 384)] func = (program), source = , lineNo = 0, cost = 0.200000\n[ERROR][TiProfiler( 384)] --up\n[ERROR][TiProfiler( 384)] --done\n{code}\nThis might be related to JIT optimizations, or a bug in V8 profiler.\n\nThe issue is only seen on Emulator, cannot reproduce on device.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-03T22:09:29.000+0000", "updated": "2013-04-03T22:09:29.000+0000" }, { "id": "256749", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am attaching some alloy profile sessions on the default alloy project.\r\n\r\nFor each session, I clicked on the hello world button three times.\r\n\r\nI seem to get the results as time progresses, so I don't see this issue (of the results disappearing over time) for alloy on android device.\r\n\r\nHowever, the results are different each time, possibly related to the time being too close to zero, and thus not showing up.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T22:34:24.000+0000", "updated": "2013-06-11T18:52:19.000+0000" }, { "id": "256774", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reclosing as not our bug for now. Perhaps upgrading V8 might help.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T23:38:27.000+0000", "updated": "2013-06-07T23:38:27.000+0000" }, { "id": "256775", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T23:46:38.000+0000", "updated": "2013-06-07T23:46:38.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }