payload: {"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/35920","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/35920/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/35920/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/35920/events","html_url":"https://github.com/flutter/flutter/issues/35920","id":466531850,"node_id":"MDU6SXNzdWU0NjY1MzE4NTA=","number":35920,"title":"Native Android Crash on >20 devices when showing GIFs","user":{"login":"danfranklin","id":39173118,"node_id":"MDQ6VXNlcjM5MTczMTE4","avatar_url":"https://avatars1.githubusercontent.com/u/39173118?v=4","gravatar_id":"","url":"https://api.github.com/users/danfranklin","html_url":"https://github.com/danfranklin","followers_url":"https://api.github.com/users/danfranklin/followers","following_url":"https://api.github.com/users/danfranklin/following{/other_user}","gists_url":"https://api.github.com/users/danfranklin/gists{/gist_id}","starred_url":"https://api.github.com/users/danfranklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfranklin/subscriptions","organizations_url":"https://api.github.com/users/danfranklin/orgs","repos_url":"https://api.github.com/users/danfranklin/repos","events_url":"https://api.github.com/users/danfranklin/events{/privacy}","received_events_url":"https://api.github.com/users/danfranklin/received_events","type":"User","site_admin":false},"labels":[{"id":1179266928,"node_id":"MDU6TGFiZWwxMTc5MjY2OTI4","url":"https://api.github.com/repos/flutter/flutter/labels/customer:%20google","name":"customer: google","color":"bfdadc","default":false},{"id":284438921,"node_id":"MDU6TGFiZWwyODQ0Mzg5MjE=","url":"https://api.github.com/repos/flutter/flutter/labels/engine","name":"engine","color":"003570","default":false},{"id":283479343,"node_id":"MDU6TGFiZWwyODM0NzkzNDM=","url":"https://api.github.com/repos/flutter/flutter/labels/severe:%20crash","name":"severe: crash","color":"900000","default":false},{"id":633132914,"node_id":"MDU6TGFiZWw2MzMxMzI5MTQ=","url":"https://api.github.com/repos/flutter/flutter/labels/severe:%20customer%20critical","name":"severe: customer critical","color":"905050","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/flutter/flutter/milestones/22","html_url":"https://github.com/flutter/flutter/milestone/22","labels_url":"https://api.github.com/repos/flutter/flutter/milestones/22/labels","id":2270094,"node_id":"MDk6TWlsZXN0b25lMjI3MDA5NA==","number":22,"title":"Goals","description":"P2: These are tasks we think are worth fixing in the coming years. It includes issues we've identified that might block fully shipping broad consumer-facing apps, correctness issues, and bugs relating to polish and quality.\r\n\r\nThe date on this milestone is utterly arbitrary and just intended to sort the milestone appropriately.","creator":{"login":"Hixie","id":551196,"node_id":"MDQ6VXNlcjU1MTE5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/551196?v=4","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"open_issues":2456,"closed_issues":2283,"state":"open","created_at":"2017-01-23T00:27:59Z","updated_at":"2019-09-10T23:23:35Z","due_on":"2031-01-01T08:00:00Z","closed_at":null},"comments":13,"created_at":"2019-07-10T21:30:49Z","updated_at":"2019-09-10T23:23:34Z","closed_at":"2019-09-10T23:23:34Z","author_association":"NONE","body":"I am getting reports in google play console of native crashes in my android apps that seem to be due to gifs. \r\n\r\nHere is an example report after symbolicating them: \r\n```\r\n********** Crash dump: **********\r\n#00 0x00000000002be9ee /data/app/com.area120.studybuddy.sagaflutter-pQuyyo8WmCdwMu92VQSh2A==/lib/arm/libflutter.so\r\nbool SkToBool<unsigned int>(unsigned int const&)\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/skia/include/core/SkTypes.h:87:80\r\nSkGIFLZWContext::hasRemainingRows()\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/skia/third_party/gif/SkGifImageReader.h:116:0\r\nSkGIFFrameContext::decode(SkStreamBuffer*, SkGifCodec*, bool*)\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/skia/third_party/gif/SkGifImageReader.cpp:425:0\r\nSkGifImageReader::decode(int, bool*)\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/skia/third_party/gif/SkGifImageReader.cpp:455:0\r\nSkGifCodec::decodeFrame(bool, SkCodec::Options const&, int*)\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/skia/src/codec/SkGifCodec.cpp:372:0\r\n#01 0x00000000001f8947 /data/app/com.area120.studybuddy.sagaflutter-pQuyyo8WmCdwMu92VQSh2A==/lib/arm/libflutter.so\r\nSkCodec::getPixels(SkImageInfo const&, void*, unsigned int, SkCodec::Options const*)\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/skia/src/codec/SkCodec.cpp:372:33\r\n#02 0x00000000001409c1 /data/app/com.area120.studybuddy.sagaflutter-pQuyyo8WmCdwMu92VQSh2A==/lib/arm/libflutter.so\r\nflutter::MultiFrameCodec::GetNextFrameImage(fml::WeakPtr<GrContext>)\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/lib/ui/painting/codec.cc:538:36\r\nflutter::MultiFrameCodec::GetNextFrameAndInvokeCallback(std::__1::unique_ptr<tonic::DartPersistentValue, std::__1::default_delete<tonic::DartPersistentValue> >, fml::RefPtr<fml::TaskRunner>, fml::WeakPtr<GrContext>, fml::RefPtr<flutter::SkiaUnrefQueue>, unsigned int)\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/lib/ui/painting/codec.cc:572:0\r\nflutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_3::operator()()\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/lib/ui/painting/codec.cc:611:0\r\nauto fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_3>::operator()<>() const\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/fml/make_copyable.h:24:0\r\ndecltype(std::__1::forward<fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_3>&>(fp)()) std::__1::__invoke<fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_3>&>(fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_3>&)\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/libcxx/include/type_traits:4350:0\r\nvoid std::__1::__invoke_void_return_wrapper<void>::__call<fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_3>&>(fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_3>&)\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/libcxx/include/__functional_base:349:0\r\nstd::__1::__function::__func<fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_3>, std::__1::allocator<fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_3> >, void ()>::operator()()\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/libcxx/include/functional:1572:0\r\n#03 0x0000000000137999 /data/app/com.area120.studybuddy.sagaflutter-pQuyyo8WmCdwMu92VQSh2A==/lib/arm/libflutter.so\r\nfml::MessageLoopImpl::FlushTasks(fml::FlushType)\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/fml/message_loop_impl.cc:138:5\r\nfml::MessageLoopImpl::RunExpiredTasksNow()\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/fml/message_loop_impl.cc:144:0\r\n#04 0x000000000013a275 /data/app/com.area120.studybuddy.sagaflutter-pQuyyo8WmCdwMu92VQSh2A==/lib/arm/libflutter.so\r\nfml::MessageLoopAndroid::OnEventFired()\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/fml/platform/android/message_loop_android.cc:92:5\r\nfml::MessageLoopAndroid::MessageLoopAndroid()::$_0::operator()(int, int, void*) const\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/fml/platform/android/message_loop_android.cc:42:0\r\nfml::MessageLoopAndroid::MessageLoopAndroid()::$_0::__invoke(int, int, void*)\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/fml/platform/android/message_loop_android.cc:40:0\r\n#05 0x000000000000f239 /system/lib/libutils.so (android::Looper::pollInner(int)+632)\r\n#06 0x000000000000ef43 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+26)\r\n#07 0x000000000000c697 /system/lib/libandroid.so (ALooper_pollOnce+50)\r\n#08 0x000000000013a351 /data/app/com.area120.studybuddy.sagaflutter-pQuyyo8WmCdwMu92VQSh2A==/lib/arm/libflutter.so\r\nfml::MessageLoopAndroid::Run()\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/fml/platform/android/message_loop_android.cc:68:18\r\n#09 0x0000000000137863 /data/app/com.area120.studybuddy.sagaflutter-pQuyyo8WmCdwMu92VQSh2A==/lib/arm/libflutter.so\r\nfml::MessageLoopImpl::DoRun()\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/fml/message_loop_impl.cc:84:3\r\nfml::MessageLoop::Run()\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/fml/message_loop.cc:57:0\r\n#10 0x00000000001392cf /data/app/com.area120.studybuddy.sagaflutter-pQuyyo8WmCdwMu92VQSh2A==/lib/arm/libflutter.so\r\nfml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0::operator()() const\r\n/b/s/w/ir/k/src/out/android_release/../../flutter/fml/thread.cc:34:10\r\ndecltype(std::__1::forward<fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(fp)()) std::__1::__invoke<fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0&&)\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/libcxx/include/type_traits:4350:0\r\nvoid std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>&, std::__1::__tuple_indices<>)\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/libcxx/include/thread:342:0\r\nvoid* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*)\r\n/b/s/w/ir/k/src/out/android_release/../../third_party/libcxx/include/thread:352:0\r\n#11 0x0000000000064905 /system/lib/libc.so (__pthread_start(void*)+22)\r\n#12 0x000000000001e841 /system/lib/libc.so (__start_thread+24)\r\n```\r\n\r\nI have 6 more distinct traces that seem to be similar that I am attaching.\r\n\r\nHere is a device breakdown from google play console of devices and instance count:\r\n```\r\nHWRNE | 232 | 3.5%\r\nmido | 231 | 3.5%\r\nHWLDN-Q | 200 | 3.0%\r\nCPH1729 | 159 | 2.4%\r\nCPH1609 | 154 | 2.3%\r\nHWBLN-H | 142 | 2.2%\r\nHWANE | 139 | 2.1%\r\n1601 | 119 | 1.8%\r\nCPH1701 | 115 | 1.8%\r\nCPH1723 | 114 | 1.7%\r\nCPH1801 | 103 | 1.6%\r\non5xelte | 90 | 1.4%\r\nhero2lte | 84 | 1.3%\r\nj5xnlte | 80 | 1.2%\r\n1714 | 75 | 1.1%\r\nHWTRT-Q | 69 | 1.1%\r\nj2y18lte | 65 | 1.0%\r\nsantoni | 58 | 0.9%\r\non7xelte | 57 | 0.9%\r\nriva | 50 | 0.8%\r\nOthers | 4,227 | 64.4%\r\n```\r\n\r\nI cannot reproduce it locally on any device I have tried as GIFs seem to work fine on them. \r\n\r\nIt also happens across android 6, 7, and 8. \r\n\r\n[gifNativeErrors.zip](https://github.com/flutter/flutter/files/3379454/gifNativeErrors.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/530157551","html_url":"https://github.com/flutter/flutter/issues/35920#issuecomment-530157551","issue_url":"https://api.github.com/repos/flutter/flutter/issues/35920","id":530157551,"node_id":"MDEyOklzc3VlQ29tbWVudDUzMDE1NzU1MQ==","user":{"login":"Hixie","id":551196,"node_id":"MDQ6VXNlcjU1MTE5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/551196?v=4","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"created_at":"2019-09-10T23:23:34Z","updated_at":"2019-09-10T23:23:34Z","author_association":"CONTRIBUTOR","body":"@danfranklin said he would file new bugs for the new issues, so I'm going to close this."}}
other: {"actor":{"display_login":"Hixie"}}