{ "id": "64638", "key": "TIMOB-3631", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11330", "description": "Planning Week", "name": "Sprint 2011-21", "archived": true, "released": true, "releaseDate": "2011-05-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-05-26T17:34:52.000+0000", "created": "2011-04-20T11:35:12.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "crash" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-10-06T17:08:03.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": "After continued use of the app it will crash. All crashes result in a kill 9 with no further logs or crash statements.\n\nTested on 1.6.3, 1.6.1, 1.7CI.\n\nThe general design of the app: The app is One universal scrollableView. When a section (i.e. Entertainment, Local, World, etc.) gets loaded the views array gets flushed out (set to null) and repopulated with the new data. Reproducing the crash is as easy as refreshing a section 20 or so times or the following....\n\nReproducible Steps:\nTest Case One:\nRefresh the home page 20 times\n\nTest Case Two:\nClick the section button next to refresh -> Select a new section -> repeat selecting different sections -> refresh a section or two -> will result in crash after so many times.\n\nTest Case Three:\nTap Section button next to refresh -> Select Entertainment -> Refresh 4-5 times to crash.\n\nTest Case Four:\nLoad a section -> Tap on an article -> scroll through other articles -> Load a section -> repeat\n\n---\n\nAlso, there is an issue with scrollableViews and 1.6.3. You cannot set the views array to null or it will throw:\n\n~~~\nmessage = \"Invalid type passed to function. expected: NSArray, was: (null) in -[TiUIScrollableViewProxy setViews:] (TiUIScrollableViewProxy.m:32)\";\nsourceId = 202632936;\n~~~\n\nNote that setting the views array to null in 1.6.1 doesn't resolve the kill 9 crash.\n", "attachment": [ { "id": "18571", "filename": "Preferences-2011-05-24-174632.crash", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-24T18:20:28.000+0000", "size": 85605, "mimeType": "application/octet-stream" }, { "id": "18395", "filename": "Resources.zip", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-04-25T12:46:42.000+0000", "size": 1659405, "mimeType": "application/zip" }, { "id": "18393", "filename": "Resources.zip", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-04-22T11:39:16.000+0000", "size": 1573436, "mimeType": "application/zip" } ], "flagged": false, "summary": "Crashing after continued use", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": "iOS 4.2, 4.3 iPad 1 + 2. 1.6.3 (ios_proxy_registration branch)", "comment": { "comments": [ { "id": "132654", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "Attached is a reproducible case.", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-04-22T11:39:16.000+0000", "updated": "2011-04-22T11:39:16.000+0000" }, { "id": "132655", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "If you comment the part that removes it from the window, sets it to null, and recreates it, and only set the views array to [], memory is released: \n\nhttps://img.skitch.com/20110422-cuti158wy8uwu3g8ibi6ms29fe.jpg\nhttps://img.skitch.com/20110422-qctgt2e8kh9bdwjk119r9h4b4h.jpg\n\nBut if you remove it from the window it never gets collected:\n\nhttps://img.skitch.com/20110422-rggc9ytpnqr57h7pgmenam9ira.jpg\nhttp://www.screencast.com/users/XiDScreencasts/folders/Jing/media/540e663a-8015-4072-a2d5-ce2aca6abca4", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-04-22T11:47:01.000+0000", "updated": "2011-04-22T11:47:01.000+0000" }, { "id": "132656", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "Just as an update: I tried the sample code but instead of a scrollableView, made it a TiUIView. Everything releases fine from the TiUIView - but not the SV.", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-04-22T12:43:47.000+0000", "updated": "2011-04-22T12:43:47.000+0000" }, { "id": "132692", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Among other commits, this should be the last of the proxy issues.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-25T11:21:42.000+0000", "updated": "2011-04-25T11:21:42.000+0000" }, { "id": "132703", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-04-25T12:46:42.000+0000", "updated": "2011-04-26T05:55:07.000+0000" }, { "id": "132756", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "The issue is still happening in 1.7CI from today April 26th.", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-04-26T10:43:58.000+0000", "updated": "2011-04-26T10:43:58.000+0000" }, { "id": "133923", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Crash log", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-18T15:11:28.000+0000", "updated": "2011-05-18T15:11:28.000+0000" }, { "id": "134220", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "new crash files", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-24T18:20:28.000+0000", "updated": "2011-05-24T18:20:28.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }