{ "id": "63268", "key": "TIMOB-2636", "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": "11235", "name": "Release 1.6.0 M02", "archived": true, "released": true, "releaseDate": "2010-12-27" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:40.000+0000", "created": "2011-04-15T03:25:27.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "crash", "ios", "regression", "release-1.6.0", "views" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:59:40.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}

Looks like the subviews array is getting mutated while being\niterated through when creating many subviews for one view. This\ncauses crashes via NSFastEnumeration.

\n

For the full sample code and trace: HD ticket: http://developer.appcelerator.com/helpdesk/view/61891

{html}", "attachment": [], "flagged": false, "summary": "Crash on view creation", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129044", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [192c1e18ba2dc033a44fe82d03abc25b04e54102])\n[#2636 state:fixed-in-qa] Force view creation\nonto main thread when setting size, if necessary. \nhttps://github.com/appcelerator/titanium_mobile/commit/192c1e18ba2d...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:25:28.000+0000", "updated": "2011-04-15T03:25:28.000+0000" }, { "id": "129045", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

using linked content crash is resolved, 3.2 ipad 1.6.0.8a96481\nand 4.2 sim

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:25:28.000+0000", "updated": "2011-04-15T03:25:28.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }