{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/234","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/234/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/234/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/234","id":105932729,"number":234,"title":"PFThreadsafetySafeDispatchSync Crash on PFThreadsafety.m:28","user":{"login":"maxbryan","id":3952680,"avatar_url":"https://avatars.githubusercontent.com/u/3952680?v=3","gravatar_id":"","url":"https://api.github.com/users/maxbryan","html_url":"https://github.com/maxbryan","followers_url":"https://api.github.com/users/maxbryan/followers","following_url":"https://api.github.com/users/maxbryan/following{/other_user}","gists_url":"https://api.github.com/users/maxbryan/gists{/gist_id}","starred_url":"https://api.github.com/users/maxbryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxbryan/subscriptions","organizations_url":"https://api.github.com/users/maxbryan/orgs","repos_url":"https://api.github.com/users/maxbryan/repos","events_url":"https://api.github.com/users/maxbryan/events{/privacy}","received_events_url":"https://api.github.com/users/maxbryan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/labels/needs%20investigation","name":"needs investigation","color":"ffeea9"},{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/labels/needs%20more%20info","name":"needs more info","color":"ffd182"}],"state":"open","locked":false,"assignee":{"login":"richardjrossiii","id":699752,"avatar_url":"https://avatars.githubusercontent.com/u/699752?v=3","gravatar_id":"","url":"https://api.github.com/users/richardjrossiii","html_url":"https://github.com/richardjrossiii","followers_url":"https://api.github.com/users/richardjrossiii/followers","following_url":"https://api.github.com/users/richardjrossiii/following{/other_user}","gists_url":"https://api.github.com/users/richardjrossiii/gists{/gist_id}","starred_url":"https://api.github.com/users/richardjrossiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardjrossiii/subscriptions","organizations_url":"https://api.github.com/users/richardjrossiii/orgs","repos_url":"https://api.github.com/users/richardjrossiii/repos","events_url":"https://api.github.com/users/richardjrossiii/events{/privacy}","received_events_url":"https://api.github.com/users/richardjrossiii/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-09-11T02:24:19Z","updated_at":"2015-09-16T18:24:57Z","closed_at":null,"body":"Getting a crash while trying to get an image file's data. Calling getDataInBackgroundWithBlock on the main thread. The crashing code is called from PFFile downloadAsyncWithProgressBlock.\r\n\r\n\r\n        image.getDataInBackgroundWithBlock {\r\n            (data, error) -> Void in\r\n            \r\n            if let data = data {\r\n                \r\n                if let image = UIImage(data: data) {\r\n                    \r\n                    self.imageView.image = image\r\n                }\r\n            }\r\n        }\r\n\r\n<img width=\"613\" alt=\"screen shot 2015-09-10 at 9 04 02 pm\" src=\"https://cloud.githubusercontent.com/assets/3952680/9805692/cadbd85e-5801-11e5-9c03-d21fd0fcfa06.png\">\r\n<img width=\"823\" alt=\"screen shot 2015-09-10 at 9 03 49 pm\" src=\"https://cloud.githubusercontent.com/assets/3952680/9805691/cadacf5e-5801-11e5-884d-ebf7f13293d1.png\">\r\ncrash source: 0 dispatch_queue_get_specific\r\n<img width=\"613\" alt=\"screen shot 2015-09-10 at 9 22 34 pm\" src=\"https://cloud.githubusercontent.com/assets/3952680/9805724/13d2533a-5802-11e5-9c34-44298dd17d5a.png\">"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/comments/140832938","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/234#issuecomment-140832938","issue_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/234","id":140832938,"user":{"login":"maxbryan","id":3952680,"avatar_url":"https://avatars.githubusercontent.com/u/3952680?v=3","gravatar_id":"","url":"https://api.github.com/users/maxbryan","html_url":"https://github.com/maxbryan","followers_url":"https://api.github.com/users/maxbryan/followers","following_url":"https://api.github.com/users/maxbryan/following{/other_user}","gists_url":"https://api.github.com/users/maxbryan/gists{/gist_id}","starred_url":"https://api.github.com/users/maxbryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxbryan/subscriptions","organizations_url":"https://api.github.com/users/maxbryan/orgs","repos_url":"https://api.github.com/users/maxbryan/repos","events_url":"https://api.github.com/users/maxbryan/events{/privacy}","received_events_url":"https://api.github.com/users/maxbryan/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T18:24:57Z","updated_at":"2015-09-16T18:24:57Z","body":"Here's a full trace. Thanks again for your help\r\n<img width=\"2405\" alt=\"screen shot 2015-09-16 at 1 23 17 pm\" src=\"https://cloud.githubusercontent.com/assets/3952680/9914183/34401cce-5c76-11e5-9858-9b22bb534912.png\">\r\n"}}