{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/17495","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/17495/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/17495/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/17495/events","html_url":"https://github.com/flutter/flutter/issues/17495","id":322127232,"node_id":"MDU6SXNzdWUzMjIxMjcyMzI=","number":17495,"title":"Flutter related crash after released(Android)","user":{"login":"kangwang1988","id":817851,"node_id":"MDQ6VXNlcjgxNzg1MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/817851?v=4","gravatar_id":"","url":"https://api.github.com/users/kangwang1988","html_url":"https://github.com/kangwang1988","followers_url":"https://api.github.com/users/kangwang1988/followers","following_url":"https://api.github.com/users/kangwang1988/following{/other_user}","gists_url":"https://api.github.com/users/kangwang1988/gists{/gist_id}","starred_url":"https://api.github.com/users/kangwang1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kangwang1988/subscriptions","organizations_url":"https://api.github.com/users/kangwang1988/orgs","repos_url":"https://api.github.com/users/kangwang1988/repos","events_url":"https://api.github.com/users/kangwang1988/events{/privacy}","received_events_url":"https://api.github.com/users/kangwang1988/received_events","type":"User","site_admin":false},"labels":[{"id":745671419,"node_id":"MDU6TGFiZWw3NDU2NzE0MTk=","url":"https://api.github.com/repos/flutter/flutter/labels/customer:%20gold","name":"customer: gold","color":"D4AF37","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}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-05-11T00:11:44Z","updated_at":"2018-07-20T01:29:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"We've released our app, and notice several crashes.I've symbolicated the log as below:\r\n1.LayoutUtils.cpp related crash.\r\n```terminal\r\nKyleWongdeMacBook-Pro:engine kylewong$ cd /Users/kylewong/Codes/Flutter/betav031/engine/src \r\nKyleWongdeMacBook-Pro:src kylewong$ ./third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-addr2line -e out/android_release/libflutter.so 00305af8 00303eb9 00303dc5 0030a50d 0006c685 00069f05 00069ebf 003e1e1b\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/third_party/txt/src/minikin/LayoutUtils.cpp:88\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/third_party/txt/src/minikin/Layout.cpp:664\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/third_party/txt/src/minikin/Layout.cpp:616\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/third_party/txt/src/txt/paragraph.cc:531\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/lib/ui/text/paragraph_impl_txt.cc:54\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../topaz/lib/tonic/dart_args.h:150\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../topaz/lib/tonic/dart_args.h:198\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../third_party/dart/runtime/vm/native_entry.cc:198\r\n```\r\n\r\n2.Memory related crash\r\na.\r\n```terminal\r\nKyleWongdeMacBook-Pro:src kylewong$ ./third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-addr2line -e out/android_release/libflutter.so 0014e28d 001fc0ed 000745c7 000748f9 000748a7 00508113 0007412f 0007406d 0007c11d 0007b89b 0007f32b 0007bfb1 0004da95 00053651\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../third_party/skia/src/ports/SkMemory_malloc.cpp:21\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../garnet/public/lib/fxl/logging.cc:93\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/runtime/dart_vm.cc:407\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../garnet/public/lib/fxl/memory/ref_ptr_internal.h:32\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../garnet/public/lib/fxl/memory/ref_ptr.h:232\r\n/Volumes/Android/buildbot/src/android/ndk-r12-release/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/mutex.cpp:241\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/mutex:548\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/runtime/dart_vm.cc:230\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/shell/common/shell.cc:190\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/shell/common/shell.cc:47\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/shell/common/shell.cc:178\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/shell/common/shell.cc:174\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/shell/platform/android/android_shell_holder.cc:64\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/memory:3047\r\n```\r\n\r\nb.\r\n```terminal\r\nKyleWongdeMacBook-Pro:src kylewong$ ./third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-addr2line -e out/android_release/libflutter.so 0050ac21 0050ace5 005097ed 0050935d 005098c3 000a6673 000a6773 0007b33d 0007b1a7 000816ef 0005a871 0005d2af 0005d26b 0005a9cf 0005bf69\r\n/Volumes/Android/buildbot/src/android/ndk-r12-release/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/abort_message.cpp:74\r\n/Volumes/Android/buildbot/src/android/ndk-r12-release/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/cxa_default_handlers.cpp:63\r\n/Volumes/Android/buildbot/src/android/ndk-r12-release/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/cxa_handlers.cpp:68\r\n/Volumes/Android/buildbot/src/android/ndk-r12-release/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/cxa_exception.cpp:149\r\n/Volumes/Android/buildbot/src/android/ndk-r12-release/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/cxa_new_delete.cpp:50 (discriminator 2)\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../third_party/skia/src/core/SkData.cpp:69\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../third_party/skia/src/core/SkData.cpp:100\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/shell/common/rasterizer.cc:194\r\nlinux-atomic.c:?\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/shell/common/shell.cc:896\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/functional:1756\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/fml/platform/android/message_loop_android.cc:93\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/fml/platform/android/message_loop_android.cc:69\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/fml/message_loop_impl.cc:76\r\n/Users/kylewong/Codes/Flutter/betav031/engine/src/out/android_release/../../flutter/fml/thread.cc:34\r\n```\r\n\r\n##Flutter Doctor Result\r\n```\r\n[✓] Flutter (Channel xy_beta_v0.3.1, v0.3.2-pre.23, on Mac OS X 10.13.4 17E202, locale en-CN)\r\n[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)\r\n    ✗ Android license status unknown.\r\n[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)\r\n[✓] Android Studio (version 3.1)\r\n[!] Connected devices\r\n    ! No devices available\r\n```"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/406461837","html_url":"https://github.com/flutter/flutter/issues/17495#issuecomment-406461837","issue_url":"https://api.github.com/repos/flutter/flutter/issues/17495","id":406461837,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjQ2MTgzNw==","user":{"login":"najeira","id":1098127,"node_id":"MDQ6VXNlcjEwOTgxMjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1098127?v=4","gravatar_id":"","url":"https://api.github.com/users/najeira","html_url":"https://github.com/najeira","followers_url":"https://api.github.com/users/najeira/followers","following_url":"https://api.github.com/users/najeira/following{/other_user}","gists_url":"https://api.github.com/users/najeira/gists{/gist_id}","starred_url":"https://api.github.com/users/najeira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/najeira/subscriptions","organizations_url":"https://api.github.com/users/najeira/orgs","repos_url":"https://api.github.com/users/najeira/repos","events_url":"https://api.github.com/users/najeira/events{/privacy}","received_events_url":"https://api.github.com/users/najeira/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T01:29:49Z","updated_at":"2018-07-20T01:29:49Z","author_association":"CONTRIBUTOR","body":"I think I can solve the crash at LayoutUtils.cpp. Now, I am testing custom engine. I will send a Pull-Request if it goes well."}}
{"actor":{"display_login":"najeira"}}