Skip to content
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

Revert "Roll Flutter from c85fa6abf4ff to 7eebe2992aba (#6836)" #6860

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

ditman
Copy link
Member

@ditman ditman commented Jun 3, 2024

This reverts commit 11e192a.

Revert "Roll Flutter from c85fa6a to 7eebe29 (26 revisions) (#6836)"

Because of Issue:

Example of broken build:

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@ditman ditman requested a review from camsim99 June 3, 2024 19:13
@ditman ditman added the warning: land on red to fix tree breakage Override tree-status signal (land even with closed tree), combine with the autosubmit label. label Jun 3, 2024
@ditman ditman requested a review from reidbaker June 3, 2024 19:13
@reidbaker
Copy link
Contributor

Do we know what code specifically is at issue?

@ditman
Copy link
Member Author

ditman commented Jun 3, 2024

@reidbaker the tests are failing in Firebase Test Lab (application crashed), where the following packages had errors:

  packages/google_maps_flutter/google_maps_flutter_android:
    example/integration_test/latest_renderer_test.dart failed tests
    example/integration_test/legacy_renderer_test.dart failed tests

A copy of one of the FTL stack traces (they all look similar-ish):

pid: 24713, tid: 24713, name: oglemapsexample  >>> io.flutter.plugins.googlemapsexample <<<
uid: 10261
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1725)] Check failed: fml::jni::CheckException(env). '
    x0  0000000000000000  x1  0000000000006089  x2  0000000000000006  x3  0000007fffb3b410
    x4  6d602e6c716e6573  x5  6d602e6c716e6573  x6  6d602e6c716e6573  x7  7f7f7f7f7f7f7f7f
    x8  00000000000000f0  x9  0000007f446d09e0  x10 0000000000000001  x11 0000007f44712370
    x12 0000000000003405  x13 000000000000007e  x14 0000007fffb3a2e0  x15 0000001eed7102a8
    x16 0000007f4477fd50  x17 0000007f4475aeb0  x18 0000007f4d4f6000  x19 0000000000006089
    x20 0000000000006089  x21 00000000ffffffff  x22 b400007d61a2af50  x23 0000007d11a7ab78
    x24 0000000000000000  x25 0000000000000920  x26 0000000000000000  x27 0000007fffb3b708
    x28 00000000000000f9  x29 0000007fffb3b490
    lr  0000007f447021c8  sp  0000007fffb3b3f0  pc  0000007f447021f4  pst 0000000000001000
backtrace:
      #00 pc 00000000000531f4  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: dc4001c2ef2dfc23467040797a96840c)
      #01 pc 0000000001cefb1c  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #02 pc 0000000001d1a510  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #03 pc 0000000001cfebcc  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #04 pc 000000000249648c  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #05 pc 00000000021419f8  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #06 pc 00000000021414bc  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #07 pc 0000000002140360  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #08 pc 0000000002140d2c  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #09 pc 0000000002142914  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #10 pc 00000000021407c8  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #11 pc 0000000002140564  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #12 pc 0000000001d1b10c  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #13 pc 0000000001d20c9c  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #14 pc 0000000000011178  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+808) (BuildId: 0b4a793fa8045c04066d988c68bac8bb)
      #15 pc 000000000015f39c  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44) (BuildId: 48435380059f74cde3db281c74576169)
      #16 pc 00000000001a9094  /system/framework/arm64/boot-framework.oat (art_jni_trampoline+116) (BuildId: 830f4c055299aae1a5ce50ac9bc9d9d9589cb804)
      #17 pc 000000000020a910  /apex/com.android.art/lib64/libart.so (nterp_helper+5648) (BuildId: 289d75599f6112d5757113220599e90b)
      #18 pc 00000000004999ee  /system/framework/framework.jar (android.os.MessageQueue.next+34)
      #19 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
      #20 pc 00000000004989dc  /system/framework/framework.jar (android.os.Looper.loopOnce+12)
      #21 pc 0000000000209334  /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: 289d75599f6112d5757113220599e90b)
      #22 pc 00000000004991ca  /system/framework/framework.jar (android.os.Looper.loop+162)
      #23 pc 0000000000209334  /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: 289d75599f6112d5757113220599e90b)
      #24 pc 00000000001bcfea  /system/framework/framework.jar (android.app.ActivityThread.main+202)
      #25 pc 0000000000457e00  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576) (BuildId: 289d75599f6112d5757113220599e90b)
      #26 pc 000000000048c038  /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1560) (BuildId: 289d75599f6112d5757113220599e90b)
      #27 pc 000000000048b9f8  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+48) (BuildId: 289d75599f6112d5757113220599e90b)
      #28 pc 0000000000099148  /system/framework/arm64/boot.oat (art_jni_trampoline+120) (BuildId: f2624dff261ac721c71496a318ad91b6e6cd0231)
      #29 pc 000000000020a2b0  /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 289d75599f6112d5757113220599e90b)
      #30 pc 0000000000404f66  /system/framework/framework.jar (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
      #31 pc 00000000007be5ac  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+3228) (BuildId: 830f4c055299aae1a5ce50ac9bc9d9d9589cb804)
      #32 pc 0000000000457e00  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576) (BuildId: 289d75599f6112d5757113220599e90b)
      #33 pc 000000000058bbc4  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+912) (BuildId: 289d75599f6112d5757113220599e90b)
      #34 pc 0000000000609af8  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+172) (BuildId: 289d75599f6112d5757113220599e90b)
      #35 pc 00000000000bcce8  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120) (BuildId: 48435380059f74cde3db281c74576169)
      #36 pc 00000000000c8bf8  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+840) (BuildId: 48435380059f74cde3db281c74576169)
      #37 pc 0000000000002560  /system/bin/app_process64 (main+1280) (BuildId: 6f97a590777bd06f31784c7272763a35)
      #38 pc 000000000004b600  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: dc4001c2ef2dfc23467040797a96840c)

Digging in the ADB logs, searching for "Fatal":

06-01 12:30:42.777 22214 22214 E flutter : [ERROR:flutter/fml/platform/android/jni_util.cc(206)] java.lang.IllegalStateException: Platform view hasn't been initialized from the platform view channel.
06-01 12:30:42.777 22214 22214 E flutter : 	at io.flutter.plugin.platform.PlatformViewsController.initializePlatformViewIfNeeded(PlatformViewsController.java:1121)
06-01 12:30:42.777 22214 22214 E flutter : 	at io.flutter.plugin.platform.PlatformViewsController.onDisplayPlatformView(PlatformViewsController.java:1192)
06-01 12:30:42.777 22214 22214 E flutter : 	at io.flutter.embedding.engine.FlutterJNI.onDisplayPlatformView(FlutterJNI.java:1458)
06-01 12:30:42.777 22214 22214 E flutter : 	at android.os.MessageQueue.nativePollOnce(Native Method)
06-01 12:30:42.777 22214 22214 E flutter : 	at android.os.MessageQueue.next(MessageQueue.java:335)
06-01 12:30:42.777 22214 22214 E flutter : 	at android.os.Looper.loopOnce(Looper.java:161)
06-01 12:30:42.777 22214 22214 E flutter : 	at android.os.Looper.loop(Looper.java:288)
06-01 12:30:42.777 22214 22214 E flutter : 	at android.app.ActivityThread.main(ActivityThread.java:7918)
06-01 12:30:42.777 22214 22214 E flutter : 	at java.lang.reflect.Method.invoke(Native Method)
06-01 12:30:42.777 22214 22214 E flutter : 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
06-01 12:30:42.777 22214 22214 E flutter : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
06-01 12:30:42.777 22214 22214 E flutter : 
06-01 12:30:42.777 22214 22214 F flutter : [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1725)] Check failed: fml::jni::CheckException(env). 
00-00 00:00:00.000     0     0 ? (none)  : --------- beginning of crash
06-01 12:30:42.777 22214 22214 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 22214 (oglemapsexample), pid 22214 (oglemapsexample)
06-01 12:30:42.778 18754 20775 I Tips_SettingControllerP: tipsId = tips_watch_safety

Sooo... the Platform View for the Google Maps example/integration test app is not being initialized correctly?

@ditman
Copy link
Member Author

ditman commented Jun 3, 2024

(If this is a change in the google maps SDK, this revert may also fail. Waiting for the results of "Linux_android android_device_tests_shard_2 master" in the presubmit of this PR before landing anything)

@reidbaker
Copy link
Contributor

@reidbaker the tests are failing in Firebase Test Lab (application crashed), where the following packages had errors:

  packages/google_maps_flutter/google_maps_flutter_android:
    example/integration_test/latest_renderer_test.dart failed tests
    example/integration_test/legacy_renderer_test.dart failed tests

A copy of one of the FTL stack traces (they all look similar-ish):

pid: 24713, tid: 24713, name: oglemapsexample  >>> io.flutter.plugins.googlemapsexample <<<
uid: 10261
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1725)] Check failed: fml::jni::CheckException(env). '
    x0  0000000000000000  x1  0000000000006089  x2  0000000000000006  x3  0000007fffb3b410
    x4  6d602e6c716e6573  x5  6d602e6c716e6573  x6  6d602e6c716e6573  x7  7f7f7f7f7f7f7f7f
    x8  00000000000000f0  x9  0000007f446d09e0  x10 0000000000000001  x11 0000007f44712370
    x12 0000000000003405  x13 000000000000007e  x14 0000007fffb3a2e0  x15 0000001eed7102a8
    x16 0000007f4477fd50  x17 0000007f4475aeb0  x18 0000007f4d4f6000  x19 0000000000006089
    x20 0000000000006089  x21 00000000ffffffff  x22 b400007d61a2af50  x23 0000007d11a7ab78
    x24 0000000000000000  x25 0000000000000920  x26 0000000000000000  x27 0000007fffb3b708
    x28 00000000000000f9  x29 0000007fffb3b490
    lr  0000007f447021c8  sp  0000007fffb3b3f0  pc  0000007f447021f4  pst 0000000000001000
backtrace:
      #00 pc 00000000000531f4  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: dc4001c2ef2dfc23467040797a96840c)
      #01 pc 0000000001cefb1c  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #02 pc 0000000001d1a510  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #03 pc 0000000001cfebcc  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #04 pc 000000000249648c  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #05 pc 00000000021419f8  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #06 pc 00000000021414bc  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #07 pc 0000000002140360  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #08 pc 0000000002140d2c  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #09 pc 0000000002142914  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #10 pc 00000000021407c8  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #11 pc 0000000002140564  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #12 pc 0000000001d1b10c  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #13 pc 0000000001d20c9c  /data/app/~~OcF6AKc2dNXRW95Fsnce_A==/io.flutter.plugins.googlemapsexample-shb-4wV3UWQ5ZedVd6uQZg==/lib/arm64/libflutter.so (BuildId: 25ff12d695fa20fccd9cbbc2ce9112ed48b96bb8)
      #14 pc 0000000000011178  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+808) (BuildId: 0b4a793fa8045c04066d988c68bac8bb)
      #15 pc 000000000015f39c  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44) (BuildId: 48435380059f74cde3db281c74576169)
      #16 pc 00000000001a9094  /system/framework/arm64/boot-framework.oat (art_jni_trampoline+116) (BuildId: 830f4c055299aae1a5ce50ac9bc9d9d9589cb804)
      #17 pc 000000000020a910  /apex/com.android.art/lib64/libart.so (nterp_helper+5648) (BuildId: 289d75599f6112d5757113220599e90b)
      #18 pc 00000000004999ee  /system/framework/framework.jar (android.os.MessageQueue.next+34)
      #19 pc 000000000020a254  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 289d75599f6112d5757113220599e90b)
      #20 pc 00000000004989dc  /system/framework/framework.jar (android.os.Looper.loopOnce+12)
      #21 pc 0000000000209334  /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: 289d75599f6112d5757113220599e90b)
      #22 pc 00000000004991ca  /system/framework/framework.jar (android.os.Looper.loop+162)
      #23 pc 0000000000209334  /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: 289d75599f6112d5757113220599e90b)
      #24 pc 00000000001bcfea  /system/framework/framework.jar (android.app.ActivityThread.main+202)
      #25 pc 0000000000457e00  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576) (BuildId: 289d75599f6112d5757113220599e90b)
      #26 pc 000000000048c038  /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1560) (BuildId: 289d75599f6112d5757113220599e90b)
      #27 pc 000000000048b9f8  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+48) (BuildId: 289d75599f6112d5757113220599e90b)
      #28 pc 0000000000099148  /system/framework/arm64/boot.oat (art_jni_trampoline+120) (BuildId: f2624dff261ac721c71496a318ad91b6e6cd0231)
      #29 pc 000000000020a2b0  /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 289d75599f6112d5757113220599e90b)
      #30 pc 0000000000404f66  /system/framework/framework.jar (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
      #31 pc 00000000007be5ac  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+3228) (BuildId: 830f4c055299aae1a5ce50ac9bc9d9d9589cb804)
      #32 pc 0000000000457e00  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576) (BuildId: 289d75599f6112d5757113220599e90b)
      #33 pc 000000000058bbc4  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+912) (BuildId: 289d75599f6112d5757113220599e90b)
      #34 pc 0000000000609af8  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+172) (BuildId: 289d75599f6112d5757113220599e90b)
      #35 pc 00000000000bcce8  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120) (BuildId: 48435380059f74cde3db281c74576169)
      #36 pc 00000000000c8bf8  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+840) (BuildId: 48435380059f74cde3db281c74576169)
      #37 pc 0000000000002560  /system/bin/app_process64 (main+1280) (BuildId: 6f97a590777bd06f31784c7272763a35)
      #38 pc 000000000004b600  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: dc4001c2ef2dfc23467040797a96840c)

Digging in the ADB logs, searching for "Fatal":

06-01 12:30:42.777 22214 22214 E flutter : [ERROR:flutter/fml/platform/android/jni_util.cc(206)] java.lang.IllegalStateException: Platform view hasn't been initialized from the platform view channel.
06-01 12:30:42.777 22214 22214 E flutter : 	at io.flutter.plugin.platform.PlatformViewsController.initializePlatformViewIfNeeded(PlatformViewsController.java:1121)
06-01 12:30:42.777 22214 22214 E flutter : 	at io.flutter.plugin.platform.PlatformViewsController.onDisplayPlatformView(PlatformViewsController.java:1192)
06-01 12:30:42.777 22214 22214 E flutter : 	at io.flutter.embedding.engine.FlutterJNI.onDisplayPlatformView(FlutterJNI.java:1458)
06-01 12:30:42.777 22214 22214 E flutter : 	at android.os.MessageQueue.nativePollOnce(Native Method)
06-01 12:30:42.777 22214 22214 E flutter : 	at android.os.MessageQueue.next(MessageQueue.java:335)
06-01 12:30:42.777 22214 22214 E flutter : 	at android.os.Looper.loopOnce(Looper.java:161)
06-01 12:30:42.777 22214 22214 E flutter : 	at android.os.Looper.loop(Looper.java:288)
06-01 12:30:42.777 22214 22214 E flutter : 	at android.app.ActivityThread.main(ActivityThread.java:7918)
06-01 12:30:42.777 22214 22214 E flutter : 	at java.lang.reflect.Method.invoke(Native Method)
06-01 12:30:42.777 22214 22214 E flutter : 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
06-01 12:30:42.777 22214 22214 E flutter : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
06-01 12:30:42.777 22214 22214 E flutter : 
06-01 12:30:42.777 22214 22214 F flutter : [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1725)] Check failed: fml::jni::CheckException(env). 
00-00 00:00:00.000     0     0 ? (none)  : --------- beginning of crash
06-01 12:30:42.777 22214 22214 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 22214 (oglemapsexample), pid 22214 (oglemapsexample)
06-01 12:30:42.778 18754 20775 I Tips_SettingControllerP: tipsId = tips_watch_safety

Sooo... the Platform View for the Google Maps example/integration test app is not being initialized correctly?

What I am hearing from this message is NO. Something in the hash is bad but we dont know what.

@ditman
Copy link
Member Author

ditman commented Jun 3, 2024

What I am hearing from this message is NO. Something in the hash is bad but we dont know what.

@reidbaker let me try to bisect to a more specific framework revision.

@reidbaker
Copy link
Contributor

My comment should not block this pr. I was just trying to get more actionable information in this pr if it was known. The links to evidence were good and the pr technically said what went wrong but I know if it was a submodule that was at fault we likely have another pr to roll back.

@ditman
Copy link
Member Author

ditman commented Jun 3, 2024

@reidbaker yep, I'll try to land this as soon as tests pass to get the tree back to green, the bisection may just be useful for the fix.

Do check the OG issue linked in the description of the PR, this might be an old issue that is now being consistently triggered by our maps example app!

(More recent reports of the issue start around here: flutter/flutter#125090 (comment))

((I'll also try to roll forward to a newer hash, in case the fix has landed, or maps rolled back whatever we were tickling))

@ditman ditman added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 3, 2024
@camsim99
Copy link
Contributor

camsim99 commented Jun 3, 2024

BTW the issue for that error is flutter/flutter#125090

@auto-submit auto-submit bot merged commit 24b0eb5 into flutter:main Jun 3, 2024
73 of 74 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 4, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 4, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 4, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 5, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 5, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 5, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 6, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jun 6, 2024
flutter/packages@11e192a...586faa6

2024-06-05 ditman@gmail.com [google_sign_in_web] Update button_tester to use web_only library. (flutter/packages#6868)
2024-06-05 engine-flutter-autoroll@skia.org Roll Flutter from c246ecd to 27e0656 (17 revisions) (flutter/packages#6875)
2024-06-05 15619084+vashworth@users.noreply.github.com [path_provider] Skip verifying sample file on macOS (flutter/packages#6874)
2024-06-05 joonas.kerttula@codemate.com [google_maps_flutter] Custom marker size improvements (flutter/packages#4055)
2024-06-05 uberchilly@gmail.com [rfw] Material slider widget (flutter/packages#6610)
2024-06-04 ditman@gmail.com [ci] Manual roll Flutter to c246ecd (84 revisions) + fixes (flutter/packages#6863)
2024-06-04 molchanovia.dev@gmail.com Correcting the typo of Flutter in projects (flutter/packages#6850)
2024-06-04 joonas.kerttula@codemate.com [google_maps_flutter] Custom marker size improvements - platform impls (flutter/packages#6826)
2024-06-04 lrn@google.com Avoid cumbersome formatter workaround (flutter/packages#6573)
2024-06-04 15619084+vashworth@users.noreply.github.com Clean Xcode project before analyzing and testing (flutter/packages#6842)
2024-06-03 37848204+RobinCombrink@users.noreply.github.com [pigeon] Kotlin/Java method overloading for the `setUp` method (flutter/packages#6843)
2024-06-03 40719830+Alex-Usmanov@users.noreply.github.com [url_launcher] Add support for setting show title on Chrome Custom Tabs (flutter/packages#6097)
2024-06-03 ditman@gmail.com Revert "Roll Flutter from c85fa6a to 7eebe29 (#6836)" (flutter/packages#6860)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App warning: land on red to fix tree breakage Override tree-status signal (land even with closed tree), combine with the autosubmit label.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants