pichillilorenzo / flutter_inappwebview

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
https://inappwebview.dev
Apache License 2.0
3.27k stars 1.61k forks source link

[Android] Crash for long pages (v5.4.3+7) #1226

Closed robert-virkus closed 4 weeks ago

robert-virkus commented 2 years ago

Environment

Technology Version
Flutter version 3.0.2
Plugin version 5.4.3+7
Android version 12
iOS version n/a
Xcode version n/a

Device information:

Description

With a hybrid webview that is embedded in a column, after loading a long webpage and then measuring the document height and then setting the height of webview (by wrapping it into a SizedBox), the app crashes or the webview is rendered empty after setting the height. It seems to be dependent on the free memory if the app crashes or "only" the webview is shown empty.

Expected behavior: WebView does not crash / renders correctly.

Current behavior: For long web-pages the web view crashes:

[   +5 ms] E/flutter (18605): [ERROR:flutter/fml/platform/android/jni_util.cc(204)] java.lang.RuntimeException: Error during updateTexImage (see logcat for details)
[        ] E/flutter (18605):   at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method)
[   +1 ms] E/flutter (18605):   at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:249)
[   +1 ms] E/flutter (18605):   at io.flutter.embedding.engine.renderer.SurfaceTextureWrapper.updateTexImage(SurfaceTextureWrapper.java:55)

On iOS the same app works fine.

Steps to reproduce

GIVEN the app runs on Android (tested with Android 10, 11 and 12) AND using current InAppWebView version v5.4.3+7.

  1. Run the sample app
  2. Observe the crash / empty webview
Sample App ```dart import 'package:flutter/material.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Crash Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home: const MyHomePage(title: 'Crash'), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({Key? key, required this.title}) : super(key: key); final String title; @override State createState() => _MyHomePageState(); } class _MyHomePageState extends State { late double _webViewHeight; @override void didChangeDependencies() { _webViewHeight = MediaQuery.of(context).size.height; super.didChangeDependencies(); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(widget.title), ), body: SingleChildScrollView( child: Column( children: [ const Text('Some scrollable header'), SizedBox( height: _webViewHeight, child: InAppWebView( initialOptions: InAppWebViewGroupOptions( android: AndroidInAppWebViewOptions( useHybridComposition: true, ), ), onWebViewCreated: (controller) { controller.loadUrl( urlRequest: URLRequest( url: Uri.parse('https://enough.de/bug/crash.html'), ), ); }, onLoadStop: (controller, uri) async { final height = await controller.evaluateJavascript( source: 'document.body.scrollHeight'); print('SETTING HEIGHT TO ${height + 10.0}'); setState(() { _webViewHeight = height + 10.0; }); }, ), ), ], ), )); } } ```

Stacktrace/Logcat

Logs ``` PS C:\Users\User\Development\bug _in_app_webview> flutter run --verbose [ +171 ms] executing: [C:\Users\User\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +481 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ +1 ms] cd41fdd495f6944ecd3506c21e94c6567b073278 [ +2 ms] executing: [C:\Users\User\flutter/] git tag --points-at cd41fdd495f6944ecd3506c21e94c6567b073278 [ +153 ms] Exit code 0 from: git tag --points-at cd41fdd495f6944ecd3506c21e94c6567b073278 [ +1 ms] 3.0.2 [ +25 ms] executing: [C:\Users\User\flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +124 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ +1 ms] origin/stable [ +1 ms] executing: [C:\Users\User\flutter/] git ls-remote --get-url origin [ +143 ms] Exit code 0 from: git ls-remote --get-url origin [ +1 ms] https://github.com/flutter/flutter.git [ +300 ms] executing: [C:\Users\User\flutter/] git rev-parse --abbrev-ref HEAD [ +124 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ +1 ms] stable [ +208 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +17 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +162 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l [ +167 ms] List of devices attached ae1dc0ac device product:renoir_eea model:M2101K9G device:renoir transport_id:15 [ +24 ms] C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ae1dc0ac shell getprop [ +195 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +12 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +340 ms] Skipping pub get: version match. [ +74 ms] Found plugin flutter_inappwebview at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.4.3+7\ [ +114 ms] Found plugin flutter_inappwebview at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.4.3+7\ [ +60 ms] Generating C:\Users\User\Development\bug _in_app_webview\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +242 ms] ro.hardware = qcom [ +85 ms] Initializing file store [ +29 ms] Skipping target: gen_localizations [ +11 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\User\Development\bug _in_app_webview\.dart_tool\package_config_subset} [ +42 ms] Found plugin flutter_inappwebview at C:\Users\User\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-5.4.3+7\ [ +40 ms] gen_dart_plugin_registrant: Complete [ +5 ms] Skipping target: _composite [ +8 ms] complete [ +25 ms] Launching lib\main.dart on M2101K9G in debug mode... [ +26 ms] C:\Users\User\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\User\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\Users\User\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\User\AppData\Local\Temp\flutter_tools.40af8b04\flutter_tool.5f865de9\app.dill --packages C:\Users\User\Development\bug _in_app_webview\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy [ +27 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\build-tools\31.0.0\aapt dump xmltree C:\Users\User\Development\bug _in_app_webview\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml [ +84 ms] Exit code 0 from: C:\Users\User\AppData\Local\Android\Sdk\build-tools\31.0.0\aapt dump xmltree C:\Users\User\Development\bug _in_app_webview\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml [ +2 ms] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12") A: package="com.example.bug" (Raw: "com.example.bug") A: platformBuildVersionCode=(type 0x10)0x1f A: platformBuildVersionName=(type 0x10)0xc E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x13 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f E: uses-permission (line=15) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: queries (line=17) E: intent (line=18) E: action (line=19) A: android:name(0x01010003)="android.support.customtabs.action.CustomTabsService" (Raw: "android.support.customtabs.action.CustomTabsService") E: application (line=23) A: android:label(0x01010001)="bug" (Raw: "bug") A: android:icon(0x01010002)=@0x7f0d0000 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=29) A: android:theme(0x01010000)=@0x7f0f00a3 A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=44) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0f00a4 E: intent-filter (line=48) E: action (line=49) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=51) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=58) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: activity (line=62) A: android:theme(0x01010000)=@0x7f0f0005 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.in_app_browser.InAppBrowserActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.in_app_browser.InAppBrowserActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4 E: activity (line=67) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff E: activity (line=71) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff E: activity (line=75) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivitySingleInstance" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivitySingleInstance") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x3 E: activity (line=80) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivitySingleInstance" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivitySingleInstance") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x3 E: receiver (line=86) A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ActionBroadcastReceiver" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ActionBroadcastReceiver") A: android:enabled(0x0101000e)=(type 0x12)0xffffffff A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=91) A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview") A: android:value(0x01010024)=(type 0x12)0xffffffff E: uses-library (line=95) A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions") A: android:required(0x0101028e)=(type 0x12)0x0 E: uses-library (line=98) A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar") A: android:required(0x0101028e)=(type 0x12)0x0 E: provider (line=102) A: android:name(0x01010003)="androidx.startup.InitializationProvider" (Raw: "androidx.startup.InitializationProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.example.bug.androidx-startup" (Raw: "com.example.bug.androidx-startup") E: meta-data (line=106) A: android:name(0x01010003)="androidx.emoji2.text.EmojiCompatInitializer" (Raw: "androidx.emoji2.text.EmojiCompatInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") E: meta-data (line=109) A: android:name(0x01010003)="androidx.lifecycle.ProcessLifecycleInitializer" (Raw: "androidx.lifecycle.ProcessLifecycleInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") [ +46 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ae1dc0ac shell -x logcat -v time -t 1 [ +68 ms] <- compile package:bug/main.dart [ +361 ms] --------- beginning of main 06-17 11:06:43.882 E/cnss-daemon( 1491): wlan_service_update_sys_param: unable to open /proc/sys/net/ipv4/tcp_use_userconfig [ +40 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe version [ +105 ms] Android Debug Bridge version 1.0.41 Version 33.0.0-8141338 Installed as C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe [ +6 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server [ +115 ms] Building APK [ +45 ms] Running Gradle task 'assembleDebug'... [ +15 ms] Using gradle from C:\Users\User\Development\bug _in_app_webview\android\gradlew.bat. [ +83 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +340 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +1 ms] openjdk version "11.0.12" 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840) OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode) [ +4 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +323 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +1 ms] openjdk version "11.0.12" 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840) OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode) [ +4 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +333 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +1 ms] openjdk version "11.0.12" 2021-07-20 OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840) OpenJDK 64-Bit Server VM (build 11.0.12+7-b1504.28-7817840, mixed mode) [ +5 ms] executing: [C:\Users\User\Development\bug _in_app_webview\android/] C:\Users\User\Development\bug _in_app_webview\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=C:\Users\User\Development\bug _in_app_webview\lib\main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug [+6806 ms] > Task :app:preBuild UP-TO-DATE [ +2 ms] > Task :app:preDebugBuild UP-TO-DATE [ +1 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE [+27186 ms] > Task :app:compileFlutterBuildDebug [ +1 ms] Parameter format not correct - [ +292 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE [ +2 ms] > Task :flutter_inappwebview:preBuild UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:preDebugBuild UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:compileDebugAidl NO-SOURCE [ +1 ms] > Task :app:compileDebugAidl NO-SOURCE [ +1 ms] > Task :flutter_inappwebview:packageDebugRenderscript NO-SOURCE [ +1 ms] > Task :app:compileDebugRenderscript NO-SOURCE [ +1 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:writeDebugAarMetadata UP-TO-DATE [ +80 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE [ +94 ms] > Task :app:cleanMergeDebugAssets [ +1 ms] > Task :app:mergeDebugShaders UP-TO-DATE [ +1 ms] > Task :app:compileDebugShaders NO-SOURCE [ +1 ms] > Task :app:generateDebugAssets UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:mergeDebugShaders UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:compileDebugShaders NO-SOURCE [ +1 ms] > Task :flutter_inappwebview:generateDebugAssets UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:packageDebugAssets UP-TO-DATE [ +1 ms] > Task :app:mergeDebugAssets [ +791 ms] > Task :app:copyFlutterAssetsDebug [ +2 ms] > Task :app:generateDebugResValues UP-TO-DATE [ +1 ms] > Task :app:generateDebugResources UP-TO-DATE [ +2 ms] > Task :flutter_inappwebview:compileDebugRenderscript NO-SOURCE [ +1 ms] > Task :flutter_inappwebview:generateDebugResValues UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:generateDebugResources UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:packageDebugResources UP-TO-DATE [ +1 ms] > Task :app:mergeDebugResources UP-TO-DATE [ +99 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE [ +3 ms] > Task :app:extractDeepLinksDebug UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:extractDeepLinksDebug UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:processDebugManifest UP-TO-DATE [ +1 ms] > Task :app:processDebugMainManifest UP-TO-DATE [ +1 ms] > Task :app:processDebugManifest UP-TO-DATE [ +12 ms] > Task :app:processDebugManifestForPackage UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:compileDebugLibraryResources UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:parseDebugLocalResources UP-TO-DATE [ +73 ms] > Task :flutter_inappwebview:generateDebugRFile UP-TO-DATE [ +108 ms] > Task :app:processDebugResources UP-TO-DATE [ +14 ms] > Task :flutter_inappwebview:generateDebugBuildConfig UP-TO-DATE [ +71 ms] > Task :flutter_inappwebview:javaPreCompileDebug UP-TO-DATE [ +2 ms] > Task :flutter_inappwebview:compileDebugJavaWithJavac UP-TO-DATE [ +2 ms] > Task :flutter_inappwebview:bundleLibCompileToJarDebug UP-TO-DATE [ +500 ms] > Task :app:compileDebugKotlin UP-TO-DATE [ +7 ms] > Task :app:javaPreCompileDebug UP-TO-DATE [ +8 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE [ +73 ms] > Task :app:processDebugJavaRes NO-SOURCE [ +2 ms] > Task :flutter_inappwebview:processDebugJavaRes NO-SOURCE [ +1 ms] > Task :flutter_inappwebview:bundleLibResDebug NO-SOURCE [ +307 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE [ +2 ms] > Task :flutter_inappwebview:bundleLibRuntimeToJarDebug UP-TO-DATE [ +1 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE [ +95 ms] > Task :app:dexBuilderDebug UP-TO-DATE [ +3 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE [ +192 ms] > Task :app:mergeExtDexDebug UP-TO-DATE [ +17 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE [ +2 ms] > Task :flutter_inappwebview:mergeDebugJniLibFolders UP-TO-DATE [ +2 ms] > Task :flutter_inappwebview:mergeDebugNativeLibs NO-SOURCE [ +1 ms] > Task :flutter_inappwebview:copyDebugJniLibsProjectOnly UP-TO-DATE [ +1 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE [ +116 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE [ +7 ms] > Task :app:validateSigningDebug UP-TO-DATE [ +2 ms] > Task :app:writeDebugAppMetadata UP-TO-DATE [ +1 ms] > Task :app:writeDebugSigningConfigVersions UP-TO-DATE [ +2 ms] > Task :flutter_inappwebview:stripDebugDebugSymbols NO-SOURCE [ +1 ms] > Task :flutter_inappwebview:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE [ +139 ms] > Task :flutter_inappwebview:extractDebugAnnotations UP-TO-DATE [ +2 ms] > Task :app:mergeDexDebug UP-TO-DATE [ +104 ms] > Task :flutter_inappwebview:mergeDebugGeneratedProguardFiles UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:mergeDebugConsumerProguardFiles UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:prepareDebugArtProfile UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:prepareLintJarForPublish UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:mergeDebugJavaResource UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:syncDebugLibJars UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:bundleDebugAar UP-TO-DATE [ +1 ms] > Task :flutter_inappwebview:assembleDebug UP-TO-DATE [ +882 ms] > Task :app:compressDebugAssets [ +1 ms] Execution optimizations have been disabled for task ':app:compressDebugAssets' to ensure correctness due to the following reasons: [ +1 ms] - Gradle detected a problem with the following location: 'C:\Users\User\Development\bug _in_app_webview\build\app\intermediates\assets\debug\mergeDebugAssets'. Reason: Task ':app:compressDebugAssets' uses this output of task ':app:copyFlutterAssetsDebug' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this problem. [+1239 ms] > Task :app:packageDebug [ +1 ms] > Task :app:createDebugApkListingFileRedirect UP-TO-DATE [ +263 ms] > Task :app:assembleDebug [ +92 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. [ +2 ms] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. [ +2 ms] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings [ +1 ms] Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness. [ +1 ms] Please consult deprecation warnings for more details. [ +1 ms] BUILD SUCCESSFUL in 39s [ +1 ms] 61 actionable tasks: 7 executed, 54 up-to-date [ +565 ms] Running Gradle task 'assembleDebug'... (completed in 41,4s) [ +115 ms] calculateSha: LocalDirectory: 'C:\Users\User\Development\bug _in_app_webview\build\app\outputs\flutter-apk'/app.apk [+1606 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk. [ +11 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\build-tools\31.0.0\aapt dump xmltree C:\Users\User\Development\bug _in_app_webview\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml [ +89 ms] Exit code 0 from: C:\Users\User\AppData\Local\Android\Sdk\build-tools\31.0.0\aapt dump xmltree C:\Users\User\Development\bug _in_app_webview\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml [ +2 ms] N: android=http://schemas.android.com/apk/res/android E: manifest (line=2) A: android:versionCode(0x0101021b)=(type 0x10)0x1 A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12") A: package="com.example.bug" (Raw: "com.example.bug") A: platformBuildVersionCode=(type 0x10)0x1f A: platformBuildVersionName=(type 0x10)0xc E: uses-sdk (line=7) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x13 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f E: uses-permission (line=15) A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET") E: queries (line=17) E: intent (line=18) E: action (line=19) A: android:name(0x01010003)="android.support.customtabs.action.CustomTabsService" (Raw: "android.support.customtabs.action.CustomTabsService") E: application (line=23) A: android:label(0x01010001)="bug" (Raw: "bug") A: android:icon(0x01010002)=@0x7f0d0000 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: activity (line=29) A: android:theme(0x01010000)=@0x7f0f00a3 A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.MainActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x1 A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4 A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10 A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff E: meta-data (line=44) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0f00a4 E: intent-filter (line=48) E: action (line=49) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=51) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=58) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: activity (line=62) A: android:theme(0x01010000)=@0x7f0f0005 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.in_app_browser.InAppBrowserActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.in_app_browser.InAppBrowserActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:configChanges(0x0101001f)=(type 0x11)0x400035b4 E: activity (line=67) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff E: activity (line=71) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivity" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff E: activity (line=75) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivitySingleInstance" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ChromeCustomTabsActivitySingleInstance") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x3 E: activity (line=80) A: android:theme(0x01010000)=@0x7f0f0117 A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivitySingleInstance" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.TrustedWebActivitySingleInstance") A: android:exported(0x01010010)=(type 0x12)0xffffffff A: android:launchMode(0x0101001d)=(type 0x10)0x3 E: receiver (line=86) A: android:name(0x01010003)="com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ActionBroadcastReceiver" (Raw: "com.pichillilorenzo.flutter_inappwebview.chrome_custom_tabs.ActionBroadcastReceiver") A: android:enabled(0x0101000e)=(type 0x12)0xffffffff A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=91) A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview") A: android:value(0x01010024)=(type 0x12)0xffffffff E: uses-library (line=95) A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions") A: android:required(0x0101028e)=(type 0x12)0x0 E: uses-library (line=98) A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar") A: android:required(0x0101028e)=(type 0x12)0x0 E: provider (line=102) A: android:name(0x01010003)="androidx.startup.InitializationProvider" (Raw: "androidx.startup.InitializationProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.example.bug.androidx-startup" (Raw: "com.example.bug.androidx-startup") E: meta-data (line=106) A: android:name(0x01010003)="androidx.emoji2.text.EmojiCompatInitializer" (Raw: "androidx.emoji2.text.EmojiCompatInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") E: meta-data (line=109) A: android:name(0x01010003)="androidx.lifecycle.ProcessLifecycleInitializer" (Raw: "androidx.lifecycle.ProcessLifecycleInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") [ +36 ms] Stopping app 'app.apk' on M2101K9G. [ +2 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ae1dc0ac shell am force-stop com.example.bug [ +211 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ae1dc0ac shell pm list packages com.example.bug [ +230 ms] package:com.example.bug [ +3 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ae1dc0ac shell cat /data/local/tmp/sky.com.example.bug.sha1 [ +140 ms] dc4c90965a45c25ca32410b5a2be482652a90d37 [ +2 ms] Installing APK. [ +4 ms] Installing build\app\outputs\flutter-apk\app.apk... [ ] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ae1dc0ac install -t -r C:\Users\User\Development\bug _in_app_webview\build\app\outputs\flutter-apk\app.apk [+3592 ms] Performing Streamed Install Success [ +2 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 3,6s) [ +3 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ae1dc0ac shell echo -n e44d7ee7361794d65f863c360ca4fada5ee2acf7 > /data/local/tmp/sky.com.example.bug.sha1 [ +123 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ae1dc0ac shell -x logcat -v time -t 1 [ +469 ms] --------- beginning of main 06-17 11:07:32.724 I/Finsky ( 2743): [2] par.n(8): Invalidating cached PackageState for com.example.bug [ +19 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ae1dc0ac shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.bug/com.example.bug.MainActivity [ +163 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) } [ +1 ms] Waiting for observatory port to be available... [ +862 ms] Observatory URL on device: http://127.0.0.1:37743/UugSy9HTtJI=/ [ +3 ms] executing: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ae1dc0ac forward tcp:0 tcp:37743 [ +67 ms] 65522 [ +1 ms] Forwarded host port 65522 to device port 37743 for Observatory [ +14 ms] Caching compiled dill [ +61 ms] Connecting to service protocol: http://127.0.0.1:65522/UugSy9HTtJI=/ [ +286 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:65522/UugSy9HTtJI=/. [ +236 ms] DDS is listening at http://127.0.0.1:65525/kGIjQQBVvoA=/. [ +141 ms] Successfully connected to service protocol: http://127.0.0.1:65522/UugSy9HTtJI=/ [ +93 ms] DevFS: Creating new filesystem on the device (null) [ +30 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bug%20_in_app_webviewBLPTEK/bug%20_in_app_webview/) [ +5 ms] Updating assets [ +201 ms] Syncing files to device M2101K9G... [ +5 ms] <- reset [ ] Compiling dart to kernel with 0 updated files [ +1 ms] Processing bundle. [ +3 ms] <- recompile package:bug/main.dart 37b273cd-a4af-466b-aff1-d52de5d6206a [ +1 ms] <- 37b273cd-a4af-466b-aff1-d52de5d6206a [ +6 ms] Bundle processing done. [ +80 ms] D/EgretLoader( 7631): EgretLoader(Context context) [ +2 ms] D/EgretLoader( 7631): The context is not activity [ +6 ms] W/com.example.bu( 7631): Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, reflection, allowed) [ +1 ms] W/com.example.bu( 7631): Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, reflection, allowed) [ +1 ms] W/com.example.bu( 7631): Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (greylist,core-platform-api, reflection, allowed) [ +4 ms] I/System.out( 7631): recordForce value 6 [ +3 ms] D/FrameIndicator( 7631): support status: 1 0x70b6deb018 0x70b6deb4c4 [ +4 ms] W/ContentCatcher( 7631): Failed to notify a WebView [ +9 ms] E/LB ( 7631): fail to open file: No such file or directory [ +1 ms] E/FrameEvents( 7631): updateAcquireFence: Did not find frame. [ +58 ms] Updating files. [ +1 ms] DevFS: Sync finished [ +4 ms] Syncing files to device M2101K9G... (completed in 196ms) [ +2 ms] Synced 0.0MB. [ +7 ms] <- accept [ +12 ms] Connected to _flutterView/0xb40000713a11ce20. [ +8 ms] Flutter run key commands. [ +4 ms] r Hot reload. [ +2 ms] R Hot restart. [ +1 ms] h List all available interactive commands. [ +2 ms] d Detach (terminate "flutter run" but leave application running). [ +2 ms] c Clear the screen [ +1 ms] q Quit (terminate the application on the device). [ +1 ms] Running with sound null safety [ +3 ms] An Observatory debugger and profiler on M2101K9G is available at: http://127.0.0.1:65525/kGIjQQBVvoA=/ [ +28 ms] W/com.example.bu( 7631): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed) [ +3 ms] W/cr_media( 7631): Requires BLUETOOTH permission [ +141 ms] I/com.example.bu( 7631): ProcessProfilingInfo new_methods=1699 is saved saved_to_disk=1 resolve_classes_delay=8000 [ +87 ms] E/FrameEvents( 7631): updateAcquireFence: Did not find frame. [ +38 ms] E/FrameEvents( 7631): updateAcquireFence: Did not find frame. [ +179 ms] The Flutter DevTools debugger and profiler on M2101K9G is available at: http://127.0.0.1:9104?uri=http://127.0.0.1:65525/kGIjQQBVvoA=/ [ +407 ms] E/FrameEvents( 7631): updateAcquireFence: Did not find frame. [ +100 ms] I/flutter ( 7631): SETTING HEIGHT TO 107748.0 [ +40 ms] E/FrameEvents( 7631): updateAcquireFence: Did not find frame. [ +45 ms] E/FrameEvents( 7631): updateAcquireFence: Did not find frame. [ +612 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +3 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ ] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ ] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +1 ms] E/chromium( 7631): [ERROR:skia_output_surface_impl.cc(984)] [ +1 ms] E/chromium( 7631): surface_size=1080x296307 [ +1 ms] E/chromium( 7631): format=4 [ +1 ms] E/chromium( 7631): color_type=4 [ ] E/chromium( 7631): backend_format.isValid()=1 [ +1 ms] E/chromium( 7631): backend_format.backend()=0 [ +1 ms] E/chromium( 7631): backend_format.asGLFormat()=1 [ +1 ms] E/chromium( 7631): backend_format.asVkFormat()=0 [ +1 ms] E/chromium( 7631): backend_format.asVkFormat() vk_format=0 [ +1 ms] E/chromium( 7631): sample_count=1 [ +1 ms] E/chromium( 7631): surface_origin=1 [ +1 ms] E/chromium( 7631): willGlFBO0=1 [ +1 ms] E/FrameEvents( 7631): updateAcquireFence: Did not find frame. [ +1 ms] W/Looper ( 7631): PerfMonitor doFrame : time=605ms vsyncFrame=14607811 latency=9ms procState=-1 [ +1 ms] I/Choreographer( 7631): Skipped 35 frames! The application may be doing too much work on its main thread. [ +671 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +38 ms] E/FrameEvents( 7631): updateAcquireFence: Did not find frame. [ +14 ms] W/Looper ( 7631): PerfMonitor doFrame : time=700ms vsyncFrame=14607812 latency=599ms procState=-1 historyMsgCount=2 (msgIndex=1 wall=605ms seq=206 running=5ms runnable=10ms late=9ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver) [ +4 ms] I/Choreographer( 7631): Skipped 41 frames! The application may be doing too much work on its main thread. [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +6 ms] E/FrameEvents( 7631): updateAcquireFence: Did not find frame. [ +1 ms] W/Looper ( 7631): PerfMonitor doFrame : time=11ms vsyncFrame=14607817 latency=696ms procState=-1 historyMsgCount=2 (msgIndex=1 wall=700ms seq=208 running=2ms late=599ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver) [ +6 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ ] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +22 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +1 ms] E/com.example.bu( 7631): [SurfaceTexture-0-7631-0] bindTextureImage: error binding external image: 0x502 [ +5 ms] E/flutter ( 7631): [ERROR:flutter/fml/platform/android/jni_util.cc(204)] java.lang.RuntimeException: Error during updateTexImage (see logcat for details) [ +1 ms] E/flutter ( 7631): at android.graphics.SurfaceTexture.nativeUpdateTexImage(Native Method) [ +1 ms] E/flutter ( 7631): at android.graphics.SurfaceTexture.updateTexImage(SurfaceTexture.java:248) [ +1 ms] E/flutter ( 7631): at io.flutter.embedding.engine.renderer.SurfaceTextureWrapper.updateTexImage(SurfaceTextureWrapper.java:55) [ +1 ms] E/flutter ( 7631): [ +1 ms] F/flutter ( 7631): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1322)] Check failed: fml::jni::CheckException(env). [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +2 ms] E/FrameEvents( 7631): updateAcquireFence: Did not find frame. [+1112 ms] W/Adreno-GSL( 7631): : ioctl fd 88 code 0xc0300945 (IOCTL_KGSL_GPUOBJ_ALLOC) failed: errno 12 Out of memory [ +1 ms] E/Adreno-GSL( 7631): : ERROR: kgsl_sharedmem_alloc() failed! Allocation size: (9280 KB); Flags: (0x100600) [ +272 ms] W/Adreno-GSL( 7631): : ioctl fd 88 code 0xc0300945 (IOCTL_KGSL_GPUOBJ_ALLOC) failed: errno 12 Out of memory [ +19 ms] E/Adreno-GSL( 7631): : ERROR: kgsl_sharedmem_alloc() failed! Allocation size: (9216 KB); Flags: (0x100600) [ +296 ms] W/Adreno-GSL( 7631): : ioctl fd 88 code 0xc0300945 (IOCTL_KGSL_GPUOBJ_ALLOC) failed: errno 12 Out of memory [ +1 ms] E/Adreno-GSL( 7631): : ERROR: kgsl_sharedmem_alloc() failed! Allocation size: (9280 KB); Flags: (0x100600) [ +232 ms] W/Adreno-GSL( 7631): : ioctl fd 88 code 0xc0300945 (IOCTL_KGSL_GPUOBJ_ALLOC) failed: errno 12 Out of memory [ +31 ms] E/Adreno-GSL( 7631): : ERROR: kgsl_sharedmem_alloc() failed! Allocation size: (9280 KB); Flags: (0x100600) [ +112 ms] W/Adreno-GSL( 7631): : ioctl fd 88 code 0xc0300945 (IOCTL_KGSL_GPUOBJ_ALLOC) failed: errno 12 Out of memory [ +1 ms] E/Adreno-GSL( 7631): : ERROR: kgsl_sharedmem_alloc() failed! Allocation size: (9280 KB); Flags: (0x100600) [ +1 ms] W/Adreno-GSL( 7631): : ioctl fd 88 code 0xc0300945 (IOCTL_KGSL_GPUOBJ_ALLOC) failed: errno 12 Out of memory [ +1 ms] E/Adreno-GSL( 7631): : ERROR: kgsl_sharedmem_alloc() failed! Allocation size: (9280 KB); Flags: (0x100600) [ +401 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +4 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] width:1088, height:296320, format:1, tile_enabled:1 [ +1 ms] E/qdgralloc( 7631): [AlignUnCompressedRGB] aligned_w:1088, aligned_h:296320 [ +78 ms] F/libc ( 7631): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 7690 (1.raster), pid 7631 (com.example.bug) [ +335 ms] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** [ +12 ms] Build fingerprint: 'Xiaomi/renoir_eea/renoir:11/RKQ1.201112.002/V12.5.6.0.RKIEUXM:user/release-keys' [ +13 ms] Revision: '0' [ +8 ms] ABI: 'arm64' [ +10 ms] Timestamp: 2022-06-17 11:07:40+0200 [ +3 ms] pid: 7631, tid: 7690, name: 1.raster >>> com.example.bug <<< [ +2 ms] uid: 10280 [ +2 ms] signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- [ +2 ms] Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1322)] Check failed: fml::jni::CheckException(env). [ +4 ms] ' [ +2 ms] x0 0000000000000000 x1 0000000000001e0a x2 0000000000000006 x3 00000070e532dee0 [ +1 ms] x4 fefeff091f2d2875 x5 fefeff091f2d2875 x6 fefeff091f2d2875 x7 7f7f7f7f7f7f7f7f [ +3 ms] x8 00000000000000f0 x9 350b68d173ea1b69 x10 0000000000000000 x11 ffffffc0fffffbdf [ +2 ms] x12 0000000000000001 x13 000000000000007e x14 0039f4ac2d9a74bf x15 0000000034155555 [ +1 ms] x16 00000071dc9b9948 x17 00000071dc998350 x18 00000070e3104000 x19 0000000000001dcf [ +1 ms] x20 0000000000001e0a x21 00000000ffffffff x22 b4000070b688e298 x23 b400007147249da8 [ +1 ms] x24 b400007139b0ae00 x25 0000000000000000 x26 0000000000000001 x27 0000000000000001 [ +1 ms] x28 000000000000004e x29 00000070e532df60 [ +1 ms] lr 00000071dc94ba60 sp 00000070e532dec0 pc 00000071dc94ba8c pst 0000000000001000 [ +1 ms] backtrace: [ +1 ms] #00 pc 0000000000089a8c /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 5f57d25b37c043ed36c0e4147dcc8b3f) [ +2 ms] #01 pc 000000000156f94c /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #02 pc 0000000001594534 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #03 pc 000000000157b3d0 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #04 pc 00000000015710dc /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #05 pc 0000000001570f2c /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +6 ms] #06 pc 00000000018a5188 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #07 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +9 ms] #08 pc 00000000018a0274 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +4 ms] #09 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #10 pc 00000000018a54e4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #11 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +1 ms] #12 pc 00000000018a0274 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #13 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #14 pc 00000000018a54e4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #15 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #16 pc 00000000018a54e4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #17 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #18 pc 00000000018a54e4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #19 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #20 pc 00000000018a4188 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #21 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #22 pc 00000000018a54e4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #23 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #24 pc 00000000018a54e4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #25 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #26 pc 00000000018a54e4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #27 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #28 pc 00000000018a54e4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #29 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #30 pc 00000000018a54e4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +8 ms] #31 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +3 ms] #32 pc 00000000018a54e4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #33 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #34 pc 00000000018a54e4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +1 ms] #35 pc 00000000018a0f90 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #36 pc 00000000018a2f74 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #37 pc 000000000189d810 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #38 pc 00000000018bd2b4 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #39 pc 00000000018bbfd8 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +1 ms] #40 pc 00000000018bbf18 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #41 pc 00000000018c8964 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #42 pc 0000000001595230 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #43 pc 000000000159aad8 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #44 pc 0000000000019da8 /system/lib64/libutils.so (android::Looper::pollInner(int)+916) (BuildId: 4e69b93bf70ed592f0029dbd1097529e) [ +1 ms] #45 pc 00000000000199ac /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112) (BuildId: 4e69b93bf70ed592f0029dbd1097529e) [ +2 ms] #46 pc 0000000000012c74 /system/lib64/libandroid.so (ALooper_pollOnce+100) (BuildId: 2c973ef7470d427d0a85a55a63aba5c4) [ +1 ms] #47 pc 000000000159aa60 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #48 pc 0000000001595178 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #49 pc 0000000001599070 /data/app/~~C-vIBlualUKgmYDjfAr8tA==/com.example.bug-TuyKImJKKQYwGS7xQSQRXg==/lib/arm64/libflutter.so (BuildId: a9b44a2029231a83f70ef8d344c58de0342d2f81) [ +2 ms] #50 pc 00000000000eb828 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 5f57d25b37c043ed36c0e4147dcc8b3f) [ +1 ms] #51 pc 000000000008ba48 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 5f57d25b37c043ed36c0e4147dcc8b3f) [+7225 ms] Service protocol connection closed. [ +2 ms] Lost connection to device. [ +7 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bug%20_in_app_webviewBLPTEK/bug%20_in_app_webview/) [ +268 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed [ +12 ms] "flutter run" took 66.406ms. [ +138 ms] ensureAnalyticsSent: 114ms [ +2 ms] Running shutdown hooks [ +1 ms] Shutdown hooks complete [ +1 ms] exiting with code 0 ``` ``` flutter doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.0.2, on Microsoft Windows [Version 10.0.22000.708], locale de-DE) [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.5) [√] Android Studio (version 2021.2) [√] VS Code (version 1.68.0) [√] Connected device (4 available) [√] HTTP Host Availability • No issues found! ```
github-actions[bot] commented 2 years ago

👋 @robert-virkus

NOTE: This comment is auto-generated.

Are you sure you have already searched for the same problem?

Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!

If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.

In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE] or ios WKWebView [MY ERROR HERE] keywords.

Following these steps can save you, me, and other people a lot of time, thanks!

frankteller-de commented 2 years ago

I think this is an global Android problem with any kind of webviews.

WuShengXi commented 2 years ago

I have the same problem

huangsir0 commented 2 years ago

I have the same problem, any update?

onlyYU commented 2 years ago

I have the same problem

ItdaTeam commented 2 years ago

me too is any updated?

rmi111 commented 1 year ago

Facing same issue.

dian00 commented 1 year ago

I have the same problem

github-actions[bot] commented 4 weeks ago

This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.

github-actions[bot] commented 2 weeks ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.