{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/19390","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/19390/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/19390/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/19390/events","html_url":"https://github.com/flutter/flutter/issues/19390","id":341328685,"node_id":"MDU6SXNzdWUzNDEzMjg2ODU=","number":19390,"title":"Flutter application fails in devices running an Intel Atom CPU","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":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-15T15:24:20Z","updated_at":"2018-07-16T08:08:39Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"@eseidelGoogle\r\n@mraleph \r\nWe've also get several reports that flutter fails in their android pad. All of them are running on devices with Intel Atom CPU.\r\nIn fact, now, we only publish armeabi based apk. \r\nPreviously(before importing flutter), our apk(including many armeabi so files) works fine on the Atom cpu. So I think, the \"Binary translation from arm to atom\" provided by atom cpu works fine then.\r\nHowever, when it comes to flutter, the flutter page is black. So I guess the translation fails.\r\nI've read the issue  #9253 \"Provide x86 Android Release binaries \", but our problem is quite different.We don't want to produce a x86 based apk, we just want the arm based apk works fine in a intel atom cpu, as it did before.\r\nCan we diagnose which arm instruction generated by flutter fails and change them into atom supported instructions?\r\n\r\n<!-- Finally, paste the output of running `flutter doctor -v` here. -->\r\n\r\n[✓] Flutter (Channel xy_beta_v0.5.1, v0.5.2-pre.26, on Mac OS X 10.14 18A326h, locale en-CN)\r\n    • Flutter version 0.5.2-pre.26 at /Users/kylewong/Codes/fwn_idlefish/flutter\r\n    • Framework revision d7846a289c (5 hours ago), 2018-07-15 18:23:15 +0800\r\n    • Engine revision 1ed25ca7b7\r\n    • Dart version 2.0.0-dev.58.0.flutter-f981f09760\r\n\r\n[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)\r\n    • Android SDK at /Users/kylewong/Library/Android/sdk\r\n    • Android NDK at /Users/kylewong/Library/Android/sdk/ndk-bundle\r\n    • Platform android-27, build-tools 27.0.3\r\n    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)\r\n    ✗ Android license status unknown.\r\n\r\n[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)\r\n    • Xcode at /Applications/Xcode.app/Contents/Developer\r\n    • Xcode 9.4.1, Build version 9F2000\r\n    • ios-deploy 1.9.2\r\n    ! CocoaPods out of date (1.5.0 is recommended).\r\n        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.\r\n        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.\r\n        For more info, see https://flutter.io/platform-plugins\r\n      To upgrade:\r\n        brew upgrade cocoapods\r\n        pod setup\r\n\r\n[✓] Android Studio (version 3.1)\r\n    • Android Studio at /Applications/Android Studio.app/Contents\r\n    • Flutter plugin version 25.0.1\r\n    • Dart plugin version 173.4700\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)\r\n\r\n[!] VS Code (version 1.24.1)\r\n    • VS Code at /Applications/Visual Studio Code.app/Contents\r\n    • Flutter extension not installed; install from\r\n      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter\r\n\r\n[✓] Connected devices (1 available)"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/405174694","html_url":"https://github.com/flutter/flutter/issues/19390#issuecomment-405174694","issue_url":"https://api.github.com/repos/flutter/flutter/issues/19390","id":405174694,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTE3NDY5NA==","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},"created_at":"2018-07-16T08:08:39Z","updated_at":"2018-07-16T08:08:39Z","author_association":"CONTRIBUTOR","body":"The crash report is as below:\r\nkilled by pid: 21679, comm: taobao.idlefish, uid: 10088.\r\nsignal 4 (SIGILL), code 0 (?), fault addr 000054af\r\n  r0 d62e9bf0  r1 00000007  r2 ccaab7a8  r3 0c334540\r\n  r4 00000020  r5 ccaab788  r6 00000000  r7 d62e9be0\r\n  r8 ccaab87c  r9 d62ea01c  10 d3ef2a14  fp d62e9eb8\r\n  ip 0000000e  sp d62e9bb8  lr 0c30c98d  pc 0c334710  cpsr 20000000\r\n    #00  pc 00334710  /data/app/com.taobao.idlefish-2/lib/arm/libflutter.so\r\n    #00  pc 00334710  /data/app/com.taobao.idlefish-2/lib/arm/libflutter.so\r\n    #01  lr 0030c98d  /data/app/com.taobao.idlefish-2/lib/arm/libflutter.so\r\n    --- --- ---\r\n    00 pc 00334710  /data/app/com.taobao.idlefish-2/lib/arm/libflutter.so\r\n    01 pc 0030c989  /data/app/com.taobao.idlefish-2/lib/arm/libflutter.so\r\n\r\nI symbolicated the address in crash report, it's given below:\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 /Users/kylewong/Codes/Flutter/engine/out-xy_beta_v0.5.1/android_release/libflutter.so\r\n00334710\r\nlinux-atomic.c:?"}}
{"actor":{"display_login":"kangwang1988"}}