{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/10433","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/10433/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/10433/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/10433/events","html_url":"https://github.com/facebook/react-native/issues/10433","id":183622788,"number":10433,"title":"RCTImageLoader crashes when canceling image loads (RN 0.36)","user":{"login":"SunnyGurnani","id":943576,"avatar_url":"https://avatars.githubusercontent.com/u/943576?v=3","gravatar_id":"","url":"https://api.github.com/users/SunnyGurnani","html_url":"https://github.com/SunnyGurnani","followers_url":"https://api.github.com/users/SunnyGurnani/followers","following_url":"https://api.github.com/users/SunnyGurnani/following{/other_user}","gists_url":"https://api.github.com/users/SunnyGurnani/gists{/gist_id}","starred_url":"https://api.github.com/users/SunnyGurnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunnyGurnani/subscriptions","organizations_url":"https://api.github.com/users/SunnyGurnani/orgs","repos_url":"https://api.github.com/users/SunnyGurnani/repos","events_url":"https://api.github.com/users/SunnyGurnani/events{/privacy}","received_events_url":"https://api.github.com/users/SunnyGurnani/received_events","type":"User","site_admin":false},"labels":[{"id":257497884,"url":"https://api.github.com/repos/facebook/react-native/labels/iOS","name":"iOS","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":41,"created_at":"2016-10-18T08:36:50Z","updated_at":"2016-11-23T19:17:53Z","closed_at":null,"body":"Image Loader Crashing at OSAtomicOr32Barrier (EXC_BAD_ACCESS)\n\nStart of Stack is \n\n```\n- (void)didMoveToWindow\n{\n  [super didMoveToWindow];\n\n  if (!self.window) {\n    // Cancel loading the image if we've moved offscreen. In addition to helping\n    // prioritise image requests that are actually on-screen, this removes\n    // requests that have gotten \"stuck\" from the queue, unblocking other images\n    // from loading.\n    **[self cancelImageLoad];**\n  } else if ([self shouldChangeImageSource]) {\n    [self reloadImage];\n  }\n}\n```\n\n![image](https://cloud.githubusercontent.com/assets/943576/19469908/3ad17458-94d2-11e6-9d4a-d9a1df739175.png)\n\n![image](https://cloud.githubusercontent.com/assets/943576/19470230/76117e04-94d3-11e6-8051-649f46ee2181.png)\n### Steps to Reproduce / Code Snippets\n\nPut some Network Images on the Page (Specially in a List View) then scroll or change tabs so Images which are not loaded yet are out of the View Port and go back to same tab/viewport and you will see this error.\n#### Expected Results\n\nNo Error \n### Additional Information\n- React Native version: Latest 0.36.rc.0\n- Platform(s) (iOS, Android, or both?): iOS\n- Operating System (macOS, Linux, or Windows?): macOS\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/262606911","html_url":"https://github.com/facebook/react-native/issues/10433#issuecomment-262606911","issue_url":"https://api.github.com/repos/facebook/react-native/issues/10433","id":262606911,"user":{"login":"SunnyGurnani","id":943576,"avatar_url":"https://avatars.githubusercontent.com/u/943576?v=3","gravatar_id":"","url":"https://api.github.com/users/SunnyGurnani","html_url":"https://github.com/SunnyGurnani","followers_url":"https://api.github.com/users/SunnyGurnani/followers","following_url":"https://api.github.com/users/SunnyGurnani/following{/other_user}","gists_url":"https://api.github.com/users/SunnyGurnani/gists{/gist_id}","starred_url":"https://api.github.com/users/SunnyGurnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunnyGurnani/subscriptions","organizations_url":"https://api.github.com/users/SunnyGurnani/orgs","repos_url":"https://api.github.com/users/SunnyGurnani/repos","events_url":"https://api.github.com/users/SunnyGurnani/events{/privacy}","received_events_url":"https://api.github.com/users/SunnyGurnani/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T19:17:52Z","updated_at":"2016-11-23T19:17:52Z","body":"I have use react-native-image-progress amd i have faced the crashes\n\nHave you changed setting for removeClippedViews ?\n\n\nOn Wednesday, November 23, 2016, agumack <notifications@github.com> wrote:\n\n> @gabegreenberg <https://github.com/gabegreenberg> from 0.2x and now 0.37\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/facebook/react-native/issues/10433#issuecomment-262597016>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AA5l2JxOuwKPLyCUDQNpGiod7swvMY_Oks5rBIfGgaJpZM4KZhDZ>\n> .\n>\n\n\n-- \nThanks !\n\nSincerely,\nSunny\n917-804-7520\n"}}
{"actor":{"display_login":"SunnyGurnani"}}