{ "id": "82875", "key": "TIMOB-6229", "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": "12089", "description": "", "name": "Sprint 2011-49", "archived": true, "released": true, "releaseDate": "2011-12-12" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-05T15:19:01.000+0000", "created": "2011-11-17T21:23:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "module_dashboardview", "qe-testadded" ], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" } ], "issuelinks": [ { "id": "15396", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86964", "key": "TIMOB-7803", "fields": { "summary": "iOS: DashboardView - Stress testing code crashes app", "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": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-24T12:25:07.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": "h4. PROBLEM DESCRIPTION\r\nIf you are updating a DashboardView (by means of removing the data, then the view, then creating new data, then creating the dashboardview). In the test code (attached or included here) we only have a button that will refresh the DashboardView, and a DashboardView. Everytime that the button is pressed, the DashboardView will refresh, but will leak some stuff. \r\n\r\nh4. STEPS TO REPRODUCE\r\n1. Get the code: http://pastie.org/private/nifrkckutcfyinasidqucg\r\n2. Create a new mobile project in Titanium\r\n3. Get the code into the app.js\r\n4. Compile\r\n5. Press \"Refresh\" until crash.\r\n\r\nh4. EXPECTED RESULTS\r\nThe DashboardView refreshing without issues.\r\n\r\nh4. ACTUAL RESULTS\r\nThe App is crashing.\r\n\r\nh4. EXTRA INFO\r\nThis happens in iOS 4.x and 5.0. The leak size is like 300k each refresh. \r\n\r\n", "attachment": [ { "id": "24541", "filename": "crash-6229-2011120901.txt", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T12:30:02.000+0000", "size": 12229, "mimeType": "text/plain" }, { "id": "24542", "filename": "crash-6229-2011120902.txt", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T12:30:02.000+0000", "size": 19992, "mimeType": "text/plain" }, { "id": "24490", "filename": "crashReports.zip", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-12-06T15:46:38.000+0000", "size": 15094, "mimeType": "application/zip" }, { "id": "24544", "filename": "Screen Shot 2011-12-09 at 12.36.44 PM.png", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T12:41:45.000+0000", "size": 122230, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: DashboardView is leaking memory", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "iOS 4.x, 5.0, Snow Leopard, Xcode 4.x, ", "comment": { "comments": [ { "id": "175081", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening bug. \r\n\r\nProvided code crashes in the following environment:\r\n\r\nTitanium Studio, build: 1.0.7.201112060130\r\nOS: Mac OS X Lion\r\nSDK Build: 1.8.0.1.v20111205164258\r\nDevices: iOS Simulator (4.3), ipod 3rd Gen (4.0.2), ipad 2 (4.3.5)\r\nSee attachments for crash reports. I was only able to retrieve crash reports for the ipod and ipad devices.\r\n\r\nNote: Provided code did not crash on iphone 4S (5.0.1)\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-12-06T15:46:22.000+0000", "updated": "2011-12-06T15:46:22.000+0000" }, { "id": "175092", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The two crashes are exception-style crashes. We need the console logs to determine what happened.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-06T16:16:42.000+0000", "updated": "2011-12-06T16:16:42.000+0000" }, { "id": "175570", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T12:12:13.000+0000", "updated": "2011-12-09T16:32:48.000+0000" }, { "id": "175572", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Two crash logs taken from xCode: Contains both console and the symbolicated crash log.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T12:30:02.000+0000", "updated": "2011-12-09T12:30:02.000+0000" }, { "id": "175574", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "By the way, this is how to map a shortcut to the memory warning menu item to facilitate aggressive GC testing.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T12:41:45.000+0000", "updated": "2011-12-09T12:41:45.000+0000" }, { "id": "175635", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Note that I updated the interval from 50 to 200 in the test code; more realistic simulation of a human supertapper, and setting it lower can result in some strange race conditions involving remember/forget that we must examine and aren't part of this bug.\r\n\r\nIn fact, even at this speed, you'll get the occasional warning in xcode... but no fatal memory panics in instruments (curiously, instruments may register one, but the app continues executing).", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T16:34:55.000+0000", "updated": "2011-12-09T16:36:29.000+0000" }, { "id": "175645", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Code reviewed and tested.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T17:41:41.000+0000", "updated": "2011-12-09T17:41:41.000+0000" }, { "id": "175649", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Required additional fixes, and needs the 1.8.0.1 merge.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T20:37:10.000+0000", "updated": "2011-12-09T20:37:10.000+0000" }, { "id": "175689", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nOS: Mac OS X Lion\r\nSDK build: 1.8.0.1.v20111209204243, 1.9.0.v20111209203840\r\nTitanium Studio, build: 1.0.7.201112080131\r\nDevice: ipod 3rd Gen (4.0.2)\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-12-10T13:47:33.000+0000", "updated": "2011-12-10T13:47:33.000+0000" }, { "id": "176060", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to remove merge tag.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-14T10:23:52.000+0000", "updated": "2011-12-14T10:23:52.000+0000" }, { "id": "178209", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Open to update label\r\n", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T14:31:03.000+0000", "updated": "2012-01-05T14:31:03.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }