{ "id": "85011", "key": "TIMOB-7241", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-01-17T09:18:28.000+0000", "created": "2012-01-16T16:43:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-ios11612", "qe-nfc" ], "versions": [ { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:20:18.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": "Description:\r\nWhile testing the new Studio provided templates with master, I ran each on device with instruments to check for leaks. All templates were leaking. This also occurred with the default template and one other I checked against 1.8.0.1.\r\n\r\nDetails:\r\nTwo-Tabbed template\r\nLeaked Object\t#\tAddress\tSize\tResponsible Library\tResponsible Frame\r\nNSMutableDictionary,1\t0x367af0\t48 Bytes\tUIKit\t-[UIApplication _callInitializationDelegatesForURL:payload:suspended:]\r\n\r\nDefault template\r\nLeaked Object\t#\tAddress\tSize\tResponsible Library\tResponsible Frame\r\nMalloc 16 Bytes,1\t0x36b6a0\t16 Bytes\tUIKit\t-[UIApplication _callInitializationDelegatesForURL:payload:suspended:]\r\nMalloc 16 Bytes,1\t0x36d1f0\t16 Bytes\tUIKit\t-[UIApplication _callInitializationDelegatesForURL:payload:suspended:]\r\nNSMutableDictionary,1\t0x351320\t48 Bytes\tUIKit\t-[UIApplication _callInitializationDelegatesForURL:payload:suspended:]\r\n\r\nSingle window template\r\nLeaked Object\t#\tAddress\tSize\tResponsible Library\tResponsible Frame\r\nNSMutableDictionary,1\t0x3ac440\t48 Bytes\tUIKit\t-[UIApplication _callInitializationDelegatesForURL:payload:suspended:]\r\nMalloc 16 Bytes,1\t0x3abe50\t16 Bytes\tUIKit\t-[UIApplication _callInitializationDelegatesForURL:payload:suspended:]\r\nMalloc 16 Bytes,1\t0x3ad960\t16 Bytes\tUIKit\t-[UIApplication _callInitializationDelegatesForURL:payload:suspended:]\r\n\r\nMaster/Detail template\r\nLeaked Object\t#\tAddress\tSize\tResponsible Library\tResponsible Frame\r\nNSMutableDictionary,1\t0x34a5e0\t48 Bytes\tUIKit\t-[UIApplication _callInitializationDelegatesForURL:payload:suspended:]\r\n\r\nSteps to reproduce:\r\n1) Install Titanium Studio, build: 1.0.8.201201131907\r\n2) Create a new project, fill out fields, click \"next\"\r\n3) Choose a template to use\r\n4) Install to iOS device\r\n5) Launch instruments and select app and device as targets\r\n6) Begin recording\r\n7) Exercise app on device (switch tabs, click labels, open windows)\r\n\r\nResult:\r\nMemory leak\r\n\r\nExpected:\r\nNo memory leak", "attachment": [ { "id": "25084", "filename": "default.trace.zip", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-16T16:43:43.000+0000", "size": 1774307, "mimeType": "application/zip" }, { "id": "25085", "filename": "singleAll.trace.zip", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-16T16:43:43.000+0000", "size": 2626812, "mimeType": "application/zip" }, { "id": "25086", "filename": "ttall.trace.zip", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-16T16:43:43.000+0000", "size": 1790624, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: memory - Instruments reports memory leak with all Studio 1.0.8 templates", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 1.0.8.201201131907\r\nMac OS 10.7.2\r\nSDK 1.9.0.v20120115231633", "comment": { "comments": [ { "id": "179502", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is an Apple bug; Apple reserves functions which begin with an _ token. If these functions are leaking memory, and no others inside of the Titanium stack, this is not our issue.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-16T16:58:38.000+0000", "updated": "2012-01-16T16:58:38.000+0000" }, { "id": "179515", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can we try one of these templates with 1.7.5 release? It seems strange that all templates are leaking memory.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-16T17:28:34.000+0000", "updated": "2012-01-16T17:28:34.000+0000" }, { "id": "179555", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "With 1.7.5 and the default template, also had a leak:\r\nLeaked Object\t#\tAddress\tSize\tResponsible Library\tResponsible Frame\r\nNSMutableDictionary,1\t0x339c40\t48 Bytes\tUIKit\t-[UIApplication _callInitializationDelegatesForURL:payload:suspended:]\r\n__NSCFString,2\t< multiple >\t32 Bytes\tFoundation\t+[NSDictionary(NSDictionary) newWithContentsOf:immutable:]\r\n __NSCFString,1\t0x355f50\t16 Bytes\tFoundation\t+[NSDictionary(NSDictionary) newWithContentsOf:immutable:]\r\n __NSCFString,1\t0x3561d0\t16 Bytes\tFoundation\t+[NSDictionary(NSDictionary) newWithContentsOf:immutable:]\r\nNSMutableDictionary,1\t0x355f60\t48 Bytes\tFoundation\t+[NSDictionary(NSDictionary) newWithContentsOf:immutable:]\r\nMalloc 16 Bytes,1\t0x355f90\t16 Bytes\tFoundation\t+[NSDictionary(NSDictionary) newWithContentsOf:immutable:]\r\nMalloc 16 Bytes,1\t0x355fa0\t16 Bytes\tFoundation\t+[NSDictionary(NSDictionary) newWithContentsOf:immutable:]\r\n ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-17T08:47:41.000+0000", "updated": "2012-01-17T08:47:41.000+0000" }, { "id": "179561", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Commented which reopened, setting back as it was set.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-17T09:18:28.000+0000", "updated": "2012-01-17T09:18:28.000+0000" }, { "id": "410989", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:20:18.000+0000", "updated": "2017-03-09T23:20:18.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }