{"action":"created","issue":{"url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2924","labels_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2924/labels{/name}","comments_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2924/comments","events_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2924/events","html_url":"https://github.com/AFNetworking/AFNetworking/issues/2924","id":103473289,"number":2924,"title":" Crash in AFHTTPRequestOperation.m (line 123) EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x0000000000000010 ","user":{"login":"suhitp","id":6196402,"avatar_url":"https://avatars.githubusercontent.com/u/6196402?v=3","gravatar_id":"","url":"https://api.github.com/users/suhitp","html_url":"https://github.com/suhitp","followers_url":"https://api.github.com/users/suhitp/followers","following_url":"https://api.github.com/users/suhitp/following{/other_user}","gists_url":"https://api.github.com/users/suhitp/gists{/gist_id}","starred_url":"https://api.github.com/users/suhitp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suhitp/subscriptions","organizations_url":"https://api.github.com/users/suhitp/orgs","repos_url":"https://api.github.com/users/suhitp/repos","events_url":"https://api.github.com/users/suhitp/events{/privacy}","received_events_url":"https://api.github.com/users/suhitp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-27T10:09:02Z","updated_at":"2015-09-10T20:51:58Z","closed_at":null,"body":"Hi, just submitted the app in the app store and getting a lot of crashes (level 5 in crashlytics). I am using AFNetworking for all network requests.\r\nmainly the crashes on iOS8 (83%) \r\n\r\nCrashed: com.apple.main-thread\r\nEXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x0000000000000010\r\n\r\nAFHTTPRequestOperation.m line 123\r\n__64-[AFHTTPRequestOperation setCompletionBlockWithSuccess:failure:]_block_invoke_3\r\n\r\nbased on the logs i feel it's happening because the completion block is being accessed after it is deallocated. \r\n\r\n<img width=\"971\" alt=\"crash_afnetworking1\" src=\"https://cloud.githubusercontent.com/assets/6196402/9518199/9783b722-4cd2-11e5-8542-0074e26b1c13.png\">\r\n\r\n\r\nhard to reproduce while testing but happening regularly, can someone please suggest what is causing this issue or any improvement."},"comment":{"url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/comments/139375435","html_url":"https://github.com/AFNetworking/AFNetworking/issues/2924#issuecomment-139375435","issue_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/2924","id":139375435,"user":{"login":"istx25","id":6799989,"avatar_url":"https://avatars.githubusercontent.com/u/6799989?v=3","gravatar_id":"","url":"https://api.github.com/users/istx25","html_url":"https://github.com/istx25","followers_url":"https://api.github.com/users/istx25/followers","following_url":"https://api.github.com/users/istx25/following{/other_user}","gists_url":"https://api.github.com/users/istx25/gists{/gist_id}","starred_url":"https://api.github.com/users/istx25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/istx25/subscriptions","organizations_url":"https://api.github.com/users/istx25/orgs","repos_url":"https://api.github.com/users/istx25/repos","events_url":"https://api.github.com/users/istx25/events{/privacy}","received_events_url":"https://api.github.com/users/istx25/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T20:51:58Z","updated_at":"2015-09-10T20:51:58Z","body":"Did you find a solution, @suhitp?"}}