{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/9849","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/9849/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/9849/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/9849/events","html_url":"https://github.com/facebook/react-native/issues/9849","id":176312399,"number":9849,"title":"RCTImageView / RCTImageLoader crash","user":{"login":"Azimus","id":1561440,"avatar_url":"https://avatars.githubusercontent.com/u/1561440?v=3","gravatar_id":"","url":"https://api.github.com/users/Azimus","html_url":"https://github.com/Azimus","followers_url":"https://api.github.com/users/Azimus/followers","following_url":"https://api.github.com/users/Azimus/following{/other_user}","gists_url":"https://api.github.com/users/Azimus/gists{/gist_id}","starred_url":"https://api.github.com/users/Azimus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azimus/subscriptions","organizations_url":"https://api.github.com/users/Azimus/orgs","repos_url":"https://api.github.com/users/Azimus/repos","events_url":"https://api.github.com/users/Azimus/events{/privacy}","received_events_url":"https://api.github.com/users/Azimus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-09-12T07:41:47Z","updated_at":"2016-10-07T09:28:18Z","closed_at":null,"body":"### Issue Description\r\n\r\nFew days ago we've release our application to AppStore and stared to receive quite a significant amount of crashes on Crashlytic related to *RCTImageView*, this is few of the crashes we getting, i can attach more if it is required:\r\n```\r\nCrashed: com.apple.NSURLSession-work\r\nCrashed: com.apple.main-thread\r\n0  libsystem_platform.dylib       0x181ad2888 OSAtomicOr32Barrier + 34\r\n1  AppMobile                    0x1002ec2d0 __102-[RCTImageLoader loadImageWithURLRequest:size:scale:clipped:resizeMode:progressBlock:completionBlock:]_block_invoke.253 + 4297802448\r\n2  AppMobile                    0x1002eec8c -[RCTImageView cancelImageLoad] + 4297813132\r\n3  AppMobile                    0x1002ef06c -[RCTImageView reloadImage] + 4297814124\r\n4  AppMobile                    0x1002eff70 -[RCTImageView didMoveToWindow] + 4297817968\r\n5  UIKit                          0x186fd3ac8 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1556\r\n6  UIKit                          0x18738e428 -[UIImageView _didMoveFromWindow:toWindow:] + 80\r\n7  UIKit                          0x186fd37ac -[UIView(Internal) _didMoveFromWindow:toWindow:] + 760\r\n8  UIKit                          0x186fd37ac -[UIView(Internal) _didMoveFromWindow:toWindow:] + 760\r\n9  UIKit                          0x186fd37ac -[UIView(Internal) _didMoveFromWindow:toWindow:] + 760\r\n10 UIKit                          0x186fd2d40 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 152\r\n11 Foundation                     0x1827a8cc0 -[NSISEngine withBehaviors:performModifications:] + 168\r\n12 UIKit                          0x186fd2bc4 -[UIView(Hierarchy) _postMovedFromSuperview:] + 532\r\n13 UIKit                          0x186fe0678 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1784\r\n14 AppMobile                    0x1002b119c -[UIView(React) didUpdateReactSubviews] + 4297560476\r\n15 AppMobile                    0x1002b83d0 -[RCTView didUpdateReactSubviews] + 4297589712\r\n16 AppMobile                    0x1002cacd8 __59-[RCTShadowView processUpdatedProperties:parentProperties:]_block_invoke + 4297665752\r\n17 AppMobile                    0x1002d8188 __77-[RCTUIManager _amendPendingUIBlocksWithStylePropagationUpdateForShadowView:]_block_invoke + 4297720200\r\n18 AppMobile                    0x1002db7d4 __29-[RCTUIManager flushUIBlocks]_block_invoke + 4297734100\r\n19 libdispatch.dylib              0x1818c14bc _dispatch_call_block_and_release + 24\r\n20 libdispatch.dylib              0x1818c147c _dispatch_client_callout + 16\r\n21 libdispatch.dylib              0x1818c6b84 _dispatch_main_queue_callback_4CF + 1844\r\n22 CoreFoundation                 0x181e2cd50 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12\r\n23 CoreFoundation                 0x181e2abb8 __CFRunLoopRun + 1628\r\n24 CoreFoundation                 0x181d54c50 CFRunLoopRunSpecific + 384\r\n25 GraphicsServices               0x18363c088 GSEventRunModal + 180\r\n26 UIKit                          0x187042088 UIApplicationMain + 204\r\n27 AppMobile                    0x1000b3da4 main (main.m:16)\r\n28 libdispatch.dylib              0x1818f28b8 (Missing)\r\n```\r\n```\r\nCrashed: com.facebook.react.ImageLoaderURLRequestQueue\r\n0  libobjc.A.dylib                0x182a25b90 objc_msgSend + 16\r\n1  AppMobile                    0x100242354 __30-[RCTImageLoader dequeueTasks]_block_invoke + 4297745236\r\n2  libdispatch.dylib              0x182df94bc _dispatch_call_block_and_release + 24\r\n3  libdispatch.dylib              0x182df947c _dispatch_client_callout + 16\r\n4  libdispatch.dylib              0x182e054c0 _dispatch_queue_drain + 864\r\n5  libdispatch.dylib              0x182dfcf80 _dispatch_queue_invoke + 464\r\n6  libdispatch.dylib              0x182df947c _dispatch_client_callout + 16\r\n7  libdispatch.dylib              0x182e07914 _dispatch_root_queue_drain + 2140\r\n8  libdispatch.dylib              0x182e070b0 _dispatch_worker_thread3 + 112\r\n9  libsystem_pthread.dylib        0x183011470 _pthread_wqthread + 1092\r\n10 libsystem_pthread.dylib        0x183011020 start_wqthread + 4\r\n```\r\nWe was not able to reproduce this issue on our side yet. But we loading a lot of images in our application (up to 300), can such amount affect it somehow?\r\nIt would be great if we cat get at least a hint where is the source of the issue =)\r\n### Additional Information\r\n- React Native version: [0.32]\r\n- Platform(s) (iOS, Android, or both?): [iOS]\r\n- Operating System (macOS, Linux, or Windows?): [Mac]\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/252194120","html_url":"https://github.com/facebook/react-native/issues/9849#issuecomment-252194120","issue_url":"https://api.github.com/repos/facebook/react-native/issues/9849","id":252194120,"user":{"login":"sattaman","id":1196383,"avatar_url":"https://avatars.githubusercontent.com/u/1196383?v=3","gravatar_id":"","url":"https://api.github.com/users/sattaman","html_url":"https://github.com/sattaman","followers_url":"https://api.github.com/users/sattaman/followers","following_url":"https://api.github.com/users/sattaman/following{/other_user}","gists_url":"https://api.github.com/users/sattaman/gists{/gist_id}","starred_url":"https://api.github.com/users/sattaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sattaman/subscriptions","organizations_url":"https://api.github.com/users/sattaman/orgs","repos_url":"https://api.github.com/users/sattaman/repos","events_url":"https://api.github.com/users/sattaman/events{/privacy}","received_events_url":"https://api.github.com/users/sattaman/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T09:28:18Z","updated_at":"2016-10-07T09:28:18Z","body":"Not sure if this is related? https://github.com/facebook/react-native/issues/10274"}}
{"actor":{"display_login":"sattaman"}}