-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Steps to Reproduce
I am using flutter in an add to existing native app. On screen rotation I am getting a crash with the stack trace below. Runs perfectly fine in both emulator or device (no rotation) otherwise.
- It does not crash on an emulator, only on a physical device.
- It does not crash on flutter channel stable, but anything newer then that and it does crash, I pasted my flutter doctor output for both working and crashing channels below.
- My device for testing that it is crashing on is a Pixel 1 XL on Android 9, April security update. Attempting to find other devices to try on as well, will update if needed.
Logs
E/flutter: [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(40)] java.lang.IllegalArgumentException: array == null
at android.opengl.Matrix.multiplyMM(Native Method)
at io.flutter.view.AccessibilityBridge$SemanticsNode.updateRecursively(AccessibilityBridge.java:2018)
at io.flutter.view.AccessibilityBridge$SemanticsNode.updateRecursively(AccessibilityBridge.java:2060)
at io.flutter.view.AccessibilityBridge$SemanticsNode.updateRecursively(AccessibilityBridge.java:2060)
at io.flutter.view.AccessibilityBridge$SemanticsNode.updateRecursively(AccessibilityBridge.java:2060)
at io.flutter.view.AccessibilityBridge$SemanticsNode.updateRecursively(AccessibilityBridge.java:2060)
at io.flutter.view.AccessibilityBridge$SemanticsNode.access$4100(AccessibilityBridge.java:1680)
at io.flutter.view.AccessibilityBridge.updateSemantics(AccessibilityBridge.java:1237)
at io.flutter.view.AccessibilityBridge$1.updateSemantics(AccessibilityBridge.java:268)
at io.flutter.embedding.engine.FlutterJNI.updateSemantics(FlutterJNI.java:150)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:326)
at android.os.Looper.loop(Looper.java:160)
at android.app.ActivityThread.main(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
A/flutter: [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(96)] Check failed: CheckException(env).
A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 19533 (io.clientcenter), pid 19533
This version works, no crash on device.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.4 18E226, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
[✓] Android Studio (version 3.4)
[✓] Android Studio (version 3.3)
[✓] Android Studio
[✓] VS Code (version 1.33.1)
[✓] Connected device (1 available)
Crashes on this channel and newer.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v1.4.9-hotfix.1, on Mac OS X 10.14.4 18E226, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
[✓] Android Studio (version 3.4)
[✓] Android Studio (version 3.3)
[✓] Android Studio
[✓] VS Code (version 1.33.1)
[✓] Connected device (1 available)
• No issues found!