{"action":"created","issue":{"url":"https://api.github.com/repos/Livefyre/StreamHub-iOS-SDK/issues/74","labels_url":"https://api.github.com/repos/Livefyre/StreamHub-iOS-SDK/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/Livefyre/StreamHub-iOS-SDK/issues/74/comments","events_url":"https://api.github.com/repos/Livefyre/StreamHub-iOS-SDK/issues/74/events","html_url":"https://github.com/Livefyre/StreamHub-iOS-SDK/issues/74","id":102894252,"number":74,"title":"Crash due to collection being mutated while enumerated","user":{"login":"acorscadden","id":313399,"avatar_url":"https://avatars.githubusercontent.com/u/313399?v=3","gravatar_id":"","url":"https://api.github.com/users/acorscadden","html_url":"https://github.com/acorscadden","followers_url":"https://api.github.com/users/acorscadden/followers","following_url":"https://api.github.com/users/acorscadden/following{/other_user}","gists_url":"https://api.github.com/users/acorscadden/gists{/gist_id}","starred_url":"https://api.github.com/users/acorscadden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acorscadden/subscriptions","organizations_url":"https://api.github.com/users/acorscadden/orgs","repos_url":"https://api.github.com/users/acorscadden/repos","events_url":"https://api.github.com/users/acorscadden/events{/privacy}","received_events_url":"https://api.github.com/users/acorscadden/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-24T21:20:48Z","updated_at":"2015-10-07T15:35:04Z","closed_at":"2015-10-07T15:35:04Z","body":"I'm using the latest sdk and am getting quite a few crash reports from this:\r\n```\r\n*** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <NSConcreteMapTable: 0x157e0fa50> was mutated while being enumerated.\r\n```\r\nThe stack trace looks like this:\r\n```\r\n0   CoreFoundation                       0x0000000182f642d8 __exceptionPreprocess + 132\r\n1   libobjc.A.dylib                      0x0000000194c380e4 objc_exception_throw + 56\r\n2   CoreFoundation                       0x0000000182f63c8c __NSFastEnumerationMutationHandler + 136\r\n3   Foundation                           0x0000000183d82384 -[NSConcreteMapTable countByEnumeratingWithState:objects:count:] + 76\r\n4   Foundation                           0x0000000183e43ef8 -[NSMapTable dictionaryRepresentation] + 292\r\n5   MobileCoreServices                   0x00000001859f2298 -[LSUserActivityManager(Private) sendInitialMessage] + 408\r\n6   MobileCoreServices                   0x00000001859f04c0 -[LSUserActivityManager connection] + 48\r\n7   MobileCoreServices                   0x00000001859f114c __36-[LSUserActivityManager makeActive:]_block_invoke + 32\r\n8   libdispatch.dylib                    0x00000001952b5994 _dispatch_call_block_and_release + 20\r\n9   libdispatch.dylib                    0x00000001952b5954 _dispatch_client_callout + 12\r\n10  libdispatch.dylib                    0x00000001952c00a4 _dispatch_queue_drain + 1444\r\n11  libdispatch.dylib                    0x00000001952b8a5c _dispatch_queue_invoke + 128\r\n12  libdispatch.dylib                    0x00000001952c2318 _dispatch_root_queue_drain + 716\r\n13  libdispatch.dylib                    0x00000001952c3c4c _dispatch_worker_thread3 + 104\r\n14  libsystem_pthread.dylib              0x000000019549522c _pthread_wqthread + 812\r\n15  libsystem_pthread.dylib              0x0000000195494ef0 start_wqthread + 0\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Livefyre/StreamHub-iOS-SDK/issues/comments/146234757","html_url":"https://github.com/Livefyre/StreamHub-iOS-SDK/issues/74#issuecomment-146234757","issue_url":"https://api.github.com/repos/Livefyre/StreamHub-iOS-SDK/issues/74","id":146234757,"user":{"login":"gibron","id":1501296,"avatar_url":"https://avatars.githubusercontent.com/u/1501296?v=3","gravatar_id":"","url":"https://api.github.com/users/gibron","html_url":"https://github.com/gibron","followers_url":"https://api.github.com/users/gibron/followers","following_url":"https://api.github.com/users/gibron/following{/other_user}","gists_url":"https://api.github.com/users/gibron/gists{/gist_id}","starred_url":"https://api.github.com/users/gibron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gibron/subscriptions","organizations_url":"https://api.github.com/users/gibron/orgs","repos_url":"https://api.github.com/users/gibron/repos","events_url":"https://api.github.com/users/gibron/events{/privacy}","received_events_url":"https://api.github.com/users/gibron/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T15:35:04Z","updated_at":"2015-10-07T15:35:04Z","body":"Closing this issue. Let us know if anything is still outstanding!"}}