-
Notifications
You must be signed in to change notification settings - Fork 28.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blackscreen/crash on certain Huawei devices #47164
Comments
There's also 华为畅享 MAX (HWARS-Q) device that has this error. |
Confirm the same issue. I've contacted Huawei in South Africa to ask for some Test devices. |
You may try sdk version 1.9.1hotfix6 |
that version has also samsung j4 and j6 black screen problem. :S |
@birtanyildiz Samsung J4 and J6 is fixed with latest stable, but not the Huawei Y7, Here is the crash reporting:
|
Here's the log I got for the same issue:
|
哥们,不只是华为手机上手出现该问题,即便是用摸拟器,只要是android10都会出现该问题,定位是:v1.12.13+hotfix.5及所有后续的beta和dev版本,均会在android10上出现黑屏一闪的现象。现在只有让flutter团队尽快定位和处理该问题了,真是耽误发现新app啊。 |
Looks like #47804 is the same issue. |
Any updates? Flutter doctor output: Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel master, v1.13.7-pre.24, on Mac OS X 10.15.1 19B88, locale en-CN) [!] Android toolchain - develop for Android devices (Android SDK version 29.0.2) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses [✓] Xcode - develop for iOS and macOS (Xcode 11.3) [✓] Android Studio (version 3.5) [✓] VS Code (version 1.32.2) [!] Connected device ! No devices available ! Doctor found issues in 2 categories. And the crash dump: info, 01-04 17:43:47.313, 17385, 17385, DEBUG, *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** info, 01-04 17:43:47.313, 17385, 17385, DEBUG, Build fingerprint: 'HONOR/BKK-AL10/HWBKK-Q:8.1.0/HONORBKK-AL10/193(C00)R2:user/release-keys' info, 01-04 17:43:47.313, 17385, 17385, DEBUG, Revision: '0' info, 01-04 17:43:47.313, 17385, 17385, DEBUG, ABI: 'arm' info, 01-04 17:43:47.313, 17385, 17385, DEBUG, pid: 17312, tid: 17350, name: 1.gpu >>> com.xxx.xxx <<< info, 01-04 17:43:47.313, 17385, 17385, DEBUG, signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 info, 01-04 17:43:47.313, 17385, 17385, DEBUG, Cause: null pointer dereference info, 01-04 17:43:47.313, 17385, 17385, DEBUG, r0 00000000 r1 00000000 r2 00000000 r3 7fffffff info, 01-04 17:43:47.313, 17385, 17385, DEBUG, r4 d856e5e0 r5 dd95990c r6 dd9598c0 r7 dd95990c info, 01-04 17:43:47.313, 17385, 17385, DEBUG, r8 dd90c6b0 r9 dd917c78 sl da712000 fp dd917c60 info, 01-04 17:43:47.313, 17385, 17385, DEBUG, ip c83d6868 sp c7c82630 lr c7f8179f pc c7f817a0 cpsr 800e0030 info, 01-04 17:43:47.320, 17385, 17385, DEBUG, backtrace: info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #00 pc 0016b7a0 /data/app/com.xxx.xxx-EjIMCXFK76qfKOwZOnhvlw==/lib/arm/libflutter.so (offset 0x125000) info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #01 pc 0017217b /data/app/com.xxx.xxx-EjIMCXFK76qfKOwZOnhvlw==/lib/arm/libflutter.so (offset 0x125000) info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #02 pc 00149a75 /data/app/com.xxx.xxx-EjIMCXFK76qfKOwZOnhvlw==/lib/arm/libflutter.so (offset 0x125000) info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #03 pc 0014b7a9 /data/app/com.xxx.xxx-EjIMCXFK76qfKOwZOnhvlw==/lib/arm/libflutter.so (offset 0x125000) info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #04 pc 0000ff09 /system/lib/libutils.so (android::Looper::pollInner(int)+580) info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #05 pc 0000fc2d /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+32) info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #06 pc 0000c9e1 /system/lib/libandroid.so (ALooper_pollOnce+56) info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #07 pc 0014b889 /data/app/com.xxx.xxx-EjIMCXFK76qfKOwZOnhvlw==/lib/arm/libflutter.so (offset 0x125000) info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #08 pc 00148dff /data/app/com.xxx.xxx-EjIMCXFK76qfKOwZOnhvlw==/lib/arm/libflutter.so (offset 0x125000) info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #09 pc 0014a7c1 /data/app/com.xxx.xxx-EjIMCXFK76qfKOwZOnhvlw==/lib/arm/libflutter.so (offset 0x125000) info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #10 pc 000473eb /system/lib/libc.so (__pthread_start(void*)+22) info, 01-04 17:43:47.320, 17385, 17385, DEBUG, #11 pc 0001ad29 /system/lib/libc.so (__start_thread+32) |
CC @brianosman as this seems to be related with Skia GrContext setup. @jason-simmons : this issue seems to have a wide impact, can you please take a look into this while many of us are out of office? @GaryQian might be able to help getting the Chinese device that reproduces this issue. Also CC @zoeyfan as this issue seems to be specifically impactful in China. |
There should be a Huawei p20 pro in the device library. I have a Huawei Nova 4 and will have it back Monday. Those are the Huawei devices I am aware of. We can procure additional devices to have better coverage of the Huawei lineup. |
Hi, I used Huawei cloud debugging, which helped me to reproduce this issue on '畅玩8C(BKK-AL10)' device, which is also EMUI 8.2.0 as I mentioned before. I found 3 devices running on EMUI 8.2.0 there, but only this BKK-AL10 reproduced my customers' crash. There are plenty of huawei devices on this remote debugging platform. But I don't know whether this platform could work for you as perfect as it does in China. Hope that could help. |
When I downgrade flutter to v1.10.9 or some versions lower than v1.10.9, the problem disappears. |
@jaumard, |
赶紧整整吧,影响太大。
发自我的iPhone
… 在 2020年1月6日,13:28,WeiCongcong ***@***.***> 写道:
When I downgrade flutter to v1.10.9 or some versions lower than v1.10.9, the problem disappears.
Some change brought by v1.11.0 might affect this issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Any news? |
any news? very burning issue tried all of the versions listed above. it goes from black screen to then a white screen and crash on startup, so not sure which is a lesser evil same outcome. app reviews starting to create an issue and users need system for everyday usage. |
Update: @jason-simmons and @GaryQian are actively investigating the issue. Currently we're waiting for Huawei Y7 prime and Honor 8C to be shipped to our office. They should arrive earlier next week. |
unfortunately I downgrade flutter to 1.7.8+hotfix.4 for solving the problem. app reviews making trouble we lost many users. |
尽快搞吧,该问题非常普遍,如不尽快解决,还将流失更多的app用户,损失极大。
发自我的iPhone
… 在 2020年1月9日,15:29,Birtan YILDIZ ***@***.***> 写道:
unfortunately I downgrade flutter to 1.7.8+hotfix.4 for solving the problem. app reviews making trouble ve lost many users.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
This is a dupe of #47804. Going to close this one and continue conversation over there as they seem to have found the problematic change. |
Same error here on flutter v1.13.8, on device Huawei Y7 2019 (android 8.1)
|
run flutter pub upgrade in the project folder. and the problem will be resolved After upgrading to last version in master channel, run flutter pub upgrade. |
Did you solve the problem with master channel? |
@jcsena : yes according to #47804 (comment) |
Can someone confirm if this is fixed on v1.12.13+hotfix.7 please? I dont have a huawei device for test. |
#47804 as mentioned problem solved. But i guess there is performance issues now. #47804 (comment) |
This issue still happening to my users those have ( Huawei y7 2019 ) even after I run The error I got:
|
@heshaShawky Please post the output of |
xxx-MacBook-Pro:xxx esham$ flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.5 18F132, locale en-EG)
• Flutter version 1.12.13+hotfix.5 at /Users/xxx/Development/flutter
• Framework revision 27321ebbad (7 weeks ago), 2019-12-10 18:15:01 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/esham/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• ANDROID_HOME = /Users/esham/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/esham/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.2.1, Build version 10E1001
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.41.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.7.1
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
xxx-MacBook-Pro:helwan_uni_results xxx$ |
@heshaShawky The fix is only in |
Okay, this seems to be fixed it, But now new crashes for other devices with new error after updating the flutter engine. The phones were: I hope this get fix soon as possible as I still keep losing a lot of users because of this The Error Log: java.lang.ClassCastException:
at io.flutter.embedding.android.FlutterSplashView.onRestoreInstanceState (FlutterSplashView.java)
at android.view.View.dispatchRestoreInstanceState (View.java:21578)
at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4693)
at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4699)
at android.view.View.restoreHierarchyState (View.java:21556)
at com.android.internal.policy.PhoneWindow.restoreHierarchyState (PhoneWindow.java:2231)
at android.app.Activity.onRestoreInstanceState (Activity.java:1601)
at android.app.Activity.performRestoreInstanceState (Activity.java:1556)
at android.app.Instrumentation.callActivityOnRestoreInstanceState (Instrumentation.java:1354)
at android.app.ActivityThread.handleStartActivity (ActivityThread.java:3488)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence (TransactionExecutor.java:221)
at android.app.servertransaction.TransactionExecutor.cycleToPath (TransactionExecutor.java:201)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:173)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2147)
at android.os.Handler.dispatchMessage (Handler.java:107)
at android.os.Looper.loop (Looper.java:237)
at android.app.ActivityThread.main (ActivityThread.java:7811)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1076)
|
@heshaShawky I believe you should open another issue for the new error with all requested information. |
@heshaShawky Your issue is same as #47635 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Some Huawei devices, such as Huawei Y7 Prime 2019 (HWDUB-Q) and 8C, seems to be having black screen or crash issues with Flutter v1.12.13+hotfix.5
Please see #37155 (comment), #37155 (comment), #37155 (comment), and #37155 (comment) for more details.
The text was updated successfully, but these errors were encountered: