{"action":"opened","number":6358,"pull_request":{"url":"https://api.github.com/repos/flutter/engine/pulls/6358","id":218636437,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4NjM2NDM3","html_url":"https://github.com/flutter/engine/pull/6358","diff_url":"https://github.com/flutter/engine/pull/6358.diff","patch_url":"https://github.com/flutter/engine/pull/6358.patch","issue_url":"https://api.github.com/repos/flutter/engine/issues/6358","number":6358,"state":"open","locked":false,"title":"Fix a crash on some android device with the error message below:","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},"body":"We met a crash on one android device with the error message below:\r\n```\r\nE/flutter (29807): [ERROR:flutter/shell/platform/android/android_context_gl.cc(187)] Could not create an EGL context\r\nE/flutter (29807): [ERROR:flutter/shell/platform/android/android_context_gl.cc(53)] EGL Error: EGL_BAD_MATCH (12297)\r\nI/DEBUG   (29807): begin to generate native report\r\n```\r\n\r\nThis pr handles the certain case and enable flutter work normally in those devices.\r\n\r\nEnvironment:\r\n```\r\nKyleWongdeMacBook-Pro:src kylewong$ flutter doctor -v\r\n[✓] Flutter (Channel alf_beta_v0.8.2_snapshot, v0.8.3-pre.5, on Mac OS X 10.14 18A389, locale en-CN)\r\n    • Flutter version 0.8.3-pre.5 at /Users/kylewong/Codes/fwn_idlefish/flutter\r\n    • Framework revision db697e6120 (25 hours ago), 2018-09-26 19:32:39 +0800\r\n    • Engine revision 58a1894a1c\r\n    • Dart version 2.1.0-dev.3.1.flutter-760a9690c2\r\n\r\n[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)\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-28, build-tools 28.0.2\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    • All Android licenses accepted.\r\n\r\n[!] iOS toolchain - develop for iOS devices (Xcode 10.0)\r\n    • Xcode at /Applications/Xcode.app/Contents/Developer\r\n    • Xcode 10.0, Build version 10A254a\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 27.1.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[✓] Connected devices (1 available)\r\n    • HUAWEI P6 T00 • 022BTF7N44035887 • android-arm • Android 4.2.2 (API 17)\r\n\r\n! Doctor found issues in 1 category.\r\n```\r\n\r\nThe HUAWEI P6 T00  is the one that crashes and fixed using this commit.\r\nIt has informations below:\r\n![2](https://user-images.githubusercontent.com/817851/46146348-21560000-c295-11e8-88eb-6cc043598515.png)\r\n![1](https://user-images.githubusercontent.com/817851/46146354-2450f080-c295-11e8-9a66-e81441b5e8e1.png)\r\n\r\n","created_at":"2018-09-27T12:38:48Z","updated_at":"2018-09-27T12:38:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/flutter/engine/pulls/6358/commits","review_comments_url":"https://api.github.com/repos/flutter/engine/pulls/6358/comments","review_comment_url":"https://api.github.com/repos/flutter/engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flutter/engine/issues/6358/comments","statuses_url":"https://api.github.com/repos/flutter/engine/statuses/64708341307a58e912ed79be7e1aaead07e340a1","head":{"label":"alibaba-flutter:alf_beta_v0.8.2_eglcontext_fail_fix","ref":"alf_beta_v0.8.2_eglcontext_fail_fix","sha":"64708341307a58e912ed79be7e1aaead07e340a1","user":{"login":"alibaba-flutter","id":43160974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMTYwOTc0","avatar_url":"https://avatars1.githubusercontent.com/u/43160974?v=4","gravatar_id":"","url":"https://api.github.com/users/alibaba-flutter","html_url":"https://github.com/alibaba-flutter","followers_url":"https://api.github.com/users/alibaba-flutter/followers","following_url":"https://api.github.com/users/alibaba-flutter/following{/other_user}","gists_url":"https://api.github.com/users/alibaba-flutter/gists{/gist_id}","starred_url":"https://api.github.com/users/alibaba-flutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alibaba-flutter/subscriptions","organizations_url":"https://api.github.com/users/alibaba-flutter/orgs","repos_url":"https://api.github.com/users/alibaba-flutter/repos","events_url":"https://api.github.com/users/alibaba-flutter/events{/privacy}","received_events_url":"https://api.github.com/users/alibaba-flutter/received_events","type":"Organization","site_admin":false},"repo":{"id":149118133,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkxMTgxMzM=","name":"engine","full_name":"alibaba-flutter/engine","private":false,"owner":{"login":"alibaba-flutter","id":43160974,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMTYwOTc0","avatar_url":"https://avatars1.githubusercontent.com/u/43160974?v=4","gravatar_id":"","url":"https://api.github.com/users/alibaba-flutter","html_url":"https://github.com/alibaba-flutter","followers_url":"https://api.github.com/users/alibaba-flutter/followers","following_url":"https://api.github.com/users/alibaba-flutter/following{/other_user}","gists_url":"https://api.github.com/users/alibaba-flutter/gists{/gist_id}","starred_url":"https://api.github.com/users/alibaba-flutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alibaba-flutter/subscriptions","organizations_url":"https://api.github.com/users/alibaba-flutter/orgs","repos_url":"https://api.github.com/users/alibaba-flutter/repos","events_url":"https://api.github.com/users/alibaba-flutter/events{/privacy}","received_events_url":"https://api.github.com/users/alibaba-flutter/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/alibaba-flutter/engine","description":"The Flutter engine","fork":true,"url":"https://api.github.com/repos/alibaba-flutter/engine","forks_url":"https://api.github.com/repos/alibaba-flutter/engine/forks","keys_url":"https://api.github.com/repos/alibaba-flutter/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alibaba-flutter/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alibaba-flutter/engine/teams","hooks_url":"https://api.github.com/repos/alibaba-flutter/engine/hooks","issue_events_url":"https://api.github.com/repos/alibaba-flutter/engine/issues/events{/number}","events_url":"https://api.github.com/repos/alibaba-flutter/engine/events","assignees_url":"https://api.github.com/repos/alibaba-flutter/engine/assignees{/user}","branches_url":"https://api.github.com/repos/alibaba-flutter/engine/branches{/branch}","tags_url":"https://api.github.com/repos/alibaba-flutter/engine/tags","blobs_url":"https://api.github.com/repos/alibaba-flutter/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alibaba-flutter/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alibaba-flutter/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/alibaba-flutter/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alibaba-flutter/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/alibaba-flutter/engine/languages","stargazers_url":"https://api.github.com/repos/alibaba-flutter/engine/stargazers","contributors_url":"https://api.github.com/repos/alibaba-flutter/engine/contributors","subscribers_url":"https://api.github.com/repos/alibaba-flutter/engine/subscribers","subscription_url":"https://api.github.com/repos/alibaba-flutter/engine/subscription","commits_url":"https://api.github.com/repos/alibaba-flutter/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/alibaba-flutter/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/alibaba-flutter/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/alibaba-flutter/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/alibaba-flutter/engine/contents/{+path}","compare_url":"https://api.github.com/repos/alibaba-flutter/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alibaba-flutter/engine/merges","archive_url":"https://api.github.com/repos/alibaba-flutter/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alibaba-flutter/engine/downloads","issues_url":"https://api.github.com/repos/alibaba-flutter/engine/issues{/number}","pulls_url":"https://api.github.com/repos/alibaba-flutter/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/alibaba-flutter/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/alibaba-flutter/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alibaba-flutter/engine/labels{/name}","releases_url":"https://api.github.com/repos/alibaba-flutter/engine/releases{/id}","deployments_url":"https://api.github.com/repos/alibaba-flutter/engine/deployments","created_at":"2018-09-17T11:57:10Z","updated_at":"2018-09-25T20:35:21Z","pushed_at":"2018-09-27T12:15:54Z","git_url":"git://github.com/alibaba-flutter/engine.git","ssh_url":"git@github.com:alibaba-flutter/engine.git","clone_url":"https://github.com/alibaba-flutter/engine.git","svn_url":"https://github.com/alibaba-flutter/engine","homepage":"http://flutter.io","size":127394,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"flutter:master","ref":"master","sha":"b8c2a17a15a846aab63e748e602761d8e7a26158","user":{"login":"flutter","id":14101776,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTAxNzc2","avatar_url":"https://avatars3.githubusercontent.com/u/14101776?v=4","gravatar_id":"","url":"https://api.github.com/users/flutter","html_url":"https://github.com/flutter","followers_url":"https://api.github.com/users/flutter/followers","following_url":"https://api.github.com/users/flutter/following{/other_user}","gists_url":"https://api.github.com/users/flutter/gists{/gist_id}","starred_url":"https://api.github.com/users/flutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flutter/subscriptions","organizations_url":"https://api.github.com/users/flutter/orgs","repos_url":"https://api.github.com/users/flutter/repos","events_url":"https://api.github.com/users/flutter/events{/privacy}","received_events_url":"https://api.github.com/users/flutter/received_events","type":"Organization","site_admin":false},"repo":{"id":39211337,"node_id":"MDEwOlJlcG9zaXRvcnkzOTIxMTMzNw==","name":"engine","full_name":"flutter/engine","private":false,"owner":{"login":"flutter","id":14101776,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTAxNzc2","avatar_url":"https://avatars3.githubusercontent.com/u/14101776?v=4","gravatar_id":"","url":"https://api.github.com/users/flutter","html_url":"https://github.com/flutter","followers_url":"https://api.github.com/users/flutter/followers","following_url":"https://api.github.com/users/flutter/following{/other_user}","gists_url":"https://api.github.com/users/flutter/gists{/gist_id}","starred_url":"https://api.github.com/users/flutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flutter/subscriptions","organizations_url":"https://api.github.com/users/flutter/orgs","repos_url":"https://api.github.com/users/flutter/repos","events_url":"https://api.github.com/users/flutter/events{/privacy}","received_events_url":"https://api.github.com/users/flutter/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/flutter/engine","description":"The Flutter engine","fork":false,"url":"https://api.github.com/repos/flutter/engine","forks_url":"https://api.github.com/repos/flutter/engine/forks","keys_url":"https://api.github.com/repos/flutter/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flutter/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flutter/engine/teams","hooks_url":"https://api.github.com/repos/flutter/engine/hooks","issue_events_url":"https://api.github.com/repos/flutter/engine/issues/events{/number}","events_url":"https://api.github.com/repos/flutter/engine/events","assignees_url":"https://api.github.com/repos/flutter/engine/assignees{/user}","branches_url":"https://api.github.com/repos/flutter/engine/branches{/branch}","tags_url":"https://api.github.com/repos/flutter/engine/tags","blobs_url":"https://api.github.com/repos/flutter/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flutter/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flutter/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/flutter/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flutter/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/flutter/engine/languages","stargazers_url":"https://api.github.com/repos/flutter/engine/stargazers","contributors_url":"https://api.github.com/repos/flutter/engine/contributors","subscribers_url":"https://api.github.com/repos/flutter/engine/subscribers","subscription_url":"https://api.github.com/repos/flutter/engine/subscription","commits_url":"https://api.github.com/repos/flutter/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/flutter/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/flutter/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/flutter/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/flutter/engine/contents/{+path}","compare_url":"https://api.github.com/repos/flutter/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flutter/engine/merges","archive_url":"https://api.github.com/repos/flutter/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flutter/engine/downloads","issues_url":"https://api.github.com/repos/flutter/engine/issues{/number}","pulls_url":"https://api.github.com/repos/flutter/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/flutter/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/flutter/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flutter/engine/labels{/name}","releases_url":"https://api.github.com/repos/flutter/engine/releases{/id}","deployments_url":"https://api.github.com/repos/flutter/engine/deployments","created_at":"2015-07-16T17:39:56Z","updated_at":"2018-09-27T11:28:10Z","pushed_at":"2018-09-27T11:31:09Z","git_url":"git://github.com/flutter/engine.git","ssh_url":"git@github.com:flutter/engine.git","clone_url":"https://github.com/flutter/engine.git","svn_url":"https://github.com/flutter/engine","homepage":"http://flutter.io","size":127593,"stargazers_count":1797,"watchers_count":1797,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":644,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":644,"open_issues":18,"watchers":1797,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flutter/engine/pulls/6358"},"html":{"href":"https://github.com/flutter/engine/pull/6358"},"issue":{"href":"https://api.github.com/repos/flutter/engine/issues/6358"},"comments":{"href":"https://api.github.com/repos/flutter/engine/issues/6358/comments"},"review_comments":{"href":"https://api.github.com/repos/flutter/engine/pulls/6358/comments"},"review_comment":{"href":"https://api.github.com/repos/flutter/engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flutter/engine/pulls/6358/commits"},"statuses":{"href":"https://api.github.com/repos/flutter/engine/statuses/64708341307a58e912ed79be7e1aaead07e340a1"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":6,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"kangwang1988"}}