[TIMOB-2636] Crash on view creation
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:59:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M02 |
Components | iOS |
Labels | crash, ios, regression, release-1.6.0, views |
Reporter | Stephen Tramer |
Assignee | Stephen Tramer |
Created | 2011-04-15T03:25:27.000+0000 |
Updated | 2011-04-17T01:59:40.000+0000 |
Description
Looks like the subviews array is getting mutated while being iterated through when creating many subviews for one view. This causes crashes via NSFastEnumeration.
For the full sample code and trace: HD ticket: http://developer.appcelerator.com/helpdesk/view/61891">http://developer.appcelerator.com/helpdesk/view/61891
(from [192c1e18ba2dc033a44fe82d03abc25b04e54102]) [#2636 state:fixed-in-qa] Force view creation onto main thread when setting size, if necessary. https://github.com/appcelerator/titanium_mobile/commit/192c1e18ba2dc033a44fe82d03abc25b04e54102"> https://github.com/appcelerator/titanium_mobile/commit/192c1e18ba2d...
using linked content crash is resolved, 3.2 ipad 1.6.0.8a96481 and 4.2 sim