{ "id": "148354", "key": "TIMOB-18972", "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": null, "resolutiondate": null, "created": "2015-05-30T07:12:59.000+0000", "priority": null, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:32.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "when drag and drop the pin, set callout bubble content will crash the app with error message: {color:red}Collection <__NSArrayM: 0x7f9d4f3db720> was mutated while being enumerated.{color} \r\n\r\n\r\n{code:java}\r\nvar Map = require('ti.map');\r\nvar win = Titanium.UI.createWindow();\r\n\r\nvar mountainView = Map.createAnnotation({\r\n\tlatitude : 37.390749,\r\n\tlongitude : -122.081651,\r\n\ttitle : \"Appcelerator Headquarters\",\r\n\tsubtitle : 'Mountain View, CA',\r\n\tpincolor : Map.ANNOTATION_RED,\r\n\tdraggable : true,\r\n\tmyid : 1 // Custom property to uniquely identify this annotation.\r\n});\r\n\r\nvar mapview = Map.createView({\r\n\tmapType : Map.NORMAL_TYPE,\r\n\tregion : {\r\n\t\tlatitude : 37.390749,\r\n\t\tlongitude : -122.081651,\r\n\t\tlatitudeDelta : 0.01,\r\n\t\tlongitudeDelta : 0.01\r\n\t},\r\n\tanimate : true,\r\n\tregionFit : true,\r\n\tuserLocation : true,\r\n\tannotations : [mountainView]\r\n});\r\n\r\nwin.add(mapview);\r\n// Handle click events on any annotations on this map.\r\nmapview.addEventListener('click', function(evt) {\r\n\tif (evt.clicksource == 'pin') {\r\n\t\tmountainView.setTitle('Appcelerator Headquarters');\r\n\t}\r\n});\r\nwin.open();\r\n{code}\r\n\r\nThanks\r\n", "attachment": [ { "id": "55665", "filename": "app.js", "author": { "name": "wilsonliaw", "key": "wilsonliaw", "displayName": "Wilson Liaw", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-05-30T07:10:14.000+0000", "size": 903, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: Map when drag and drop app crash with error: Collection <__NSArrayM: 0x7f9d4f3db720> was mutated while being enumerated.", "creator": { "name": "wilsonliaw", "key": "wilsonliaw", "displayName": "Wilson Liaw", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "wilsonliaw", "key": "wilsonliaw", "displayName": "Wilson Liaw", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "OSX Version 10.10.3\r\nTitanium SDK 4.0.0.GA \r\nTi.Map module", "comment": { "comments": [ { "id": "379062", "author": { "name": "pravipravi", "key": "pravipravi", "displayName": "Praveen Kodakkad", "active": true, "timeZone": "America/Adak" }, "body": "I am also getting the same issue \r\n\r\n\r\nOperating System\r\nName = Mac OS X\r\nVersion = 10.11.3\r\nArchitecture = 64bit\r\nCPUs = 4\r\nMemory = 8589934592\r\nNode.js\r\nNode.js Version = 0.12.7\r\nnpm Version = 2.11.3\r\nTitanium CLI\r\nCLI Version = 5.0.6\r\nTitanium SDK\r\nSDK Version = 5.2.0.GA\r\nSDK Path = /Users/user1/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA\r\nTarget Platform = iphone\r\n------------------------------------------------------------------------------------------------------------------------------------------------------------------\r\n[INFO] : This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release.\r\n[INFO] : Stack:(\r\n[INFO] : \t0 CoreFoundation 0x000000018162d918 + 148\r\n[INFO] : \t1 libobjc.A.dylib 0x0000000180c9bf80 objc_exception_throw + 56\r\n[INFO] : \t2 CoreFoundation 0x000000018162d848 + 0\r\n[INFO] : \t3 Foundation 0x00000001820cb2d4 + 88\r\n[INFO] : \t4 Foundation 0x0000000181f5199c + 56\r\n[INFO] : \t5 Foundation 0x0000000181f4d55c + 260\r\n[INFO] : \t6 UIKit 0x00000001864275e0 + 64\r\n[INFO] : \t7 UIKit 0x00000001864280f8 + 244\r\n[INFO] : \t8 MapKit 0x000000018b515650 + 32\r\n[INFO] : \t9 MapKit 0x000000018b516788 + 456\r\n[INFO] : \t10 MapKit 0x000000018b5165a4 + 84\r\n[INFO] : \t11 MapKit 0x000000018b515474 + 596\r\n[INFO] : \t12 MapKit 0x000000018b5151f4 + 240\r\n[INFO] : \t13 MapKit 0x000000018b5278cc + 296\r\n[INFO] : \t14 Foundation 0x0000000181f3c5e4 + 424\r\n[INFO] : \t15 Foundation 0x0000000181f18804 + 304\r\n[INFO] : \t16 Foundation 0x0000000181f1832c + 404\r\n[INFO] : \t17 Foundation 0x0000000181f1780c + 908\r\n[INFO] : \t18 Foundation 0x0000000181f3b5c0 + 268\r\n[INFO] : \t19 CoreFoundation 0x0000000181633430 + 144\r\n[INFO] : \t20 CoreFoundation 0x0000000181530eb4 + 284\r\n[INFO] : \t21 MyApp 0x00000001000b5a9c MyApp + 154268\r\n[INFO] : \t22 MyApp 0x00000001000b403c MyApp + 147516\r\n[INFO] : \t23 MyApp 0x00000001003d569c MyApp + 3430044\r\n[INFO] : \t24 MyApp 0x000000010047069c MyApp + 4064924\r\n[INFO] : \t25 MyApp 0x00000001004765d8 MyApp + 4089304\r\n[INFO] : )\r\n[ERROR] : The application has crashed with an uncaught exception 'NSGenericException'.\r\n[ERROR] : Reason:\r\n[ERROR] : *** Collection <__NSSetM: 0x15d2ceec0> was mutated while being enumerated.\r\n[ERROR] : Stack trace:\r\n[ERROR] : \r\n[ERROR] : 0 CoreFoundation 0x000000018162d900 + 124\r\n[ERROR] : 1 libobjc.A.dylib 0x0000000180c9bf80 objc_exception_throw + 56\r\n[ERROR] : 2 CoreFoundation 0x000000018162d334 + 0\r\n[ERROR] : 3 Foundation 0x0000000181f51404 + 404\r\n[ERROR] : 4 Foundation 0x0000000181f541b0 + 340\r\n[ERROR] : 5 Foundation 0x0000000181f58e6c + 708\r\n[ERROR] : 6 Foundation 0x0000000181f589d8 + 240\r\n[ERROR] : 7 UIKit 0x000000018642ae90 + 176\r\n[ERROR] : 8 UIKit 0x000000018642b384 + 196\r\n[ERROR] : 9 UIKit 0x00000001864263f4 + 268\r\n[ERROR] : 10 UIKit 0x000000018637cdb0 + 80\r\n[ERROR] : 11 UIKit 0x000000018662e698 + 664\r\n[ERROR] : 12 UIKit 0x0000000186318a70 + 96\r\n[ERROR] : 13 UIKit 0x000000018658a584 + 376\r\n[ERROR] : 14 UIKit 0x0000000186aefdc4 + 216\r\n[ERROR] : 15 UIKit 0x000000018658a0a8 + 1272\r\n[ERROR] : 16 UIKit 0x0000000186589af0 + 424\r\n[ERROR] : 17 MapKit 0x000000018b521104 + 416\r\n[ERROR] : 18 MapKit 0x000000018b508230 + 188\r\n[ERROR] : 19 MapKit 0x000000018b53ec28 + 92\r\n[ERROR] : 20 MapKit 0x000000018b503db4 + 268\r\n[ERROR] : 21 MyApp 0x000000010069fcb4 MyApp + 6356148\r\n[ERROR] : 22 MyApp 0x0000000100699afc MyApp + 6331132\r\n[ERROR] : 23 Foundation 0x0000000181fe244c __NSFireDelayedPerform + 428\r\n[ERROR] : 24 CoreFoundation 0x00000001815e55f4 + 28\r\n[ERROR] : 25 CoreFoundation 0x00000001815e5298 + 884\r\n[ERROR] : 26 CoreFoundation 0x00000001815e29ac + 1520\r\n[ERROR] : 27 CoreFoundation 0x0000000181511680 CFRunLoopRunSpecific + 384\r\n[ERROR] : 28 GraphicsServices 0x0000000182a20088 GSEventRunModal + 180\r\n[ERROR] : 29 UIKit 0x0000000186388d90 UIApplicationMain + 204\r\n[ERROR] : 30 MyApp 0x0000000100094e2c MyApp + 20012\r\n[ERROR] : 31 libdyld.dylib 0x00000001810b28b8 + 4\r\n[ERROR] : *** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSSetM: 0x15d2ceec0> was mutated while being enumerated.'\r\n[ERROR] : *** First throw call stack:\r\n[ERROR] : (0x18162d900 0x180c9bf80 0x18162d334 0x181f51404 0x181f541b0 0x181f58e6c 0x181f589d8 0x18642ae90 0x18642b384 0x1864263f4 0x18637cdb0 0x18662e698 0x186318a70 0x18658a584 0x186aefdc4 0x18658a0a8 0x186589af0 0x18b521104 0x18b508230 0x18b53ec28 0x18b503db4 0x10069fcb4 0x100699afc 0x181fe244c 0x1815e55f4 0x1815e5298 0x1815e29ac 0x181511680 0x182a20088 0x186388d90 0x100094e2c 0x1810b28b8)\r\n[ERROR] : This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release.\r\n[ERROR] : Stack:(\r\n[ERROR] : \t0 CoreFoundation 0x000000018162d918 + 148\r\n[ERROR] : \t1 libobjc.A.dylib 0x0000000180c9bf80 objc_exception_throw + 56\r\n[ERROR] : \t2 CoreFoundation 0x000000018162d848 + 0\r\n[ERROR] : \t3 Foundation 0x00000001820cb2d4 + 88\r\n[ERROR] : \t4 Foundation 0x0000000181f4d47c + 36\r\n[ERROR] : \t5 UIKit 0x00000001864275e0 + 64\r\n[ERROR] : \t6 UIKit 0x00000001864280f8 + 244\r\n[ERROR] : \t7 UIKit 0x0000000186b8eb74 + 352\r\n[ERROR] : \t8 UIKit 0x0000000186b8e95c + 296\r\n[ERROR] : \t9 MapKit 0x000000018b515684 + 84\r\n[ERROR] : \t10 MapKit 0x000000018b516788 + 456\r\n[ERROR] : \t11 MapKit 0x000000018b5165a4 + 84\r\n[ERROR] : \t12 MapKit 0x000000018b515474 + 596\r\n[ERROR] : \t13 MapKit 0x000000018b5151f4 + 240\r\n[ERROR] : \t14 MapKit 0x000000018b5278cc + 296\r\n[ERROR] : \t15 Foundation 0x0000000181f3c5e4 + 424\r\n[ERROR] : \t16 Foundation 0x0000000181f18804 + 304\r\n[ERROR] : \t17 Foundation 0x0000000181f1832c + 404\r\n[ERROR] : \t18 Foundation 0x0000000181f1780c + 908\r\n[ERROR] : \t19 Foundation 0x0000000181f3b5c0 + 268\r\n[ERROR] : \t20 CoreFoundation 0x0000000181633430 + 144\r\n[ERROR] : \t21 CoreFoundation 0x0000000181530eb4 + 284\r\n[ERROR] : \t22 MyApp 0x00000001000b5a9c MyApp + 154268\r\n[ERROR] : \t23 MyApp 0x00000001000b403c MyApp + 147516\r\n[ERROR] : \t24 MyApp 0x00000001003d569c MyApp + 3430044\r\n[ERROR] : \t25 MyApp 0x000000010047069c MyApp + 4064924\r\n[ERROR] : \t26 MyApp 0x00000001004765d8 MyApp + 4089304\r\n[ERROR] : )", "updateAuthor": { "name": "pravipravi", "key": "pravipravi", "displayName": "Praveen Kodakkad", "active": true, "timeZone": "America/Adak" }, "created": "2016-03-07T21:48:40.000+0000", "updated": "2016-03-07T21:48:40.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }