Repository: flutter
Issue: Broken or Corrupted image caused runtime error
Labels: c: crash,platform-android,framework,a: images,has reproducible steps,P2,found in release: 3.7,found in release: 3.11,team-android,triaged-android

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

Broken or corrupted image when loaded using NetworkImage cause fatal crash on runtime. No exception thrown, just a fatal crash.

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. Create a simple flutter project
2. Copy Sample code to main App
3. Run the flutter app.

Alternatively, you can fork this repo to reproduce the issue.
https://github.com/Dararii/dummy_test

**Expected results:** <!-- what did you want to see? -->
- errorBuilder called. So the app can show an error widget.

**Actual results:** <!-- what did you see? -->
- Fatal crash: No exception thrown.

<details>
<summary>Code sample</summary>

<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```

Image(
  image: const NetworkImage(
    "https://firebasestorage.googleapis.com/v0/b/bubu-app-5f8fa.appspot.com/o/pets%2FitKityUdP7XvyniAnrRi%2Fmedia%2Fimages%2Fprofile%2Fprofile_itKityUdP7XvyniAnrRi_1000x1000.heic?alt=media&token=771da578-1bd2-46eb-9f3e-7b000691d0ae",
  ),
  fit: BoxFit.cover,
  errorBuilder: (BuildContext context, Object exception,
      StackTrace? stackTrace) {
    return const Icon(Icons.image_not_supported_outlined);
  },
)

```

</details>

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

```
[  +38 ms] executing: sysctl hw.optional.arm64
[   +8 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[   +2 ms] executing: [/Users/dararii/Dev/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +14 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] executing: [/Users/dararii/Dev/flutter/] git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[  +36 ms] Exit code 0 from: git tag --points-at fb57da5f945d02ef4f98dfd9409a72b7cce74268
[        ] 3.0.1
[   +3 ms] executing: [/Users/dararii/Dev/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/dararii/Dev/flutter/] git ls-remote --get-url origin
[   +6 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +41 ms] executing: [/Users/dararii/Dev/flutter/] git rev-parse --abbrev-ref HEAD
[   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +2 ms] executing: sw_vers -productName
[   +9 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +12 ms] Exit code 0 from: sw_vers -productVersion
[        ] 12.4
[        ] executing: sw_vers -buildVersion
[   +8 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 21F79
[        ] executing: uname -m
[   +3 ms] Exit code 0 from: uname -m
[        ] arm64
[  +25 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] 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.
[  +41 ms] executing: /Users/dararii/Library/Android/sdk/platform-tools/adb devices -l
[   +9 ms] executing: sysctl hw.optional.arm64
[   +3 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ +652 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[        ] Xcode 13.4.1
           Build version 13F100
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 2
[   +1 ms] /usr/bin/arch -arm64e xcrun simctl list --json devices
[        ] executing: /usr/bin/arch -arm64e xcrun simctl list --json devices
[   +1 ms] executing: /usr/bin/arch -arm64e xcrun simctl list
[  +29 ms] executing: /usr/bin/arch -arm64e xcrun xcdevice list --timeout 2
[        ] /usr/bin/arch -arm64e xcrun simctl list --json devices
[        ] executing: /usr/bin/arch -arm64e xcrun simctl list --json devices
[  +55 ms] Skipping pub get: version match.
[  +47 ms] Generating /Users/dararii/Studio Projects/dummy_test/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +35 ms] ro.hardware = ranchu
[  +29 ms] Initializing file store
[   +5 ms] Skipping target: gen_localizations
[   +1 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /Users/dararii/Studio Projects/dummy_test/.dart_tool/package_config_subset}
[   +9 ms] gen_dart_plugin_registrant: Complete
[        ] Skipping target: _composite
[        ] complete
[   +3 ms] Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
[   +2 ms] /Users/dararii/Dev/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/dararii/Dev/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root /Users/dararii/Dev/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -Dflutter.inspector.structuredErrors=true -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /var/folders/kz/8xb0b18j2cg3m34x300l643h0000gn/T/flutter_tools.7KfNIO/flutter_tool.lsTIGw/app.dill --packages /Users/dararii/Studio Projects/dummy_test/.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/4f2a58af27abc49ecf55570043bbf938.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[   +3 ms] executing: /Users/dararii/Library/Android/sdk/build-tools/32.0.0/aapt dump xmltree /Users/dararii/Studio Projects/dummy_test/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[ +110 ms] Exit code 0 from: /Users/dararii/Library/Android/sdk/build-tools/32.0.0/aapt dump xmltree /Users/dararii/Studio Projects/dummy_test/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
           objc[6917]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x2039db640) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x101b8c2c8). One of the two will be used. Which one is undefined.
           objc[6917]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x2039db690) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x101b8c318). One of the two will be used. Which one is undefined.
           objc[6917]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x2039db458) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x101b8c4f8). One of the two will be used. Which one is undefined.
           objc[6917]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x2039db4a8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x101b8c548). One of the two will be used. Which one is undefined.
           objc[6917]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x2039db4f8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x101b8c598). One of the two will be used. Which one is undefined.
           objc[6917]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x2039db548) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x101b8c5e8). One of the two will be used. Which one is undefined.
           objc[6917]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x2039db598) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x101b8c638). One of the two will be used. Which one is undefined.
           objc[6917]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x2039db5e8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x101b8c688). One of the two will be used. Which one is undefined.
           2022-06-08 18:40:21.047 xcdevice[6917:822843] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
           2022-06-08 18:40:21.048 xcdevice[6917:822843] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
[ +370 ms] calculateSha: LocalDirectory: '/Users/dararii/Studio Projects/dummy_test/build/app/outputs/flutter-apk'/app.apk
[ +463 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +2 ms] executing: /Users/dararii/Library/Android/sdk/build-tools/32.0.0/aapt dump xmltree /Users/dararii/Studio Projects/dummy_test/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +46 ms] Exit code 0 from: /Users/dararii/Library/Android/sdk/build-tools/32.0.0/aapt dump xmltree /Users/dararii/Studio Projects/dummy_test/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] 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.essensift.test_app.dummy_test" (Raw: "com.essensift.test_app.dummy_test")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=17)
                 A: android:label(0x01010001)="dummy_test" (Raw: "dummy_test")
                 A: android:icon(0x01010002)=@0x7f080000
                 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=23)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.essensift.test_app.dummy_test.MainActivity" (Raw: "com.essensift.test_app.dummy_test.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=38)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=42)
                     E: action (line=43)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=45)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=52)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=56)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=59)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +1 ms] Stopping app 'app.apk' on sdk gphone64 arm64.
[        ] executing: /Users/dararii/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.essensift.test_app.dummy_test
[ +105 ms] executing: /Users/dararii/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.essensift.test_app.dummy_test
[  +50 ms] package:com.essensift.test_app.dummy_test
[        ] executing: /Users/dararii/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.essensift.test_app.dummy_test.sha1
[  +23 ms] 1e475c8e60e40a3c1c2c400371e43a11f23a4837
[        ] Latest build already installed.
[        ] executing: /Users/dararii/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +41 ms] --------- beginning of main
           06-08 18:40:21.503 D/CarrierSvcBindHelper(  869): No carrier app for: 0
[   +6 ms] executing: /Users/dararii/Library/Android/sdk/platform-tools/adb -s emulator-5554 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 --ez start-paused true com.essensift.test_app.dummy_test/com.essensift.test_app.dummy_test.MainActivity
[ +101 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.essensift.test_app.dummy_test/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +800 ms] Observatory URL on device: http://127.0.0.1:37743/eGih3fguVLM=/
[        ] executing: /Users/dararii/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:37743
[  +17 ms] 58935
[        ] Forwarded host port 58935 to device port 37743 for Observatory
[   +4 ms] Caching compiled dill
[  +61 ms] Connecting to service protocol: http://127.0.0.1:58935/eGih3fguVLM=/
[ +141 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:58935/eGih3fguVLM=/.
[ +174 ms] DDS is listening at http://127.0.0.1:58938/9MUVOcCdptg=/.
[  +32 ms] Successfully connected to service protocol: http://127.0.0.1:58935/eGih3fguVLM=/
[  +38 ms] DevFS: Creating new filesystem on the device (null)
[  +12 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.essensift.test_app.dummy_test/code_cache/dummy_testSSSCPW/dummy_test/)
[   +1 ms] Updating assets
Debug service listening on ws://127.0.0.1:58938/9MUVOcCdptg=/ws
Syncing files to device sdk gphone64 arm64...
[  +59 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[        ] <- recompile package:dummy_test/main.dart 13053f18-4aec-4829-ac1a-aad21468e3ca
[        ] <- 13053f18-4aec-4829-ac1a-aad21468e3ca
[   +1 ms] Bundle processing done.
[ +138 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Synced 0.0MB.
[   +3 ms] <- accept
[   +5 ms] Connected to _flutterView/0xb400006fd2038ec0.
[+2083 ms] E/HeifDecoderImpl(22400): decode: videoFrame is a nullptr
[        ] E/FlutterJNI(22400): Failed to decode image
[        ] E/FlutterJNI(22400): java.io.IOException: getPixels failed with error invalid input
[        ] E/FlutterJNI(22400): 	at android.graphics.ImageDecoder.nDecodeBitmap(Native Method)
[        ] E/FlutterJNI(22400): 	at android.graphics.ImageDecoder.decodeBitmapInternal(ImageDecoder.java:1720)
[        ] E/FlutterJNI(22400): 	at android.graphics.ImageDecoder.decodeBitmapImpl(ImageDecoder.java:1877)
[        ] E/FlutterJNI(22400): 	at android.graphics.ImageDecoder.decodeBitmap(ImageDecoder.java:1863)
[        ] E/FlutterJNI(22400): 	at io.flutter.embedding.engine.FlutterJNI.decodeImage(FlutterJNI.java:524)
[        ] F/libc    (22400): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x18 in tid 22435 (io.worker.4), pid 22400 (_app.dummy_test)
[ +360 ms] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
[        ] Build fingerprint: 'google/sdk_gphone64_arm64/emulator64_arm64:12/S2B2.211203.006/8015633:user/release-keys'
[        ] Revision: '0'
[        ] ABI: 'arm64'
[        ] Timestamp: 2022-06-08 18:40:25.362971441+0700
[        ] Process uptime: 0s
[        ] Cmdline: com.essensift.test_app.dummy_test
[        ] pid: 22400, tid: 22435, name: io.worker.4  >>> com.essensift.test_app.dummy_test <<<
[        ] uid: 10152
[        ] tagged_addr_ctrl: 0000000000000001
[        ] signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x18
[        ] Cause: null pointer dereference
[        ]     x0  b400006e0ea9a320  x1  0000000000000089  x2  0000000000000000  x3  0000000000000000
[        ]     x4  0000000000000000  x5  00000000ffffffff  x6  00000000ffffffff  x7  0000006e299d47c0
[        ]     x8  0000000000000000  x9  0000000000000002  x10 0000000000000001  x11 0000000000000000
[        ]     x12 0000ffff00000eff  x13 00000000cca70440  x14 00000000001ec13a  x15 00000146ffc1e7f7
[        ]     x16 0000006e29de8ec0  x17 000000713ee47ad8  x18 0000006e21d34000  x19 b400006e0ea9a320
[        ]     x20 b400006f52035ed0  x21 0000006e2ef10668  x22 00000000000003e8  x23 0000000000000233
[        ]     x24 0000006e28229c71  x25 b400006ed20391c0  x26 0000000000000001  x27 0000000000000055
[        ]     x28 b400006ed20391c0  x29 0000000000000000
[        ]     lr  0000006e299d8c08  sp  0000006e2ef10630  pc  0000006e299d8c4c  pst 0000000060001000
[        ] backtrace:
[        ]       #00 pc 0000000001995c4c  /data/app/~~Tzb7JbB4F41t3i5OEQR9Ww==/com.essensift.test_app.dummy_test-d6qipWrPxSwVoK7agZAYBw==/lib/arm64/libflutter.so (BuildId: 1a0a352c6b73760081fffa780cfe1e18e75259c2)
[        ]       #01 pc 000000000195832c  /data/app/~~Tzb7JbB4F41t3i5OEQR9Ww==/com.essensift.test_app.dummy_test-d6qipWrPxSwVoK7agZAYBw==/lib/arm64/libflutter.so (BuildId: 1a0a352c6b73760081fffa780cfe1e18e75259c2)
[        ]       #02 pc 0000000001953818  /data/app/~~Tzb7JbB4F41t3i5OEQR9Ww==/com.essensift.test_app.dummy_test-d6qipWrPxSwVoK7agZAYBw==/lib/arm64/libflutter.so (BuildId: 1a0a352c6b73760081fffa780cfe1e18e75259c2)
[        ]       #03 pc 000000000195428c  /data/app/~~Tzb7JbB4F41t3i5OEQR9Ww==/com.essensift.test_app.dummy_test-d6qipWrPxSwVoK7agZAYBw==/lib/arm64/libflutter.so (BuildId: 1a0a352c6b73760081fffa780cfe1e18e75259c2)
[        ]       #04 pc 0000000001591a5c  /data/app/~~Tzb7JbB4F41t3i5OEQR9Ww==/com.essensift.test_app.dummy_test-d6qipWrPxSwVoK7agZAYBw==/lib/arm64/libflutter.so (BuildId: 1a0a352c6b73760081fffa780cfe1e18e75259c2)
[        ]       #05 pc 0000000001592190  /data/app/~~Tzb7JbB4F41t3i5OEQR9Ww==/com.essensift.test_app.dummy_test-d6qipWrPxSwVoK7agZAYBw==/lib/arm64/libflutter.so (BuildId: 1a0a352c6b73760081fffa780cfe1e18e75259c2)
[        ]       #06 pc 00000000000b1810  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: b2e84269f59e7b1658e3a470fd302458)
[        ]       #07 pc 00000000000512f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: b2e84269f59e7b1658e3a470fd302458)
[  +59 ms] Service protocol connection closed.
[        ] Lost connection to device.
[   +2 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.essensift.test_app.dummy_test/code_cache/dummy_testSSSCPW/dummy_test/)
[  +19 ms] executing: /Users/dararii/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.essensift.test_app.dummy_test
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.4 21F79 darwin-arm, locale
    en-ID)
    • Flutter version 3.0.1 at /Users/dararii/Dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (3 weeks ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/dararii/Library/Android/sdk
    • Platform android-32, build-tools 32.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Microsoft
      Edge.app/Contents/MacOS/Microsoft Edge

[✓] Android Studio (version 2021.2)
    • 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.12+0-b1504.28-7817840)

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 12
      (API 32) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 12.4
      21F79 darwin-arm
    • Chrome (web)                • chrome        • web-javascript • Microsoft
      Edge 102.0.1245.33

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```

</details>


<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
-->