{ "id": "62626", "key": "TIMOB-1994", "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": "11357", "description": "Mobile 1.8.0 M04", "name": "Sprint 2011-25", "archived": true, "released": true, "releaseDate": "2011-06-27" } ], "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": "2011-06-23T11:41:57.000+0000", "created": "2011-04-15T03:07:38.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "defect", "ios", "klist", "leak", "memory", "release-1.7.0", "tableview", "tbs-1.7.1" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-09T11:23:54.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": "{html}

After getting an intermittent crash, I was using instruments to\r\nlook for mem leaks and encountered this.
\r\nmobile sdk build 1.4.2.4c5cd4a, 4th gen ipod 4.1

\r\n

1.BaseUI>Views>Table Views>Table with controls
\r\n2.scroll up and down a few times
\r\n3.BaseUI>Views>Table Views>Table with controls
\r\n4.scroll up and down a few times
\r\n5.if you are still not seeing mem leaks in instruments, back up one\r\nlevel in the app and scroll the table view test case list

\r\n

results:

\r\n

Leaked Object # Address Size Responsible Library Responsible\r\nFrame
\r\nTiUIImageViewProxy 2 < multiple > 2048 KitchenSink -[TiModule\r\ncreateProxy:forName:context:]
\r\nNSRecursiveLock 2 < multiple > 160 KitchenSink -[TiViewProxy\r\ninit]
\r\nNSConcreteMutableData 2 < multiple > 64 KitchenSink\r\n-[ASIHTTPRequest startRequest]
\r\nNSCFDictionary 0xb461fd0 48 KitchenSink -[ASIHTTPRequest\r\naddRequestHeader:value:]
\r\nNSCFString 0xb45da60 32 CFNetwork\r\nHTTPMessage::createRequestLine(
CFString const, __CFURL\r\nconst, CFString const*, unsigned char)
\r\nASIHTTPRequest 0xb45ca00 432 KitchenSink +[ASIHTTPRequest\r\nrequestWithURL:]
NSCFDictionary 0xb45bf70 48 CFNetwork\r\nHTTPMessage::initialize()
\r\nNSCFType 0xb457410 80 KitchenSink -[ASIHTTPRequest\r\nmain]
\r\nMalloc 16 Bytes 0xb456600 16 KitchenSink -[ASIHTTPRequest\r\naddRequestHeader:value:]
\r\nNSRecursiveLock 0xb4565b0 80 KitchenSink -[ASIHTTPRequest\r\ninitWithURL:]
NSArrayM 0xb455b50 32 KitchenSink\r\n-[ASIHTTPRequest initWithURL:]
\r\nNSOperationInternal 0xb455ac0 144 Foundation -[NSOperation\r\ninit]
\r\nMalloc 16 Bytes 0xb4516d0 16 CFNetwork\r\nHTTPMessage::internalSetHeader(
CFString const,\r\n__CFString const, long)
\r\nMalloc 16 Bytes 0xb42ac90 16 KitchenSink -[ASIHTTPRequest\r\naddRequestHeader:value:]
\r\nNSCFNumber 0xb23e950 16 Foundation -[NSPlaceholderNumber\r\ninitWithUnsignedInt:]
\r\nMalloc 352 Bytes 0xb23d850 352 Foundation -[NSConcreteMutableData\r\nappendBytes:length:]
\r\nNSDate 0xb23d100 16 KitchenSink -[ASIHTTPRequest\r\nhandleBytesAvailable]
NSArrayM 0xb229d80 32 Foundation\r\n+[NSHTTPCookie cf2nsCookies:]
\r\nImageLoaderRequest 0xb036b20 32 KitchenSink -[ImageLoader\r\nloadImage:delegate:userInfo:]
\r\nASIHTTPRequest 0x7b79fa0 432 KitchenSink +[ASIHTTPRequest\r\nrequestWithURL:]
\r\nNSCFDictionary 0x7b79d40 48 KitchenSink -[ASIHTTPRequest\r\naddRequestHeader:value:]
\r\nMalloc 16 Bytes 0x7b79bc0 16 KitchenSink -[ASIHTTPRequest\r\naddRequestHeader:value:]
NSArrayM 0x7b79ba0 32\r\nKitchenSink -[ASIHTTPRequest initWithURL:]
\r\nNSOperationInternal 0x7b79b10 144 Foundation -[NSOperation\r\ninit]
\r\nMalloc 16 Bytes 0x7b79900 16 KitchenSink -[ASIHTTPRequest\r\naddRequestHeader:value:]
\r\nNSRecursiveLock 0x7b798b0 80 KitchenSink -[ASIHTTPRequest\r\ninitWithURL:]
\r\nImageLoaderRequest 0x7b79860 32 KitchenSink -[ImageLoader\r\nloadImage:delegate:userInfo:]
\r\nMalloc 352 Bytes 0x7b757f0 352 Foundation -[NSConcreteMutableData\r\nappendBytes:length:]
NSDate 0x7b6a140 16 KitchenSink\r\n-[ASIHTTPRequest handleBytesAvailable]
\r\n__NSArrayM 0x7b51ab0 32 Foundation +[NSHTTPCookie
\r\ncf2nsCookies:]

{html}", "attachment": [ { "id": "18471", "filename": "1994_stackTrace.rtf", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-11T15:54:50.000+0000", "size": 5214, "mimeType": "text/rtf" } ], "flagged": false, "summary": "iOS: Memory leaks in TableView w/ remote image test cases ", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "132620", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sealing up the last crack: Autorelease pool never got cleared in one break.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-21T17:45:54.000+0000", "updated": "2011-04-21T17:45:54.000+0000" }, { "id": "132659", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Blain fixed it, Blain gets the bug!", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-22T13:05:38.000+0000", "updated": "2011-04-22T13:05:38.000+0000" }, { "id": "133450", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "we are still leaking every time we open the tableview in question. attaching txt file of stack Trace\n\n", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-11T15:53:23.000+0000", "updated": "2011-05-11T15:53:23.000+0000" }, { "id": "133451", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[INFO] Titanium SDK version: 1.7.0 (05/10/11 19:34 879871b...)", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-11T15:54:25.000+0000", "updated": "2011-05-11T15:54:25.000+0000" }, { "id": "157673", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ran leaks to look at this. Need to know device/OS tested on, and tools to get the leaks info.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-23T11:41:57.000+0000", "updated": "2011-06-23T11:41:57.000+0000" }, { "id": "182611", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue as cannot reproduce\r\n\r\nTested with Ti Studio build 1.0.8.201201262211\r\nTi Mob SDK 1.9.0.v20120208180134\r\nOSX Lion 10.7.3\r\niPhone 4S OS 5.0, iPod Touch 4.3.3", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T11:23:54.000+0000", "updated": "2012-02-09T11:23:54.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }