flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
162.21k stars 26.64k forks source link

[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1233)] Check failed: fml::jni::CheckException(env). #125090

Open vickycj opened 1 year ago

vickycj commented 1 year ago

Is there an existing issue for this?

Steps to reproduce

This crash is reported only on play console, never faced it during QA cycle. we figure this crash is happening in FlutterViewUpdateSemantics in the flutter engine. Also we have wrapped Semantics widget for most of our widgets recently, probably this crash is happening because of that.

Expected results

Our android vitals is dropping, this crash should not happen.

Actual results

Below is the actual crash log from the play console.

[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1233)] Check failed: fml::jni::CheckException(env). 

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 24150 >>> com.byjus.thelearningapp <<<

backtrace:
  #00  pc 0x0000000000038880  /apex/com.android.runtime/lib/bionic/libc.so (abort+172)
  #01  pc 0x000000000017bc5b  /data/app/~~JPk-q1RRoxW7LaYsXi58sA==/com.byjus.thelearningapp-EMLkmeq8WnksL_x5EalEeA==/split_config.armeabi_v7a.apk!libflutter.so

Code sample

Code sample ```dart Semantics( label: 'watch_all_videos_card', container: true, child: Card( clipBehavior: Clip.hardEdge, color: const Color.fromRGBO(241, 237, 255, 1), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(12), ), child: SizedBox( width: width, child: AspectRatio( aspectRatio: 0.7, child: Column( crossAxisAlignment: CrossAxisAlignment.stretch, mainAxisAlignment: MainAxisAlignment.center, children: [ Padding( padding: const EdgeInsets.symmetric(vertical: 12), child: Semantics( label: 'watch_all_videos_icon', container: true, child: SizedBox( height: 44, child: SvgPicture.asset( watchAll, package: 'shorts_player', ), ), ), ), Padding( padding: const EdgeInsets.symmetric(horizontal: 18), child: Semantics( label: 'watch_all_videos_text', container: true, child: Text( "Watch All Videos", textAlign: TextAlign.center, style: TextStyle( fontSize: 14, fontWeight: FontWeight.w400, color: Color.fromRGBO(68, 68, 68, 1)), ), ), ), ], ), )), ), )) ```

Screenshots or Video

Screenshots / Video demonstration [Upload media here]

Logs

Logs ```console [Paste your logs here] ```

Flutter Doctor output

Doctor output ```console [✓] Flutter (Channel stable, 3.7.1, on macOS 13.0.1 22A400 darwin-arm64, locale en-IN) • Flutter version 3.7.1 on channel stable at /Users/vigneshwaranelangovan/dev/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 7048ed95a5 (3 months ago), 2023-02-01 09:07:31 -0800 • Engine revision 800594f1f4 • Dart version 2.19.1 • DevTools version 2.20.1 [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) • Android SDK at /Users/vigneshwaranelangovan/Library/Android/sdk • Platform android-33, build-tools 32.1.0-rc1 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301) • All Android licenses accepted. [✗] Xcode - develop for iOS and macOS ✗ Xcode installation is incomplete; a full installation is necessary for iOS development. Download at: https://developer.apple.com/xcode/download/ Or install Xcode via the App Store. Once installed, run: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer sudo xcodebuild -runFirstLaunch ✗ CocoaPods not installed. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/platform-plugins To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions. [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio Intel.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) [✓] Android Studio (version 2022.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301) [✓] Android Studio • Android Studio at /Applications/Android Studio Preview 2.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) [✓] Android Studio • Android Studio at /Users/vigneshwaranelangovan/Downloads/Android Studio Preview.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) [✓] VS Code (version 1.76.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.62.0 [✓] Connected device (2 available) • macOS (desktop) • macos • darwin-arm64 • macOS 13.0.1 22A400 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 112.0.5615.121 [✓] HTTP Host Availability • All required HTTP hosts are available ! Doctor found issues in 1 category. ```
darshankawar commented 1 year ago

Thanks for the report @vickycj Are you able to replicate this locally using the code sample you provided ? Also, do you get any more logs in play console or these are the only ones ?

vickycj commented 1 year ago

we were not able to reproduce this locally till now, and those are the only logs available in the play console. @darshankawar actually it is quite high happening across all device ranges

darshankawar commented 1 year ago

@flutter-symbolizer-bot https://github.com/flutter/flutter/issues/125090#issue-1674122927 flutter#v3.7.1 android release arm64

flutter-symbolizer-bot commented 1 year ago

crash from https://github.com/flutter/flutter/issues/125090#issue-1674122927 symbolized using symbols for 800594f1f4a6674010a6f1603c07a919b4d7ebd7 android-arm64-release

#00 0000000000038880 /apex/com.android.runtime/lib/bionic/libc.so (abort+172)
#01 000000000017bc5b <...>/split_config.armeabi_v7a.apk!libflutter.so 
                                                                      gOpInverse
                                                                      ld-temp.o:0:0
darshankawar commented 1 year ago

@vickycj Can you provide pubspec.yaml to know which libraries are you using in your project that is throwing this error log ?

vickycj commented 1 year ago

We have multi package architecture, there are many pubsec.yaml files. all packages connects to one base module. Attached below is the pubsec.yaml of the base module in which we generate the aar.

name: base_module
description: A new Flutter module project.
publish_to: none

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
#
# This version is used _only_ for the Runner app, which is used if you just do
# a `flutter run` or a `flutter make-host-app-editable`. It has no impact
# on any other native host app that you embed your Flutter project into.
version: 1.0.0+1

environment:
  sdk: '>=2.18.6 <3.0.0'

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^1.0.2
  firebase_core: ^2.5.0
  firebase_crashlytics: ^3.0.12
  byjus_core:
    git:
      url: https://github.com/byjutech/byjus-flutter-base.git
      path: packages/byjus_core
      ref: v1.0.1 #byjus-base
  byjus_network:
    git:
      url: https://github.com/byjutech/byjus-flutter-base.git
      path: packages/byjus_network
      ref: v1.0.1 #byjus-base
  byjus_ui_core:
    git:
      url: https://github.com/byjutech/byjus-flutter-base.git
      path: packages/byjus_ui_core
      ref: v1.0.1 #byjus-base
  shorts_player:
    path: ../shorts_player
  ncert_textbook:
    path: ../ncert_textbook
  quizzo:
    path: ../quizzo
  fluttertoast: ^8.2.1
  webview_flutter: ^4.0.7
#  firebase_core_platform_interface: ^4.5.3
#  firebase_messaging: ^14.2.2
dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^2.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

flutter:
  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add Flutter specific assets to your application, add an assets section,
  # like this:
  # assets:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add Flutter specific custom fonts to your application, add a fonts
  # section here, in this "flutter" section. Each entry in this list should
  # have a "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

  # This section identifies your Flutter project as a module meant for
  # embedding in a native host app.  These identifiers should _not_ ordinarily
  # be changed after generation - they are used to ensure that the tooling can
  # maintain consistency when adding or modifying assets and plugins.
  # They also do not have any bearing on your native host application's
  # identifiers, which may be completely independent or the same as these.
  module:
    androidX: true
    androidPackage: com.byjus.base_module
    iosBundleIdentifier: com.byjus.baseModule
darshankawar commented 1 year ago
webview_flutter: ^4.0.7

Since you are using this package, I am wondering if you are also hitting https://github.com/flutter/flutter/issues/125123 which has some details around how it crashes. Please check the same and see if it relates to your case and if any repro code is possible to provide.

vickycj commented 1 year ago

@darshankawar No it's clearly a different issue, because you could see the line number. In the crash, I mentioned line number is 1233 in the Flutter Engine code. But the duplicate issue tagged, the line number is different.

darshankawar commented 1 year ago

Thanks for the update. I'll keep this issue open and label for team's input, as there's not enough details to analyze the issue properly.

Passer-by commented 9 months ago

same issue Flutter version 3.10.6 This log is from Google Play Console In my app, I have a video player (Texture) and a web view (PlatformView).


pid: 0, tid: 11610 >>> com.changdu.mobovideo <<<

backtrace:

00 pc 0x0000000000038880 /apex/com.android.runtime/lib/bionic/libc.so (abort+172)

01 pc 0x000000000017afeb /data/app/~~QE0SQaqIPQyLFwRajh8oDg==/com.changdu.mobovideo-mKGhua7M_PVGs2YBCXHA0A==/split_config.armeabi_v7a.apk!libflutter.so

deekshithdv commented 8 months ago

I am also facing the same issue in the production. It occurs in various devices. Flutter version 3.7.0 stable Dart version 2.19.0

Any idea what could be the reason?

irfangul92 commented 7 months ago

I am using Flutter version 3.13.5 , facing this issue.

flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.13.5, on macOS 13.3.1 22E772610a darwin-x64, locale en-PK) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 14.3) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.3) [✓] VS Code (version 1.82.2) [✓] Connected device (2 available) [✓] Network resources

I am facing this issue crash on Android 13, 12 mostly on Samsung phones. below is the crash logs ` pid: 0, tid: 29684 >>> life.fenix.sharing.app <<<

backtrace:

00 pc 0x000000000008d774 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168)

01 pc 0x0000000000326f54 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

02 pc 0x0000000000351f1c /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

03 pc 0x00000000003400d0 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

04 pc 0x0000000000332aa8 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

05 pc 0x00000000005b44bc /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

06 pc 0x00000000005ae5f8 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

07 pc 0x00000000005b45e8 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

08 pc 0x00000000005ae5f8 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

09 pc 0x00000000005b45e8 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

10 pc 0x00000000005ae5f8 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

11 pc 0x00000000005b45e8 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

12 pc 0x00000000005ae5f8 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

13 pc 0x00000000005b45e8 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

14 pc 0x00000000005ae5f8 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

15 pc 0x00000000005b2bfc /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

16 pc 0x0000000000632c84 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

17 pc 0x0000000000352b50 /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

18 pc 0x0000000000355fcc /data/app/~~IEj0d7BTZ7UfhJoj4yP9Dw==/life.fenix.sharing.app-S_EKbffTyr5btLFeVdhZTQ==/lib/arm64/libflutter.so

19 pc 0x00000000000181e8 /system/lib64/libutils.so (android::Looper::pollInner(int)+1064)

20 pc 0x0000000000017d5c /system/lib64/libutils.so (android::Looper::pollOnce(int, int, int, void**)+116)

21 pc 0x000000000016abdc /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv, _jobject, long, int)+48)

22 pc 0x0000000000323514 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+116)

23 pc 0x0000000000a07030 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.MessageQueue.next+304)

24 pc 0x0000000000a03f30 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loopOnce+96)

25 pc 0x0000000000a03e28 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loop+1112)

26 pc 0x000000000076a7dc /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.app.ActivityThread.main+1660)

27 pc 0x0000000000360880 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640)

28 pc 0x000000000026a904 /apex/com.android.art/lib64/libart.so (_jobject art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject, _jobject, _jobject, unsigned long)+780)

29 pc 0x000000000026a5e8 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv, _jobject, _jobject, _jobjectArray) (.__uniq.165753521025965369065708152063621506277)+32)

30 pc 0x00000000003296a8 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+120)

31 pc 0x0000000000c0b978 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+136)

32 pc 0x0000000000c160f8 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.internal.os.ZygoteInit.main+3368)

33 pc 0x0000000000360880 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640)

34 pc 0x00000000004944cc /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject, _jmethodID*, std::__va_list)+516)

35 pc 0x0000000000553530 /apex/com.android.art/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv, _jclass, _jmethodID*, std::__va_list)+112)

36 pc 0x00000000000c3c04 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass, _jmethodID, ...)+124)

37 pc 0x00000000000d0c28 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector const&, bool)+924)

38 pc 0x0000000000002610 /system/bin/app_process64 (main+1464)

39 pc 0x00000000000859b8 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+100)`

minseok-jeong-gn commented 6 months ago

Any progress?

jiangkang commented 4 months ago

same issue stack trace:

********** Crash dump: **********
Build fingerprint: 'Xiaomi/zeus/zeus:13/TKQ1.220807.001/V14.0.14.0.TLBCNXM:user/release-keys'
#00 0x000000000008d5b4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168)
#01 0x0000000000322d14 libflutter.so std::__throw_bad_alloc() /third_party/libcxx/src/new.cpp:44:5
#02 0x000000000034b9c0 libflutter.so fml::LogMessage::~LogMessage() /flutter/fml/logging.cc:131:5
#03 0x000000000033961c libflutter.so flutter::PlatformViewAndroidJNIImpl::FlutterViewUpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::vector<unsigned char, std::_LIBCPP_ABI_NAMESPACE::allocator<unsigned char> >,                  std::_LIBCPP_ABI_NAMESPACE::vector<std::_LIBCPP_ABI_NAMESPACE::basic_string<char, std::_LIBCPP_ABI_NAMESPACE::char_traits<char>, std::_LIBCPP_ABI_NAMESPACE::allocator<char> >, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::basic_string<char, std::_LIBCPP_ABI_NAMESPACE::char_traits<char>, std::_LIBCPP_ABI_NAMESPACE::allocator<char> > > >, std::_LIBCPP_ABI_NAMESPACE::vector<std::_LIBCPP_ABI_NAMESPACE::vector<unsigned char, std::_LIBCPP_ABI_NAMESPACE::allocator<unsigned char> >, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::vector<unsigned char, std::_LIBCPP_ABI_NAMESPACE::allocator<unsigned char> > > >)
/flutter/shell/platform/android/platform_view_android_jni_impl.cc:0:3
#04 0x0000000000335a44 libflutter.so
flutter::PlatformViewAndroidDelegate::UpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > > const&, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > > const&)
/flutter/shell/platform/android/platform_view_android_delegate/platform_view_android_delegate.cc:220:20
flutter::PlatformViewAndroid::UpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > >, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > >)
/flutter/shell/platform/android/platform_view_android.cc:264:35
#05 0x00000000005b7794 libflutter.so
flutter::Shell::OnEngineUpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > >, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > >)::$_41::operator()() const
/flutter/shell/common/shell.cc:0:17
decltype(std::declval<flutter::Shell::OnEngineUpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > >, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > >)::$_41&>()()) std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<flutter::Shell::OnEngineUpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > >, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > >)::$_41&>(flutter::Shell::OnEngineUpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > >, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > >)::$_41&)
/third_party/libcxx/include/__functional/invoke.h:403:23
void std::_LIBCPP_ABI_NAMESPACE::__invoke_void_return_wrapper<void, true>::__call<flutter::Shell::OnEngineUpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > >, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > >)::$_41&>(flutter::Shell::OnEngineUpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > >, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > >)::$_41&)
/third_party/libcxx/include/__functional/invoke.h:488:9
std::_LIBCPP_ABI_NAMESPACE::__function::__alloc_func<flutter::Shell::OnEngineUpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > >, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > >)::$_41, std::_LIBCPP_ABI_NAMESPACE::allocator<flutter::Shell::OnEngineUpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > >, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > >)::$_41>, void ()>::operator()[abi:v15000]()
/third_party/libcxx/include/__functional/function.h:185:16
std::_LIBCPP_ABI_NAMESPACE::__function::__func<flutter::Shell::OnEngineUpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > >, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > >)::$_41, std::_LIBCPP_ABI_NAMESPACE::allocator<flutter::Shell::OnEngineUpdateSemantics(std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::SemanticsNode, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::SemanticsNode> > >, std::_LIBCPP_ABI_NAMESPACE::unordered_map<int, flutter::CustomAccessibilityAction, std::_LIBCPP_ABI_NAMESPACE::hash<int>, std::_LIBCPP_ABI_NAMESPACE::equal_to<int>, std::_LIBCPP_ABI_NAMESPACE::allocator<std::_LIBCPP_ABI_NAMESPACE::pair<int const, flutter::CustomAccessibilityAction> > >)::$_41>, void ()>::operator()()
/third_party/libcxx/include/__functional/function.h:359:12
#06 0x000000000034c5d8 libflutter.so
std::_LIBCPP_ABI_NAMESPACE::function<void ()>::operator()() const
/third_party/libcxx/include/__functional/function.h:1187:12
fml::MessageLoopImpl::FlushTasks(fml::FlushType)
/flutter/fml/message_loop_impl.cc:126:5
fml::MessageLoopImpl::RunExpiredTasksNow()
/flutter/fml/message_loop_impl.cc:139:3
#07 0x000000000034f9ec libflutter.so
fml::MessageLoopAndroid::OnEventFired()
/flutter/fml/platform/android/message_loop_android.cc:92:5
fml::MessageLoopAndroid::MessageLoopAndroid()::$_0::operator()(int, int, void*) const
/flutter/fml/platform/android/message_loop_android.cc:42:52
fml::MessageLoopAndroid::MessageLoopAndroid()::$_0::__invoke(int, int, void*)
/flutter/fml/platform/android/message_loop_android.cc:40:40
#08 0x00000000000181a8 /system/lib64/libutils.so (android::Looper::pollInner(int)+1064)
#09 0x0000000000017d1c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+116)
#10 0x0000000000165dd0 /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+48)
#11 0x00000000001af094 /system/framework/arm64/boot-framework.oat (art_jni_trampoline+116)
#12 0x00000000005723e0 /system/framework/arm64/boot-framework.oat (android.os.MessageQueue.next+288)
#13 0x000000000056f968 /system/framework/arm64/boot-framework.oat (android.os.Looper.loopOnce+104)
#14 0x000000000056f860 /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+560)
#15 0x00000000002d60bc /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.main+1276)
#16 0x0000000000210c00 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576)
#17 0x000000000027b4ac /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+240)
#18 0x0000000000611810 /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1400)
#19 0x000000000059132c /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52)
#20 0x0000000000099148 /system/framework/arm64/boot.oat (art_jni_trampoline+120)
#21 0x00000000007c4c60 /system/framework/arm64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+144)
#22 0x00000000007cdfac /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+3228)
#23 0x0000000000210c00 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576)
#24 0x000000000027b4ac /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+240)
#25 0x0000000000611f98 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+452)
#26 0x0000000000612484 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+96)
#27 0x00000000004fb5d4 /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+600)
#28 0x00000000000c0c04 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124)
#29 0x00000000000cd80c /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+924)
#30 0x0000000000002610 /system/bin/app_process64 (main+1464)
#31 0x000000000008580c /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+100)
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1233)] Check failed: fml::jni::CheckException(env).  '
Crash dump is completed
vsabah commented 4 months ago

same issue: (Firebase Test Lab - Robo test, Galaxy S22 Ultra, API Level 33)


Build fingerprint: 'samsung/b0quew/b0q:13/TP1A.220624.014/S908U1UEU2BVK1:user/release-keys' Revision: '13' ABI: 'arm64' Processor: '7' Timestamp: 2024-01-09 10:55:22.886130150-0800 Process uptime: 116s Cmdline: com.xxx.xxx pid: 22894, tid: 23202, name: 1.raster >>> com.xxx.dxxx<<< uid: 10333 tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE) pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY) signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1594)] Check failed: fml::jni::CheckException(env). ' x0 0000000000000000 x1 0000000000005aa2 x2 0000000000000006 x3 0000006f25e4a380 x4 6d602e6c716e6573 x5 6d602e6c716e6573 x6 6d602e6c716e6573 x7 7f7f7f7f7f7f7f7f x8 00000000000000f0 x9 00000072e858ebf8 x10 0000000000000001 x11 00000072e85cf830 x12 00000000000043f0 x13 000000000000007e x14 0000000000000000 x15 0000005aae0f849d x16 00000072e8637d70 x17 00000072e8613570 x18 0000006f252b6000 x19 000000000000596e x20 0000000000005aa2 x21 00000000ffffffff x22 0000000000000002 x23 b400007044546818 x24 0000000000000000 x25 0000000000000000 x26 0000000000000001 x27 0000000000000000 x28 0000000000000048 x29 0000006f25e4a400 lr 00000072e85c0768 sp 0000006f25e4a360 pc 00000072e85c0794 pst 0000000000001000 backtrace:

00 pc 0000000000053794 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 89abfbbd786a7eba31da487082276aba)

  #01 pc 0000000000438bc4  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #02 pc 000000000046581c  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #03 pc 000000000045206c  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #04 pc 00000000004491c8  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #05 pc 00000000004492bc  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #06 pc 0000000000449590  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #07 pc 0000000000448f84  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #08 pc 00000000006d182c  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #09 pc 00000000006ccdec  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #10 pc 00000000006d1a7c  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #11 pc 00000000006ccdec  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #12 pc 00000000006d1a7c  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #13 pc 00000000006ccdec  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #14 pc 00000000006d1a7c  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #15 pc 00000000006ccdec  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #16 pc 00000000006d1a7c  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #17 pc 00000000006ccdec  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #18 pc 00000000006d0374  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #19 pc 00000000006cad2c  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #20 pc 0000000000790184  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #21 pc 000000000078fcac  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #22 pc 0000000000790f9c  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #23 pc 0000000000790aa0  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #24 pc 000000000079c8ac  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #25 pc 0000000000466414  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #26 pc 000000000046a168  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #27 pc 0000000000018028  /system/lib64/libutils.so (android::Looper::pollInner(int)+1064) (BuildId: 97f353c1a350efeb766e1e852854da85)
  #28 pc 0000000000017b9c  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+116) (BuildId: 97f353c1a350efeb766e1e852854da85)
  #29 pc 0000000000018598  /system/lib64/libandroid.so (ALooper_pollOnce+104) (BuildId: f826d1881559cbd08388ae2054f7770c)
  #30 pc 000000000046a278  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #31 pc 0000000000468154  /data/app/~~g7eXKlNK8MbxrnbQPAJ13g==/com.sabah.deprembs-Pc51H2imh6a0UxlwNb1vMQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: b15b4d47b77067a5fa4f6457a0eee28e7e2d31e9)
  #32 pc 00000000000bb6e8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: 89abfbbd786a7eba31da487082276aba)
  #33 pc 0000000000054fdc  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 89abfbbd786a7eba31da487082276aba)
centy commented 2 months ago

I have same issue, however line of code seems to be different:

[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1594)] Check failed: fml::jni::CheckException(env).


pid: 0, tid: 22589 >>> com.gst.color.numbers.pixyfy <<<

backtrace:

00 pc 0x000000000008cc54 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164)

01 pc 0x0000000000438844 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

02 pc 0x00000000004654cc /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

03 pc 0x0000000000451d1c /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

04 pc 0x0000000000448e78 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

05 pc 0x0000000000448f6c /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

06 pc 0x0000000000449240 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

07 pc 0x0000000000448c34 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

08 pc 0x00000000006d14e0 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

09 pc 0x00000000006ccaa8 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

10 pc 0x00000000006cc224 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

11 pc 0x00000000006ccaa8 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

12 pc 0x00000000006d1730 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

13 pc 0x00000000006ccaa8 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

14 pc 0x00000000006d1730 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

15 pc 0x00000000006ccaa8 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

16 pc 0x00000000006d1730 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

17 pc 0x00000000006ccaa8 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

18 pc 0x00000000006cc224 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

19 pc 0x00000000006ccaa8 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

20 pc 0x00000000006d1730 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

21 pc 0x00000000006ccaa8 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

22 pc 0x00000000006d0028 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

23 pc 0x00000000006ca9f0 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

24 pc 0x000000000078ff10 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

25 pc 0x000000000078fa38 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

26 pc 0x0000000000790d28 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

27 pc 0x000000000079082c /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

28 pc 0x000000000079c638 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

29 pc 0x00000000004660c4 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

30 pc 0x0000000000469e18 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

31 pc 0x0000000000018224 /system/lib64/libutils.so (android::Looper::pollInner(int)+1060)

32 pc 0x0000000000017da0 /system/lib64/libutils.so (android::Looper::pollOnce(int, int, int, void**)+112)

33 pc 0x00000000000185e4 /system/lib64/libandroid.so (ALooper_pollOnce+100)

34 pc 0x0000000000469f28 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

35 pc 0x0000000000467e04 /data/app/~~LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)

36 pc 0x00000000000fb7cc /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)

37 pc 0x000000000008e490 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

videjunior commented 2 months ago

I have same issue, however line of code seems to be different:

[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1594)] Check failed: fml::jni::CheckException(env).

pid: 0, tid: 22589 >>> com.gst.color.numbers.pixyfy <<<

backtrace: #00 pc 0x000000000008cc54 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) #1 pc 0x0000000000438844 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #2 pc 0x00000000004654cc /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #3 pc 0x0000000000451d1c /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #4 pc 0x0000000000448e78 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #5 pc 0x0000000000448f6c /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #6 pc 0x0000000000449240 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #7 pc 0x0000000000448c34 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #8 pc 0x00000000006d14e0 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #9 pc 0x00000000006ccaa8 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #10 pc 0x00000000006cc224 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #11 pc 0x00000000006ccaa8 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #12 pc 0x00000000006d1730 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #13 pc 0x00000000006ccaa8 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #14 pc 0x00000000006d1730 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #15 pc 0x00000000006ccaa8 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #16 pc 0x00000000006d1730 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #17 pc 0x00000000006ccaa8 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #18 pc 0x00000000006cc224 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #19 pc 0x00000000006ccaa8 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #20 pc 0x00000000006d1730 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #21 pc 0x00000000006ccaa8 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #22 pc 0x00000000006d0028 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #23 pc 0x00000000006ca9f0 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #24 pc 0x000000000078ff10 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #25 pc 0x000000000078fa38 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #26 pc 0x0000000000790d28 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #27 pc 0x000000000079082c /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #28 pc 0x000000000079c638 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #29 pc 0x00000000004660c4 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #30 pc 0x0000000000469e18 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #31 pc 0x0000000000018224 /system/lib64/libutils.so (android::Looper::pollInner(int)+1060) #32 pc 0x0000000000017da0 /system/lib64/libutils.so (android::Looper::pollOnce(int, int, int, void*)+112) #33 pc 0x00000000000185e4 /system/lib64/libandroid.so (ALooper_pollOnce+100) #34 pc 0x0000000000469f28 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #35 pc 0x0000000000467e04 /data/app/LWUVEcrca4fPxtcwHIU5bQ==/com.gst.color.numbers.pixyfy-UWznGtbDvwXimu-5KjFsFQ==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544) #36 pc 0x00000000000fb7cc /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void)+204) #37 pc 0x000000000008e490 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

I have the same problem with the same code 1594 in production, the failures appear in Android Vitals non-stop.

OsamaQureshi796 commented 1 month ago

Hi there,

I'm facing same issue from last month. i got email from google play console that Your app exceeds the Android vitals bad behavior threshold. After looking at google play console i found that there is some issues that are effecting a large number of users. Here's some screenshots from play console.

Screenshot 2024-03-22 at 10 18 48 PM Screenshot 2024-03-22 at 10 18 37 PM Screenshot 2024-03-22 at 10 18 24 PM


and here's logs from google play console.

Thread

[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1594)] Check failed: fml::jni::CheckException(env). 
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 24586 >>> com.myapp.football <<<

backtrace:
  #00  pc 0x000000000008ce34  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164)
  #01  pc 0x0000000000438844  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #02  pc 0x00000000004654cc  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #03  pc 0x0000000000451d1c  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #04  pc 0x0000000000448e78  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #05  pc 0x0000000000448f6c  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #06  pc 0x0000000000449240  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #07  pc 0x0000000000448c34  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #08  pc 0x00000000006d14e0  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #09  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #10  pc 0x00000000006d1730  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #11  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #12  pc 0x00000000006d1730  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #13  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #14  pc 0x00000000006d1730  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #15  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #16  pc 0x00000000006cc224  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #17  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #18  pc 0x00000000006d1730  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #19  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #20  pc 0x00000000006d0028  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #21  pc 0x00000000006ca9f0  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #22  pc 0x000000000078ff10  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #23  pc 0x000000000078fa38  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #24  pc 0x0000000000790d28  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #25  pc 0x000000000079082c  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #26  pc 0x000000000079c638  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #27  pc 0x00000000004660c4  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #28  pc 0x0000000000469e18  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #29  pc 0x0000000000018244  /system/lib64/libutils.so (android::Looper::pollInner(int)+1060)
  #30  pc 0x0000000000017dc0  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
  #31  pc 0x00000000000185e4  /system/lib64/libandroid.so (ALooper_pollOnce+100)
  #32  pc 0x0000000000469f28  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #33  pc 0x0000000000467e04  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #34  pc 0x00000000000fbbcc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
  #35  pc 0x000000000008e670  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

Any help will be appreciated.

Thanks

videjunior commented 1 month ago

Hi there,

I'm facing same issue from last month. i got email from google play console that Your app exceeds the Android vitals bad behavior threshold. After looking at google play console i found that there is some issues that are effecting a large number of users. Here's some screenshots from play console.

Screenshot 2024-03-22 at 10 18 48 PM Screenshot 2024-03-22 at 10 18 37 PM Screenshot 2024-03-22 at 10 18 24 PM and here's logs from google play console.

Thread

[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1594)] Check failed: fml::jni::CheckException(env). 
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 24586 >>> com.myapp.football <<<

backtrace:
  #00  pc 0x000000000008ce34  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164)
  #01  pc 0x0000000000438844  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #02  pc 0x00000000004654cc  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #03  pc 0x0000000000451d1c  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #04  pc 0x0000000000448e78  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #05  pc 0x0000000000448f6c  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #06  pc 0x0000000000449240  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #07  pc 0x0000000000448c34  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #08  pc 0x00000000006d14e0  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #09  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #10  pc 0x00000000006d1730  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #11  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #12  pc 0x00000000006d1730  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #13  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #14  pc 0x00000000006d1730  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #15  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #16  pc 0x00000000006cc224  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #17  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #18  pc 0x00000000006d1730  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #19  pc 0x00000000006ccaa8  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #20  pc 0x00000000006d0028  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #21  pc 0x00000000006ca9f0  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #22  pc 0x000000000078ff10  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #23  pc 0x000000000078fa38  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #24  pc 0x0000000000790d28  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #25  pc 0x000000000079082c  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #26  pc 0x000000000079c638  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #27  pc 0x00000000004660c4  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #28  pc 0x0000000000469e18  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #29  pc 0x0000000000018244  /system/lib64/libutils.so (android::Looper::pollInner(int)+1060)
  #30  pc 0x0000000000017dc0  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
  #31  pc 0x00000000000185e4  /system/lib64/libandroid.so (ALooper_pollOnce+100)
  #32  pc 0x0000000000469f28  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #33  pc 0x0000000000467e04  /data/app/~~Jv3jeUiWu05w7JMfMeT4EQ==/com.myapp.football-QPP057Cs1VOPLwojbto3hg==/split_config.arm64_v8a.apk!libflutter.so (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
  #34  pc 0x00000000000fbbcc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
  #35  pc 0x000000000008e670  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

Any help will be appreciated.

Thanks

To ensure my application functions normally again, I reverted to Flutter version 3.10.6 and Dart version 3.0.6.

atrope commented 1 month ago

Same. This is my number 1 issue In The app

atrope commented 1 month ago

@videjunior You had to go back to 3.10.6? 3.13.9 does not work?

Also any of you can reproduce this issue? We are getting thousands of those but i can't find a way to reproduce.

Thanks!

OsamaQureshi796 commented 1 month ago

Hi @videjunior after reverting back to old version of flutter fix the issue?

OsamaQureshi796 commented 1 month ago

Hi @darshankawar can you please give it some priority because lots of production apps is effected.

videjunior commented 1 month ago

Hi @videjunior after reverting back to old version of flutter fix the issue?

Yes, after the downgrade the error stopped on Android vitals.

minseok-jeong-gn commented 1 month ago

Daaaaamn platform view!!

Below is current my flutter configuration

[✓] Flutter (Channel stable, 3.19.2, on macOS 13.2.1 22D68 darwin-arm64, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
Build fingerprint: 'samsung/e3qksx/e3q:14/UP1A.231005.007/S928NKSU1AXCA:user/release-keys'
Revision: '13'
ABI: 'arm64'
Processor: '3'
Timestamp: 2024-04-08 21:00:35.066271056+0900
Process uptime: 358s
Cmdline: com.xxxxxxxx.xxxxxxxx
pid: 3492, tid: 3754, name: 1.raster  >>> com.xxxxxxxx.xxxxxxxx <<<
uid: 10593
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1594)] Check failed: fml::jni::CheckException(env). '
    x0  0000000000000000  x1  0000000000000eaa  x2  0000000000000006  x3  00000076cca20000
    x4  6d602e6c716e6573  x5  6d602e6c716e6573  x6  6d602e6c716e6573  x7  7f7f7f7f7f7f7f7f
    x8  00000000000000f0  x9  0000007a5085e278  x10 0000000000000001  x11 0000007a508a6a08
    x12 000000000000b468  x13 0000000000000000  x14 00000076cca1eeb0  x15 0000058b2ad216da
    x16 0000007a5090ed18  x17 0000007a508ea520  x18 00000076bcce0000  x19 0000000000000da4
    x20 0000000000000eaa  x21 00000000ffffffff  x22 0000000000000000  x23 b40000781f6a06c8
    x24 0000000000000000  x25 b4000078af639098  x26 0000000000000001  x27 0000000000000000
    x28 0000000000000048  x29 00000076cca20080
    lr  0000007a50897704  sp  00000076cca1ffe0  pc  0000007a50897730  pst 0000000000001000

44 total frames
backtrace:
      #00 pc 000000000005b730  /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 37f537c2ba9dcbb262a0a68f41a21da4)
      #01 pc 0000000000438844  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #02 pc 00000000004654cc  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #03 pc 0000000000451d1c  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #04 pc 0000000000448e78  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #05 pc 0000000000448f6c  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #06 pc 0000000000449240  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #07 pc 0000000000448c34  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #08 pc 00000000006d14e0  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #09 pc 00000000006ccaa8  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #10 pc 00000000006cc224  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #11 pc 00000000006ccaa8  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #12 pc 00000000006d1730  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #13 pc 00000000006ccaa8  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #14 pc 00000000006d1730  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #15 pc 00000000006ccaa8  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #16 pc 00000000006d1730  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #17 pc 00000000006ccaa8  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #18 pc 00000000006cc224  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #19 pc 00000000006ccaa8  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #20 pc 00000000006d1730  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #21 pc 00000000006ccaa8  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #22 pc 00000000006d1730  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #23 pc 00000000006ccaa8  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #24 pc 00000000006cc224  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #25 pc 00000000006ccaa8  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #26 pc 00000000006d1730  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #27 pc 00000000006ccaa8  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #28 pc 00000000006d0028  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #29 pc 00000000006ca9f0  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #30 pc 000000000078ff10  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #31 pc 000000000078fa38  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #32 pc 0000000000790d28  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #33 pc 000000000079082c  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #34 pc 000000000079c638  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #35 pc 00000000004660c4  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #36 pc 0000000000469e18  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #37 pc 0000000000018b70  /system/lib64/libutils.so (android::Looper::pollInner(int)+1252) (BuildId: d0c24e3b7b6c7152eb82e77a5d2271e6)
      #38 pc 0000000000018628  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+124) (BuildId: d0c24e3b7b6c7152eb82e77a5d2271e6)
      #39 pc 000000000001a184  /system/lib64/libandroid.so (ALooper_pollOnce+104) (BuildId: 57d5e1cc9f467bd05936ce48d8ad2d5d)
      #40 pc 0000000000469f28  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #41 pc 0000000000467e04  /data/app/~~xli4Gibr_8Ktp_BYZP4Vrw==/com.xxxxxxxx.xxxxxxx-79WObR2V9VDtLVkwBCV_tQ==/base.apk!libflutter.so (offset 0xbd9000) (BuildId: 3514e66bbee2689909245c0b27f3f66a56add544)
      #42 pc 00000000000c37b4  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: 37f537c2ba9dcbb262a0a68f41a21da4)
      #43 pc 000000000005d084  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 37f537c2ba9dcbb262a0a68f41a21da4)
lazytesting commented 1 month ago

We are also seeing this crash in our play store console logs. It affect roughly 0.5-0.75% of the users. We are not able to reproduce it our-selves even not after days of trying. What is intresting is that we see this happen relatively frequently around sharing (using share_plus for this) but also in other occacions.

I've got an unproven hypothesis that this crash happens around backgrounding the app and that there is maybe no real user impact. Did anyone actually got user report of this specific crash?

kkfnui commented 1 month ago

I also encountered this problem.I was able to reproduce and resolve this crash myself. The solution is to use inappwebview instead of webivew .

This is my situation. I have a page that uses PlatformWebViewWidget, and this page has AutomaticKeepAliveClientMixin. Steps to reproduce:

  1. Open the page containing Webview
  2. Switch pages and play rewarded video ads
  3. Revisit this page

It will definitely trigger a crash

It is most likely because webview is also used in rewarded video ads, which conflicts with the webview of AutomaticKeepAliveClientMixin.

I hope my case can give you some help.

ozzy1873 commented 1 month ago

Some of my users see this error without using webview and without advertisements. I have not been able to duplicate the error myself. Also, the error does not show up in Crashlytics, only in Google Play Console.

[√] Flutter (Channel stable, 3.19.5, on Microsoft Windows [Version 10.0.22621.3447], locale en-US) • Flutter version 3.19.5 on channel stable at C:\src\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 300451adae (3 weeks ago), 2024-03-27 21:54:07 -0500 • Engine revision e76c956498 • Dart version 3.3.3 • DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\john\AppData\Local\Android\Sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = C:\Users\john\AppData\Local\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874) • All Android licenses accepted.

[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Professional 2019 16.11.23) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional • Visual Studio Professional 2019 version 16.11.33214.272 • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2023.2) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • android-studio-dir = C:\Program Files\Android\Android Studio • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[√] Connected device (4 available) • SM G950U1 (mobile) • 988b1c35314d344258 • android-arm64 • Android 9 (API 28) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.3447] • Chrome (web) • chrome • web-javascript • Google Chrome 121.0.6167.162 • Edge (web) • edge • web-javascript • Microsoft Edge 123.0.2420.97

[√] Network resources • All expected network resources are available.

• No issues found!

fernan88 commented 2 weeks ago

Same issue here, it represents 15% of the current errors in production. Please we need updates on this.

darshankawar commented 2 weeks ago

If anybody is able to provide a reproducible code sample, we would be happy to look into it further.

k1r3zz commented 2 weeks ago

[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1696)] Check failed: fml::jni::CheckException(env).


pid: 0, tid: 21431 >>> com.app.android.qw.readink <<<

backtrace:

00 pc 0x000000000005136c /apex/com.android.runtime/lib64/bionic/libc.so (abort+180)

01 pc 0x000000000000b844

image image This crash accounts for 50% of all my crashes Please help me. I need to solve this problem in May to make the crash rate of the app below one in a thousand, or my salary will be deducted

k1r3zz commented 2 weeks ago

[致命:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1696)] 检查失败:fml::jni::CheckException(env)。

pid:0,tid:21431 >>> com.app.android.qw.readink <<<

backtrace: #00 pc 0x000000000005136c /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) #1 pc 0x000000000000b844 这个崩溃占我所有崩溃的 50% 请帮助我。我需要在五月份解决这个问题,让应用程序的崩溃率低于千分之一,否则我的工资将被扣除 图像 图像

Flutter 3.19.0 • channel stable • https://github.com/flutter/flutter.git Framework • revision bae5e49bc2 (3 months ago) • 2024-02-13 17:46:18 -0800 Engine • revision 04817c99c9 Tools • Dart 3.3.0 • DevTools 2.31.1

lazytesting commented 2 weeks ago

If anybody is able to provide a reproducible code sample, we would be happy to look into it further.

Much appreciated! So far this issue seems to be incredibly hard to reproduce (while it happens relatively often in production). Our findings so far:

loganSims commented 2 weeks ago

Would like to add we are seeing a similar crash in our Flutter app in production. We can reproduce it 9 out of 10 times by triggering the system "open with" chooser dialog. We use an arc gis map view in our app. Can't say Flutter is specifically the cause but seems very similar to issues folks are reporting here.

lazytesting commented 1 week ago

Would like to add we are seeing a similar crash in our Flutter app in production. We can reproduce it 9 out of 10 times by triggering the system "open with" chooser dialog. We use an arc gis map view in our app. Can't say Flutter is specifically the cause but seems very similar to issues folks are reporting here.

would it be possible for you to create a code sample of this? I tried it myself but it's not crashing for me

radivojeostojic commented 1 week ago

We also have a lot of problems with this issue; it keeps recurring more frequently from version to version. Flutter version: 3.19.5.

Screenshot 2024-05-06 at 10 17 31
k1r3zz commented 1 week ago

If anybody is able to provide a reproducible code sample, we would be happy to look into it further.

Much appreciated! So far this issue seems to be incredibly hard to reproduce (while it happens relatively often in production). Our findings so far:

  • we see it very often after sharing (using share_plus) but that could very well be related to backgrounding/foregrounding the app
  • I was able to confirm that the app really crashed
  • we see it since upgrading flutter 3.13.9 > 3.19.5
  • it happens on a screen with ads and google maps
  • we don't see a relation with a specific device or OS version (we see it a lot with Android 13/14 on Samsung but that are also the most used devices)

Do you have this error in flutter 3.13.9? I want to take flutter back and fix it temporarily

lazytesting commented 1 week ago

If anybody is able to provide a reproducible code sample, we would be happy to look into it further.

Much appreciated! So far this issue seems to be incredibly hard to reproduce (while it happens relatively often in production). Our findings so far:

  • we see it very often after sharing (using share_plus) but that could very well be related to backgrounding/foregrounding the app
  • I was able to confirm that the app really crashed
  • we see it since upgrading flutter 3.13.9 > 3.19.5
  • it happens on a screen with ads and google maps
  • we don't see a relation with a specific device or OS version (we see it a lot with Android 13/14 on Samsung but that are also the most used devices)

Do you have this error in flutter 3.13.9? I want to take flutter back and fix it temporarily

Before upgrading and after downgrading the SDK we did not saw this error.

fernan88 commented 1 week ago

@k1r3zz This seems to be another issue with platform views, as far as I know some of them were fixed in Flutter 3.22.0-0.3.pre.

k1r3zz commented 1 week ago

@k1r3zz This seems to be another issue with platform views, as far as I know some of them were fixed in Flutter 3.22.0-0.3.pre.

How long will this test build be on stable

wahyupermadie commented 1 week ago

we also facing this kind of issue, mostly affected oppo, vivo and realme device. our app is native android which have some feature build in flutter.

dlopen failed: library "/data/app/~~LHhbM4nW8kgpM80y679buQ==/com.app.p-3yD9iuPthG6dPmgMBhKfLQ==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libflutter.so" not found
MilesAdamson commented 1 week ago

On April 16th we released a build which bumped flutter version from 3.16.9 to 3.19.3. It's causing a ton of these crashes but likewise for us, we cannot reproduce them at all. We are downgrading back to 3.16.9 until this seems like it's resolved.

image

k1r3zz commented 1 week ago

On April 16th we released a build which bumped flutter version from 3.16.9 to 3.19.3. It's causing a ton of these crashes but likewise for us, we cannot reproduce them at all. We are downgrading back to 3.16.9 until this seems like it's resolved.

image

Now I am using 3.19.0. I am going to downgrade to 3.13.9. If 3.16.9 does not have this problem, I will consider 3.16.9

mutant0113 commented 1 week ago

Hi team, I encountered the same problem and already left a comment here a few months ago.

Thanks to our QA team, I can finally reproduce the issue with a simple example. I would like to provide the information, hoping it will help you identify the root cause.

Steps to reproduce

Use the sample code. The issue can be reproduced reliably with a release build (flutter run --release), while it does not occur in debug mode. (It only happened once in our app.)

Here are the steps: When tap Show WebView in BottomSheet button Then a bottom sheet with a WebView should pop up When tap grey area Then the bottom sheet should disappear When repeat the above steps 10~30 times (it depends, sometimes it happens quickly) Then the app crashes

Device & Information

  1. It can be easily reproduced on the Samsung M12, while it never happens on the Samsung S22 Ultra.
  2. Need to use WebView with useHybridComposition: true

Code sample

Please import plugin flutter_inappwebview: ^6.0.0.

Code sample ```dart import 'package:flutter/material.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart'; void main() => runApp(const MaterialApp(home: HomePage())); class HomePage extends StatefulWidget { const HomePage({super.key}); @override State createState() => _HomePageState(); } class _HomePageState extends State { @override Widget build(BuildContext context) => Scaffold( body: Center( child: ElevatedButton( child: const Text("Show WebView in BottomSheet"), onPressed: () { showModalBottomSheet( context: context, isScrollControlled: true, builder: (context) => const SizedBox(height: 600, child: InAppWebViewPage()), ); }, ), ), ); } class InAppWebViewPage extends StatefulWidget { const InAppWebViewPage({super.key}); @override State createState() => _InAppWebViewPageState(); } class _InAppWebViewPageState extends State { @override Widget build(BuildContext context) => Scaffold( appBar: AppBar(title: const Text("InAppWebView")), body: InAppWebView( initialUrlRequest: URLRequest(url: WebUri("https://buy.line.me/")), initialSettings: InAppWebViewSettings(useHybridComposition: true), ), ); } ```

Screenshots or Video

Demo video https://github.com/flutter/flutter/assets/1586963/91abf344-2a1a-421c-b198-05ed4b88dcda

Logs

Release build ``` [ERROR:flutter/fml/platform/android/jni_util.cc(206)] java.lang.IllegalStateException: Platform view hasn't been initialized from the platform view channel. at io.flutter.plugin.platform.y.X(Unknown Source:96) at io.flutter.plugin.platform.y.k0(Unknown Source:3) at io.flutter.embedding.engine.FlutterJNI.onDisplayPlatformView(Unknown Source:19) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:335) at android.os.Looper.loopOnce(Looper.java:186) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135) [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1696)] Check failed: fml::jni::CheckException(env). Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 32732 (ppwebview_crash), pid 32732 (ppwebview_crash) *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'samsung/m12nsxx/m12:12/SP1A.210812.016/M127FXXU3BVI3:user/release-keys' Revision: '2' ABI: 'arm64' Processor: '0' Timestamp: 2024-05-09 14:53:56.842393302+0800 Process uptime: 36s Cmdline: com.example.inappwebview_crash pid: 32732, tid: 32732, name: ppwebview_crash >>> com.example.inappwebview_crash <<< uid: 10373 signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1696)] Check failed: fml::jni::CheckException(env). ' x0 0000000000000000 x1 0000000000007fdc x2 0000000000000006 x3 0000007fe5383ba0 x4 0000007149114000 x5 0000007149114000 x6 0000007149114000 x7 000000000d1a00b0 x8 00000000000000f0 x9 e2cf4cd68e151c0e x10 0000000000000000 x11 ffffff80fffffbdf x12 0000000000000001 x13 0000000027a0d7c8 x14 0000000000000000 x15 00005acbd7129a4e x16 00000071421b6d20 x17 0000007142190c50 x18 0000007148358000 x19 0000000000007fdc x20 0000000000007fdc x21 00000000ffffffff x22 b40000709fe20900 x23 000000701e563000 x24 000000701e563000 x25 b40000700c0d2c48 x26 0000000000000024 x27 0000007147f4901d x28 0000007147f49021 x29 0000007fe5383c20 lr 00000071421436fc sp 0000007fe5383b80 pc 0000007142143728 pst 0000000000000000 backtrace: #00 pc 0000000000089728 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: ddfcb9d4fd7d4d5ecb9d226c1e8e24dd) #01 pc 0000000000438784 /data/app/~~ZCvYvttpLWMHE9GRnjTipg==/com.example.inappwebview_crash-uElkmaCR3O0ehHdbFMHtRA==/lib/arm64/libflutter.so (BuildId: e263a16aaa8bf3e0d2b45e1cc4e6207615829b32) #02 pc 0000000000465400 /data/app/~~ZCvYvttpLWMHE9GRnjTipg==/com.example.inappwebview_crash-uElkmaCR3O0ehHdbFMHtRA==/lib/arm64/libflutter.so (BuildId: e263a16aaa8bf3e0d2b45e1cc4e6207615829b32) #03 pc 0000000000451ee4 /data/app/~~ZCvYvttpLWMHE9GRnjTipg==/com.example.inappwebview_crash-uElkmaCR3O0ehHdbFMHtRA==/lib/arm64/libflutter.so (BuildId: e263a16aaa8bf3e0d2b45e1cc4e6207615829b32) #04 pc 00000000009097dc /data/app/~~ZCvYvttpLWMHE9GRnjTipg==/com.example.inappwebview_crash-uElkmaCR3O0ehHdbFMHtRA==/lib/arm64/libflutter.so (BuildId: e263a16aaa8bf3e0d2b45e1cc4e6207615829b32) #05 pc 000000000078fbe0 /data/app/~~ZCvYvttpLWMHE9GRnjTipg==/com.example.inappwebview_crash-uElkmaCR3O0ehHdbFMHtRA==/lib/arm64/libflutter.so (BuildId: e263a16aaa8bf3e0d2b45e1cc4e6207615829b32) #06 pc 000000000078f5e8 /data/app/~~ZCvYvttpLWMHE9GRnjTipg==/com.example.inappwebview_crash-uElkmaCR3O0ehHdbFMHtRA==/lib/arm64/libflutter.so (BuildId: e263a16aaa8bf3e0d2b45e1cc4e6207615829b32) #07 pc 00000000007908d0 /data/app/~~ZCvYvttpLWMHE9GRnjTipg==/com.example.inappwebview_crash-uElkmaCR3O0ehHdbFMHtRA==/lib/arm64/libflutter.so (BuildId: e263a16aaa8bf3e0d2b45e1cc4e6207615829b32) #08 pc 00000000007903d4 /data/app/~~ZCvYvttpLWMHE9GRnjTipg==/com.example.inappwebview_crash-uElkmaCR3O0ehHdbFMHtRA==/lib/arm64/libflutter.so (BuildId: e263a16aaa8bf3e0d2b45e1cc4e6207615829b32) #09 pc 0000000000465ff8 /data/app/~~ZCvYvttpLWMHE9GRnjTipg==/com.example.inappwebview_crash-uElkmaCR3O0ehHdbFMHtRA==/lib/arm64/libflutter.so (BuildId: e263a16aaa8bf3e0d2b45e1cc4e6207615829b32) #10 pc 0000000000469d4c /data/app/~~ZCvYvttpLWMHE9GRnjTipg==/com.example.inappwebview_crash-uElkmaCR3O0ehHdbFMHtRA==/lib/arm64/libflutter.so (BuildId: e263a16aaa8bf3e0d2b45e1cc4e6207615829b32) #11 pc 0000000000016918 /system/lib64/libutils.so (android::Looper::pollInner(int)+912) (BuildId: a8e5883b039c6d018dc9ced53f79b1d0) #12 pc 0000000000016520 /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112) (BuildId: a8e5883b039c6d018dc9ced53f79b1d0) #13 pc 000000000015249c /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44) (BuildId: a24d70944d634a7167f6da4fcd647074) #14 pc 000000000046b514 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+116) ```
Debug build ``` E/flutter (13317): [ERROR:flutter/fml/platform/android/jni_util.cc(204)] java.lang.IllegalStateException: Platform view hasn't been initialized from the platform view channel. E/flutter (13317): at io.flutter.plugin.platform.PlatformViewsController.initializePlatformViewIfNeeded(PlatformViewsController.java:1062) E/flutter (13317): at io.flutter.plugin.platform.PlatformViewsController.onDisplayPlatformView(PlatformViewsController.java:1132) E/flutter (13317): at io.flutter.embedding.engine.FlutterJNI.onDisplayPlatformView(FlutterJNI.java:1414) E/flutter (13317): at android.os.MessageQueue.nativePollOnce(Native Method) E/flutter (13317): at android.os.MessageQueue.next(MessageQueue.java:335) E/flutter (13317): at android.os.Looper.loopOnce(Looper.java:186) E/flutter (13317): at android.os.Looper.loop(Looper.java:313) E/flutter (13317): at android.app.ActivityThread.main(ActivityThread.java:8669) E/flutter (13317): at java.lang.reflect.Method.invoke(Native Method) E/flutter (13317): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) E/flutter (13317): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135) E/flutter (13317): F/flutter (13317): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1498)] Check failed: fml::jni::CheckException(env). D/TrackingService.EventDelivery(13317): >>>>>>>> start wait [0] <<<<<<<< F/libc (13317): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 13317 (package.name), pid 13317 (package.name) *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'samsung/m12nsxx/m12:12/SP1A.210812.016/M127FXXU3BVI3:user/release-keys' Revision: '2' ABI: 'arm64' Processor: '1' Timestamp: 2024-05-07 15:00:40.258647312+0800 Process uptime: 259s Cmdline: package.name pid: 13317, tid: 13317, name: package.name >>> package.name <<< uid: 10372 signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1498)] Check failed: fml::jni::CheckException(env). ' x0 0000000000000000 x1 0000000000003405 x2 0000000000000006 x3 0000007fe53826b0 x4 0000007149114000 x5 0000007149114000 x6 0000007149114000 x7 000000000c87c7b6 x8 00000000000000f0 x9 e2cf4cd68e151c0e x10 0000000000000000 x11 ffffff80fffffbdf x12 0000000000000001 x13 000000003c2f8cc0 x14 0000000000000000 x15 0000164806c4a7dc x16 00000071421b6d20 x17 0000007142190c50 x18 0000007148358000 x19 0000000000003405 x20 0000000000003405 x21 00000000ffffffff x22 b400006fa81745c8 x23 0000000000000412 x24 b40000709fe20900 x25 0000000000000000 x26 000000000000000f x27 0000007147f49039 x28 0000007fe53829b8 x29 0000007fe5382730 lr 00000071421436fc sp 0000007fe5382690 pc 0000007142143728 pst 0000000000000000 backtrace: #00 pc 0000000000089728 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: ddfcb9d4fd7d4d5ecb9d226c1e8e24dd) #01 pc 000000000167ef8c /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #02 pc 00000000016a6670 /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #03 pc 000000000168ca20 /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #04 pc 0000000001e05650 /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #05 pc 0000000001a43b28 /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #06 pc 0000000001a428a4 /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #07 pc 0000000001a430bc /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #08 pc 0000000001a441c4 /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #09 pc 0000000001a42c94 /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #10 pc 0000000001a42a08 /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #11 pc 0000000001a444c0 /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #12 pc 00000000016a722c /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #13 pc 00000000016ac8d8 /data/app/~~5R2Xo6gsPmLtVTVRHF4rEA==/package.name/base.apk!libflutter.so (BuildId: 59e80130e559b84528a7f4adadcde9e10efeac15) #14 pc 0000000000016918 /system/lib64/libutils.so (android::Looper::pollInner(int)+912) (BuildId: a8e5883b039c6d018dc9ced53f79b1d0) #15 pc 0000000000016520 /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112) (BuildId: a8e5883b039c6d018dc9ced53f79b1d0) #16 pc 000000000015249c /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44) (BuildId: a24d70944d634a7167f6da4fcd647074) #17 pc 0000000000355830 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 735f12f804f88d62a2cb437261076ff7) #18 pc 000000000033eda4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 735f12f804f88d62a2cb437261076ff7) #19 pc 0000000000511050 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1976) (BuildId: 735f12f804f88d62a2cb437261076ff7) #20 pc 0000000000497814 /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp(art::interpreter::SwitchImplContext*)+2040) (BuildId: 735f12f804f88d62a2cb437261076ff7) #21 pc 0000000000357fd8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7) #22 pc 00000000004cb924 /system/framework/framework.jar (android.os.MessageQueue.next+0) #23 pc 0000000000374120 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7) #24 pc 0000000000511d1c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 735f12f804f88d62a2cb437261076ff7) #25 pc 00000000004973dc /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp(art::interpreter::SwitchImplContext*)+960) (BuildId: 735f12f804f88d62a2cb437261076ff7) #26 pc 0000000000357fd8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7) #27 pc 00000000004ca8a8 /system/framework/framework.jar (android.os.Looper.loopOnce+0) #28 pc 0000000000374120 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7) #29 pc 0000000000511d1c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 735f12f804f88d62a2cb437261076ff7) #30 pc 000000000049774c /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp(art::interpreter::SwitchImplContext*)+1840) (BuildId: 735f12f804f88d62a2cb437261076ff7) #31 pc 0000000000357fd8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7) #32 pc 00000000004cb054 /system/framework/framework.jar (android.os.Looper.loop+0) #33 pc 0000000000374120 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7) #34 pc 0000000000511d1c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: 735f12f804f88d62a2cb437261076ff7) #35 pc 000000000049774c /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp(art::interpreter::SwitchImplContext*)+1840) (BuildId: 735f12f804f88d62a2cb437261076ff7) #36 pc 0000000000357fd8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7) #37 pc 00000000001bc4f0 /system/framework/framework.jar (android.app.ActivityThread.main+0) #38 pc 0000000000374120 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7) #39 pc 0000000000373a18 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 735f12f804f88d62a2cb437261076ff7) #40 pc 0000000000355968 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 735f12f804f88d62a2cb437261076ff7) #41 pc 000000000033f080 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 735f12f804f88d62a2cb437261076ff7) #42 pc 00000000003884dc /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1588) (BuildId: 735f12f804f88d62a2cb437261076ff7) #43 pc 0000000000387e98 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+32) (BuildId: 735f12f804f88d62a2cb437261076ff7) #44 pc 0000000000355830 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 735f12f804f88d62a2cb437261076ff7) #45 pc 000000000033eda4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 735f12f804f88d62a2cb437261076ff7) #46 pc 0000000000511050 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1976) (BuildId: 735f12f804f88d62a2cb437261076ff7) #47 pc 00000000004973dc /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp(art::interpreter::SwitchImplContext*)+960) (BuildId: 735f12f804f88d62a2cb437261076ff7) #48 pc 0000000000357fd8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7) #49 pc 000000000045a0f8 /system/framework/framework.jar (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+0) #50 pc 0000000000374120 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7) #51 pc 0000000000373a18 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 735f12f804f88d62a2cb437261076ff7) #52 pc 0000000000355968 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 735f12f804f88d62a2cb437261076ff7) #53 pc 0000000001208ce4 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.internal.os.ZygoteInit.main+3508) ```

Flutter Doctor output

Flutter Doctor output ``` Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.19.6, on macOS 13.4 22F66 darwin-arm64, locale zh-Hant-TW) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 14.3.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.1) [✓] IntelliJ IDEA Ultimate Edition (version 2023.3.6) [✓] IntelliJ IDEA Community Edition (version 2023.3.5) [✓] VS Code (version 1.79.2) [✓] Connected device (3 available) [✓] Network resources ```
darshankawar commented 1 week ago

@mutant0113 Thanks for the repro and details. I see that you mentioned flutter_inappwebview which is third party package. Can you confirm if the same crash occurs using webview_flutter as well ? If not, you'll need to report this in dedicated repo.

mutant0113 commented 6 days ago

Hi @darshankawar , I tried to reproduce the issue with webview_flutter by setting displayWithHybridComposition to true. (Please correct me if I used it incorrectly.)"

Here is the sample code:

Sample code ```dart import 'package:flutter/material.dart'; import 'package:webview_flutter/webview_flutter.dart'; import 'package:webview_flutter_android/webview_flutter_android.dart'; import 'package:webview_flutter_platform_interface/webview_flutter_platform_interface.dart'; void main() => runApp(const MaterialApp(home: HomePage())); class HomePage extends StatefulWidget { const HomePage({super.key}); @override State createState() => _HomePageState(); } class _HomePageState extends State { @override Widget build(BuildContext context) => Scaffold( body: Center( child: ElevatedButton( child: const Text("Show WebView in BottomSheet"), onPressed: () { showModalBottomSheet( context: context, isScrollControlled: true, builder: (context) => const SizedBox(height: 600, child: InAppWebViewPage()), ); }, ), ), ); } class InAppWebViewPage extends StatefulWidget { const InAppWebViewPage({super.key}); @override State createState() => _InAppWebViewPageState(); } class _InAppWebViewPageState extends State { @override Widget build(BuildContext context) { final controller = AndroidWebViewController(AndroidWebViewControllerCreationParams()); final params = AndroidWebViewWidgetCreationParams( controller: controller, displayWithHybridComposition: true, ); controller.loadRequest(LoadRequestParams(uri: Uri.parse('https://buy.line.me/'))); return Scaffold( appBar: AppBar(title: const Text('WebView Flutter')), body: WebViewWidget.fromPlatformCreationParams(params: params), ); } } ```

The plugins I imported:

webview_flutter_android: ^3.16.1
webview_flutter: ^4.7.0

The same bug happens as previously mentioned. Please take a look if you have time. Thank you.

By the way, I also left a comment on the InAppWebView Plugin Github

k1r3zz commented 2 days ago

flutter's 3.22 stable has been updated to any warriors. Are there any resolutions

ozzy1873 commented 2 days ago

I've been using 3.22.0-0.3.pre (beta channel) in production for the last week with a small number of users and I am no longer seeing this error. With previous versions, I would have seen this error by now. I am going to increase the number of users for a few days before doing the full release.