Skip to content

[Bug] App Crashes after adopting Hybrid Composition #63897

@aaron-chu

Description

@aaron-chu

In my current developing project, we use the flutter_inappwebview to show partners' website inside the app. Recently, we modify the flutter_inappwebview to make it support hybrid composition. However, the app becomes easily crashes after doing certain operations. After investigating, I found a way to reproduce this crash by 100%.

I create a simple project to reproduce this crash, this project simply provides a Click Me Button. When pressing the Click Me button, a page route is pushed with a Stack composed of a custom TextPlatformView widget and a CircularProgressIndicator widget. The detailed reproduced steps are written in the Steps to Reproduce section below.

Note: The TextPlatformView.dart widget is created by following Hybrid-Composition, it has a corresponding TextPlatformView.java native TextView in the platform side.

TextPlatformView.java

class TextPlatformView implements PlatformView {
    @NonNull private final TextView textView;

    TextPlatformView(@NonNull Context context, int id, @Nullable Map<String, Object> creationParams) {
        textView = new TextView(context);
        textView.setTextSize(72);
        textView.setBackgroundColor(Color.rgb(255, 255, 255));
        textView.setText("Rendered on a native Android view (id: " + id + ")");
    }

    @NonNull
    @Override
    public View getView() {
        return textView;
    }

    @Override
    public void dispose() {}
}

TextPlatformViewFactory.java

class TextPlatformViewFactory extends PlatformViewFactory {
    TextPlatformViewFactory() {
        super(StandardMessageCodec.INSTANCE);
    }

    @NonNull
    @Override
    public PlatformView create(@NonNull Context context, int id, @Nullable Object args) {
        final Map<String, Object> creationParams = (Map<String, Object>) args;
        return new TextPlatformView(context, id, creationParams);
    }
}

MainActivity.kt

class MainActivity : FlutterActivity() {
    override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
        flutterEngine
                .platformViewsController
                .registry
                .registerViewFactory("hybrid-view-type", TextPlatformViewFactory())
    }
}

TextPlatformView.dart

class TextPlatformView extends StatelessWidget {
  Widget build(BuildContext context) {
    // This is used in the platform side to register the view.
    final String viewType = 'hybrid-view-type';
    // Pass parameters to the platform side.
    final Map<String, dynamic> creationParams = <String, dynamic>{};

    return PlatformViewLink(
      viewType: viewType,
      surfaceFactory: (BuildContext context, PlatformViewController controller) {
        return AndroidViewSurface(
          controller: controller,
          gestureRecognizers: const <Factory<OneSequenceGestureRecognizer>>{},
          hitTestBehavior: PlatformViewHitTestBehavior.opaque,
        );
      },
      onCreatePlatformView: (PlatformViewCreationParams params) {
        return PlatformViewsService.initSurfaceAndroidView(
          id: params.id,
          viewType: viewType,
          layoutDirection: TextDirection.ltr,
          creationParams: creationParams,
          creationParamsCodec: StandardMessageCodec(),
        )
          ..addOnPlatformViewCreatedListener(params.onPlatformViewCreated)
          ..create();
      },
    );
  }
}

MyApp Widget

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Hybrid Composition Crash Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(title: 'Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: FlatButton(
          color: Colors.red,
          child: Text('Click Me'),
          onPressed: _launchHybridCompositionViewPage,
        ),
      ),
    );
  }

  void _launchHybridCompositionViewPage() {
    final body = Stack(
      fit: StackFit.expand,
      children: [
        TextPlatformView(),
        Center(child: CircularProgressIndicator()),
      ],
    );
    Navigator.of(context).push(MaterialPageRoute(builder: (context) => Scaffold(body: body)));
  }
}

Steps to Reproduce

  1. Run the provided sample project https://github.com/aaron-chu/hybrid-compositon-crash-demo.
  2. Press the Click Me button in the center.
  3. Press the home button to go to the Launcher.
  4. Press the Recent App button to go back to the app.
  5. Press the back key button to close the opened page.
  6. Repeat steps 2-5.
  7. App crashes.

Expected results:
App doesn't crash

Actual results:
App crashes

Logs

Crash Error Log

W/ImageReader_JNI(11461): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI(11461): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI(11461): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI(11461): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W/ImageReader_JNI(11461): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
E/flutter (11461): [ERROR:flutter/shell/platform/android/platform_view_android_jni_impl.cc(43)] java.lang.IllegalStateException: maxImages (3) has already been acquired, call #close before acquiring more.
E/flutter (11461): 	at android.media.ImageReader.acquireNextImage(ImageReader.java:502)
E/flutter (11461): 	at android.media.ImageReader.acquireLatestImage(ImageReader.java:386)
E/flutter (11461): 	at io.flutter.embedding.android.FlutterImageView.acquireLatestImage(FlutterImageView.java:186)
E/flutter (11461): 	at io.flutter.embedding.android.FlutterView.acquireLatestImageViewFrame(FlutterView.java:1039)
E/flutter (11461): 	at io.flutter.plugin.platform.PlatformViewsController.onEndFrame(PlatformViewsController.java:780)
E/flutter (11461): 	at io.flutter.embedding.engine.FlutterJNI.onEndFrame(FlutterJNI.java:856)
E/flutter (11461): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (11461): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/flutter (11461): 	at android.os.Looper.loop(Looper.java:166)
E/flutter (11461): 	at android.app.ActivityThread.main(ActivityThread.java:7124)
E/flutter (11461): 	at java.lang.reflect.Method.invoke(Native Method)
E/flutter (11461): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/flutter (11461): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:898)
E/flutter (11461): 
F/flutter (11461): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1241)] Check failed: CheckException(env). 
F/libc    (11461): Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 11461 (tion_crash_demo), pid 11461 (tion_crash_demo)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'htc/ocndugl_00709/htc_ocndugl:9/PQ2A.190205.003/1098205.2:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 11461, tid: 11461, name: tion_crash_demo  >>> com.example.hybrid_composition_crash_demo <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1241)] Check failed: CheckException(env). 
'
    x0  0000000000000000  x1  0000000000002cc5  x2  0000000000000006  x3  0000000000000008
    x4  0000800000000000  x5  0000800000000000  x6  0000800000000000  x7  0000000000800000
    x8  0000000000000083  x9  1e938e09ec2e473f  x10 0000000000000000  x11 fffffffc7ffffbdf
    x12 0000000000000001  x13 0000000000000028  x14 ffffffffffffffff  x15 00009f4621145061
    x16 000000741d46f2a0  x17 000000741d3ad1d8  x18 0000000000000001  x19 0000000000002cc5
    x20 0000000000002cc5  x21 0000007fe987f978  x22 0000000000000000  x23 000000737580fd18
    x24 000000000000002c  x25 0000007fe987fcb8  x26 0000000000000000  x27 0000000000000001
    x28 000000000000002c  x29 0000007fe987f960
    sp  0000007fe987f920  lr  000000741d3a1d04  pc  000000741d3a1d2c
backtrace:
    #00 pc 0000000000021d2c  /system/lib64/libc.so (abort+116)
    #01 pc 00000000012594fc  /data/app/com.example.hybrid_composition_crash_demo-IcFYK7I9Ab8LU6XilT75GA==/lib/arm64/libflutter.so (offset 0x1240000)
    #02 pc 000000000000271c  [anon:.bss:000000737fdad000]
Lost connection to device.

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.

[ +116 ms] executing: [/Users/aaronchu/FlutterSdk/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +39 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 2ae34518b87dd891355ed6c6ea8cb68c4d52bb9d
[        ] executing: [/Users/aaronchu/FlutterSdk/] git tag --contains HEAD
[ +167 ms] Exit code 0 from: git tag --contains HEAD
[        ] 1.20.1
[   +7 ms] executing: [/Users/aaronchu/FlutterSdk/] git rev-parse --abbrev-ref --symbolic @{u}
[   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/aaronchu/FlutterSdk/] git ls-remote --get-url origin
[   +8 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +45 ms] executing: [/Users/aaronchu/FlutterSdk/] git rev-parse --abbrev-ref HEAD
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +4 ms] executing: sw_vers -productName
[  +11 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +11 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.6
[        ] executing: sw_vers -buildVersion
[  +11 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19G73
[  +33 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] 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 '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.
[  +16 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb devices -l
[   +5 ms] executing: /usr/bin/xcode-select --print-path
[   +5 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[        ] executing: /usr/bin/xcodebuild -version
[ +140 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[        ] Xcode 11.6
           Build version 11E708
[   +2 ms] executing: xcrun --find xcdevice
[   +6 ms] Exit code 0 from: xcrun --find xcdevice
[        ] /Applications/Xcode.app/Contents/Developer/usr/bin/xcdevice
[        ] executing: xcrun xcdevice list --timeout 2
[   +3 ms] /usr/bin/xcrun simctl list --json devices
[        ] executing: /usr/bin/xcrun simctl list --json devices
[  +34 ms] List of devices attached
           FA7AD1800367           device usb:340787200X product:ocndugl_00709 model:HTC_U_3u device:htc_ocndugl transport_id:2
[  +56 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.tvOS-13-4" : [
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/606AB169-B130-4447-BDB7-6E6CC97CD9BE\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/606AB169-B130-4447-BDB7-6E6CC97CD9BE",
                   "udid" : "606AB169-B130-4447-BDB7-6E6CC97CD9BE",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p",
                   "state" : "Shutdown",
                   "name" : "Apple TV"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/2ADE8750-2904-45AC-8357-D801133BA44C\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/2ADE8750-2904-45AC-8357-D801133BA44C",
                   "udid" : "2ADE8750-2904-45AC-8357-D801133BA44C",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K",
                   "state" : "Shutdown",
                   "name" : "Apple TV 4K"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/C1FA78BE-0A56-4325-A653-C5C3A9C8D646\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/C1FA78BE-0A56-4325-A653-C5C3A9C8D646",
                   "udid" : "C1FA78BE-0A56-4325-A653-C5C3A9C8D646",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p",
                   "state" : "Shutdown",
                   "name" : "Apple TV 4K (at 1080p)"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.watchOS-6-2" : [
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/8FE2B044-F751-4359-9B7C-1B7806662ABE\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/8FE2B044-F751-4359-9B7C-1B7806662ABE",
                   "udid" : "8FE2B044-F751-4359-9B7C-1B7806662ABE",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 4 - 40mm"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/A8D75678-27CF-4934-9873-FC599C81A311\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/A8D75678-27CF-4934-9873-FC599C81A311",
                   "udid" : "A8D75678-27CF-4934-9873-FC599C81A311",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 4 - 44mm"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/07281AF4-F228-46DB-BB5F-13AC7F23252E\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/07281AF4-F228-46DB-BB5F-13AC7F23252E",
                   "udid" : "07281AF4-F228-46DB-BB5F-13AC7F23252E",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 40mm"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/1D88C6F5-5D93-4496-934D-DD2DA8E14EF4\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/1D88C6F5-5D93-4496-934D-DD2DA8E14EF4",
                   "udid" : "1D88C6F5-5D93-4496-934D-DD2DA8E14EF4",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm",
                   "state" : "Shutdown",
                   "name" : "Apple Watch Series 5 - 44mm"
                 }
               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-13-6" : [
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/E2952F97-6BE0-4F6C-B56A-5B5E838F675B\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/E2952F97-6BE0-4F6C-B56A-5B5E838F675B",
                   "udid" : "E2952F97-6BE0-4F6C-B56A-5B5E838F675B",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8",
                   "state" : "Shutdown",
                   "name" : "iPhone 8"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/93EE3A04-CEE8-4269-B019-B23D2237E601\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/93EE3A04-CEE8-4269-B019-B23D2237E601",
                   "udid" : "93EE3A04-CEE8-4269-B019-B23D2237E601",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus",
                   "state" : "Shutdown",
                   "name" : "iPhone 8 Plus"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/343F3DDE-079F-4F76-B68B-456DA7536E3E\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/343F3DDE-079F-4F76-B68B-456DA7536E3E",
                   "udid" : "343F3DDE-079F-4F76-B68B-456DA7536E3E",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11",
                   "state" : "Shutdown",
                   "name" : "iPhone 11"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/F3474501-D672-453F-997B-6BBAB696E38D\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/F3474501-D672-453F-997B-6BBAB696E38D",
                   "udid" : "F3474501-D672-453F-997B-6BBAB696E38D",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/A75E76CB-A002-4724-9AAE-2489CFE89ECC\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/A75E76CB-A002-4724-9AAE-2489CFE89ECC",
                   "udid" : "A75E76CB-A002-4724-9AAE-2489CFE89ECC",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 11 Pro Max"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/E4250F02-CFD9-4239-BD84-D816CDB6B0A7\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/E4250F02-CFD9-4239-BD84-D816CDB6B0A7",
                   "udid" : "E4250F02-CFD9-4239-BD84-D816CDB6B0A7",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPhone SE (2nd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/46FFE895-AF25-4BBD-9238-4EA464AFEB57\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/46FFE895-AF25-4BBD-9238-4EA464AFEB57",
                   "udid" : "46FFE895-AF25-4BBD-9238-4EA464AFEB57",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (9.7-inch)"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/BA7E0EFD-5613-4BC2-80DE-41EA0B0102E3\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/BA7E0EFD-5613-4BC2-80DE-41EA0B0102E3",
                   "udid" : "BA7E0EFD-5613-4BC2-80DE-41EA0B0102E3",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad (7th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/269D0AAD-68B7-442D-B50D-884D3D9754C6\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/269D0AAD-68B7-442D-B50D-884D3D9754C6",
                   "udid" : "269D0AAD-68B7-442D-B50D-884D3D9754C6",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (11-inch) (2nd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/87120167-AD31-4180-B434-7487705B53FB\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/87120167-AD31-4180-B434-7487705B53FB",
                   "udid" : "87120167-AD31-4180-B434-7487705B53FB",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (12.9-inch) (4th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/aaronchu\/Library\/Developer\/CoreSimulator\/Devices\/B0612746-CA21-45D1-9D38-67ED01D1F530\/data",
                   "logPath" : "\/Users\/aaronchu\/Library\/Logs\/CoreSimulator\/B0612746-CA21-45D1-9D38-67ED01D1F530",
                   "udid" : "B0612746-CA21-45D1-9D38-67ED01D1F530",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-",
                   "state" : "Shutdown",
                   "name" : "iPad Air (3rd generation)"
                 }
               ]
             }
           }
[+2519 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.6 (17G64)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,5",
               "identifier" : "A75E76CB-A002-4724-9AAE-2489CFE89ECC",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-11-pro-max-1",
               "modelName" : "iPhone 11 Pro Max",
               "name" : "iPhone 11 Pro Max"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.6 (17G64)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,1",
               "identifier" : "343F3DDE-079F-4F76-B68B-456DA7536E3E",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-11-1",
               "modelName" : "iPhone 11",
               "name" : "iPhone 11"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "6.2.1 (17T531)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch4,4",
               "identifier" : "A8D75678-27CF-4934-9873-FC599C81A311",
               "architecture" : "i386",
               "modelUTI" : "com.apple.watch-series4-1",
               "modelName" : "Apple Watch Series 4 - 44mm",
               "name" : "Apple Watch Series 4 - 44mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.6 (17G64)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone10,5",
               "identifier" : "93EE3A04-CEE8-4269-B019-B23D2237E601",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-8-plus-2",
               "modelName" : "iPhone 8 Plus",
               "name" : "iPhone 8 Plus"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.6 (17G64)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone10,4",
               "identifier" : "E2952F97-6BE0-4F6C-B56A-5B5E838F675B",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-8-2",
               "modelName" : "iPhone 8",
               "name" : "iPhone 8"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.6 (17G64)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad7,12",
               "identifier" : "BA7E0EFD-5613-4BC2-80DE-41EA0B0102E3",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-7-wwan-1",
               "modelName" : "iPad (7th generation)",
               "name" : "iPad (7th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "6.2.1 (17T531)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch5,4",
               "identifier" : "1D88C6F5-5D93-4496-934D-DD2DA8E14EF4",
               "architecture" : "i386",
               "modelUTI" : "com.apple.watch-series5-1",
               "modelName" : "Apple Watch Series 5 - 44mm",
               "name" : "Apple Watch Series 5 - 44mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "6.2.1 (17T531)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch5,3",
               "identifier" : "07281AF4-F228-46DB-BB5F-13AC7F23252E",
               "architecture" : "i386",
               "modelUTI" : "com.apple.watch-series5-1",
               "modelName" : "Apple Watch Series 5 - 40mm",
               "name" : "Apple Watch Series 5 - 40mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.6 (17G64)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,3",
               "identifier" : "F3474501-D672-453F-997B-6BBAB696E38D",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-11-pro-1",
               "modelName" : "iPhone 11 Pro",
               "name" : "iPhone 11 Pro"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.4 (17L255)",
               "available" : true,
               "platform" : "com.apple.platform.appletvsimulator",
               "modelCode" : "AppleTV5,3",
               "identifier" : "606AB169-B130-4447-BDB7-6E6CC97CD9BE",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.apple-tv-4",
               "modelName" : "Apple TV",
               "name" : "Apple TV"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.6 (17G64)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad11,3",
               "identifier" : "B0612746-CA21-45D1-9D38-67ED01D1F530",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-air3-wifi-1",
               "modelName" : "iPad Air (3rd generation)",
               "name" : "iPad Air (3rd generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.6 (17G64)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone12,8",
               "identifier" : "E4250F02-CFD9-4239-BD84-D816CDB6B0A7",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-se-1",
               "modelName" : "iPhone SE (2nd generation)",
               "name" : "iPhone SE (2nd generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.6 (17G64)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad8,9",
               "identifier" : "269D0AAD-68B7-442D-B50D-884D3D9754C6",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-pro-11-2nd-1",
               "modelName" : "iPad Pro (11-inch) (2nd generation)",
               "name" : "iPad Pro (11-inch) (2nd generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.6 (17G64)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad8,12",
               "identifier" : "87120167-AD31-4180-B434-7487705B53FB",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-pro-12point9-4th-1",
               "modelName" : "iPad Pro (12.9-inch) (4th generation)",
               "name" : "iPad Pro (12.9-inch) (4th generation)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.4 (17L255)",
               "available" : true,
               "platform" : "com.apple.platform.appletvsimulator",
               "modelCode" : "AppleTV6,2",
               "identifier" : "2ADE8750-2904-45AC-8357-D801133BA44C",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.apple-tv-4k",
               "modelName" : "Apple TV 4K",
               "name" : "Apple TV 4K"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.4 (17L255)",
               "available" : true,
               "platform" : "com.apple.platform.appletvsimulator",
               "modelCode" : "AppleTV6,2",
               "identifier" : "C1FA78BE-0A56-4325-A653-C5C3A9C8D646",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.apple-tv-4k",
               "modelName" : "Apple TV 4K (at 1080p)",
               "name" : "Apple TV 4K (at 1080p)"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "6.2.1 (17T531)",
               "available" : true,
               "platform" : "com.apple.platform.watchsimulator",
               "modelCode" : "Watch4,3",
               "identifier" : "8FE2B044-F751-4359-9B7C-1B7806662ABE",
               "architecture" : "i386",
               "modelUTI" : "com.apple.watch-series4-1",
               "modelName" : "Apple Watch Series 4 - 40mm",
               "name" : "Apple Watch Series 4 - 40mm"
             },
             {
               "simulator" : true,
               "operatingSystemVersion" : "13.6 (17G64)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPad6,4",
               "identifier" : "46FFE895-AF25-4BBD-9238-4EA464AFEB57",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.ipad-pro-9point7-a1674-b9b7ba",
               "modelName" : "iPad Pro (9.7-inch)",
               "name" : "iPad Pro (9.7-inch)"
             }
           ]
[   +4 ms] /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 shell getprop
[  +98 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +4 ms] 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.
[        ] Artifact Instance of 'WindowsEngineArtifacts' 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.
[ +181 ms] Generating /Users/aaronchu/Development/hybrid-compositon-crash-demo/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +22 ms] ro.hardware = htc_ocn
[        ] ro.build.characteristics = default
[  +56 ms] Starting incremental build...
[   +2 ms] Initializing file store
[   +9 ms] Skipping target: gen_localizations
[   +6 ms] complete
[   +4 ms] Launching lib/main.dart on HTC U 3u in debug mode...
[   +5 ms] /Users/aaronchu/FlutterSdk/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/aaronchu/FlutterSdk/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/aaronchu/FlutterSdk/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names -Ddart.developer.causal_async_stacks=true --output-dill /var/folders/88/sbg0q7bn1m54fwqydxm0z0bw0000gn/T/flutter_tools.5yBfQR/flutter_tool.gK3Uak/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[   +7 ms] executing: /Users/aaronchu/Library/Android/sdk/build-tools/30.0.1/aapt dump xmltree /Users/aaronchu/Development/hybrid-compositon-crash-demo/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +12 ms] Exit code 0 from: /Users/aaronchu/Library/Android/sdk/build-tools/30.0.1/aapt dump xmltree /Users/aaronchu/Development/hybrid-compositon-crash-demo/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)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.hybrid_composition_crash_demo" (Raw: "com.example.hybrid_composition_crash_demo")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="hybrid_composition_crash_demo" (Raw: "hybrid_composition_crash_demo")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.hybrid_composition_crash_demo.MainActivity" (Raw: "com.example.hybrid_composition_crash_demo.MainActivity")
                   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=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: meta-data (line=70)
                   A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview")
                   A: android:value(0x01010024)=(type 0x12)0xffffffff
[   +6 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 shell -x logcat -v time -t 1
[ +189 ms] Exit code 0 from: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           08-16 18:42:56.908 D/SDM     (  863): DisplayBase::BuildLayerStackStats: LayerStack layer_count: 4, app_layer_count: 3, gpu_target_index: 3, display type: 0
[   +1 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 shell -x logcat -v time -t 1
[ +162 ms] Exit code 0 from: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           08-16 18:42:56.908 D/SDM     (  863): DisplayBase::BuildLayerStackStats: LayerStack layer_count: 4, app_layer_count: 3, gpu_target_index: 3, display type: 0
[   +5 ms] <- compile package:hybrid_composition_crash_demo/main.dart
[  +14 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb version
[   +6 ms] Android Debug Bridge version 1.0.41
           Version 30.0.3-6597393
           Installed as /Users/aaronchu/Library/Android/sdk/platform-tools/adb
[   +2 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb start-server
[   +6 ms] Building APK
[  +20 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +2 ms] Using gradle from /Users/aaronchu/Development/hybrid-compositon-crash-demo/android/gradlew.
[        ] /Users/aaronchu/Development/hybrid-compositon-crash-demo/android/gradlew mode: 33261 rwxr-xr-x.
[   +8 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[   +9 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","WorkingDirectory":"$APP_PACKAGE\/Contents\/bin","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio4.0","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-193.6911.18.40.6626763","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.0","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 4.0, build AI-193.6911.18.40.6626763. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."}
[   +2 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[  +71 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode)
[   +2 ms] executing: [/Users/aaronchu/Development/hybrid-compositon-crash-demo/android/] /Users/aaronchu/Development/hybrid-compositon-crash-demo/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64 -Ptarget=/Users/aaronchu/Development/hybrid-compositon-crash-demo/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+2984 ms] > Task :app:compileFlutterBuildDebug
[   +5 ms] [ +119 ms] executing: [/Users/aaronchu/FlutterSdk/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +41 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 2ae34518b87dd891355ed6c6ea8cb68c4d52bb9d
[        ] [        ] executing: [/Users/aaronchu/FlutterSdk/] git tag --contains HEAD
[        ] [ +168 ms] Exit code 0 from: git tag --contains HEAD
[        ] [        ] 1.20.1
[        ] [   +8 ms] executing: [/Users/aaronchu/FlutterSdk/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/Users/aaronchu/FlutterSdk/] git ls-remote --get-url origin
[        ] [   +8 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +49 ms] executing: [/Users/aaronchu/FlutterSdk/] git rev-parse --abbrev-ref HEAD
[        ] [  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +31 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] 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.
[   +3 ms] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[        ] [   +4 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] 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.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' 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.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [  +73 ms] Initializing file store
[        ] [  +14 ms] Skipping target: gen_localizations
[        ] [   +6 ms] kernel_snapshot: Starting due to {}
[        ] [  +32 ms] /Users/aaronchu/FlutterSdk/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/aaronchu/FlutterSdk/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/aaronchu/FlutterSdk/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation --no-link-platform --packages /Users/aaronchu/Development/hybrid-compositon-crash-demo/.packages --output-dill /Users/aaronchu/Development/hybrid-compositon-crash-demo/.dart_tool/flutter_build/4fde3e9f43a2b304b5c7d986b1daae45/app.dill --depfile /Users/aaronchu/Development/hybrid-compositon-crash-demo/.dart_tool/flutter_build/4fde3e9f43a2b304b5c7d986b1daae45/kernel_snapshot.d package:hybrid_composition_crash_demo/main.dart
[+3871 ms] [+5014 ms] kernel_snapshot: Complete
[ +497 ms] [ +483 ms] debug_android_application: Starting due to {}
[  +98 ms] [ +127 ms] debug_android_application: Complete
[ +502 ms] [ +514 ms] Persisting file store
[        ] [   +8 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[  +97 ms] [  +10 ms] "flutter assemble" took 6,308ms.
[        ] [   +6 ms] ensureAnalyticsSent: 0ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +102 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders UP-TO-DATE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[  +98 ms] > Task :app:mergeDebugAssets
[ +197 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[ +100 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] Compatible side by side NDK version was not found.
[+1194 ms] > Task :app:packageDebug
[  +62 ms] > Task :app:assembleDebug
[        ] BUILD SUCCESSFUL in 9s
[        ] 31 actionable tasks: 6 executed, 25 up-to-date
[ +375 ms] Running Gradle task 'assembleDebug'... (completed in 10.3s)
[  +42 ms] calculateSha: LocalDirectory: '/Users/aaronchu/Development/hybrid-compositon-crash-demo/build/app/outputs/flutter-apk'/app.apk
[  +50 ms] calculateSha: reading file took 50us
[ +512 ms] calculateSha: computing sha took 512us
[   +4 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +2 ms] executing: /Users/aaronchu/Library/Android/sdk/build-tools/30.0.1/aapt dump xmltree /Users/aaronchu/Development/hybrid-compositon-crash-demo/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +8 ms] Exit code 0 from: /Users/aaronchu/Library/Android/sdk/build-tools/30.0.1/aapt dump xmltree /Users/aaronchu/Development/hybrid-compositon-crash-demo/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)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.hybrid_composition_crash_demo" (Raw: "com.example.hybrid_composition_crash_demo")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="hybrid_composition_crash_demo" (Raw: "hybrid_composition_crash_demo")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.hybrid_composition_crash_demo.MainActivity" (Raw: "com.example.hybrid_composition_crash_demo.MainActivity")
                   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=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: meta-data (line=70)
                   A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview")
                   A: android:value(0x01010024)=(type 0x12)0xffffffff
[   +1 ms] Stopping app 'app.apk' on HTC U 3u.
[        ] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 shell am force-stop com.example.hybrid_composition_crash_demo
[ +110 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 shell pm list packages com.example.hybrid_composition_crash_demo
[ +199 ms] package:com.example.hybrid_composition_crash_demo
[   +2 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 shell cat /data/local/tmp/sky.com.example.hybrid_composition_crash_demo.sha1
[  +36 ms] 5528c693fd80d2caeb0cfe06b685d56c1566504e
[   +1 ms] Installing APK.
[   +1 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb version
[   +4 ms] Android Debug Bridge version 1.0.41
           Version 30.0.3-6597393
           Installed as /Users/aaronchu/Library/Android/sdk/platform-tools/adb
[        ] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb start-server
[   +5 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 install -t -r /Users/aaronchu/Development/hybrid-compositon-crash-demo/build/app/outputs/flutter-apk/app.apk
[+5299 ms] Performing Streamed Install
           Success
[        ] Installing build/app/outputs/flutter-apk/app.apk... (completed in 5.3s)
[   +1 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 shell echo -n 67adbcede8ba65f013d94705b7e47bf6c13fd4b2 > /data/local/tmp/sky.com.example.hybrid_composition_crash_demo.sha1
[  +42 ms] HTC U 3u startApp
[   +2 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.hybrid_composition_crash_demo/com.example.hybrid_composition_crash_demo.MainActivity
[ +201 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.hybrid_composition_crash_demo/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[+1528 ms] Observatory URL on device: http://127.0.0.1:40794/7S14XwMxlj0=/
[        ] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 forward tcp:0 tcp:40794
[   +5 ms] 56835
[        ] Forwarded host port 56835 to device port 40794 for Observatory
[   +4 ms] Caching compiled dill
[  +32 ms] Connecting to service protocol: http://127.0.0.1:56835/7S14XwMxlj0=/
[ +259 ms] Successfully connected to service protocol: http://127.0.0.1:56835/7S14XwMxlj0=/
[        ] Waiting for HTC U 3u to report its views...
[   +7 ms] Waiting for HTC U 3u to report its views... (completed in 6ms)
[  +10 ms] DevFS: Creating new filesystem on the device (null)
[  +26 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.hybrid_composition_crash_demo/code_cache/hybrid-compositon-crash-demoILQBWX/hybrid-compositon-crash-demo/)
[   +1 ms] Updating assets
[  +59 ms] Syncing files to device HTC U 3u...
[   +1 ms] Scanning asset files
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] <- recompile package:hybrid_composition_crash_demo/main.dart 65c4acf5-8fd1-4676-a2b9-ee2ed780708d
[        ] <- 65c4acf5-8fd1-4676-a2b9-ee2ed780708d
[  +52 ms] Updating files
[ +143 ms] DevFS: Sync finished
[        ] Syncing files to device HTC U 3u... (completed in 200ms)
[        ] Synced 0.9MB.
[        ] <- accept
[   +4 ms] Connected to _flutterView/0x73909ee020.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on HTC U 3u is available at: http://127.0.0.1:56835/7S14XwMxlj0=/
[+2939 ms] W/tion_crash_dem(16492): Accessing hidden method Landroid/media/ImageReader;->newInstance(IIIIJ)Landroid/media/ImageReader; (dark greylist, linking)
[+2179 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +5 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[+1391 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +4 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +18 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +26 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +12 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +38 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +19 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +19 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +19 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +27 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +4 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +13 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +23 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +6 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +35 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +16 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +23 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +8 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +27 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +4 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +28 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +7 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +24 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +5 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[   +3 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +27 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +5 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +28 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +3 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +28 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +2 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[   +8 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +25 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +34 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +32 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +2 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +30 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[   +2 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +28 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +1 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +29 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +3 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +28 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[   +1 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +4 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +47 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +31 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +1 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +33 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +2 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +47 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +2 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +44 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 4 lines
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +35 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +27 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[        ] W/KeyCharacterMap(16492): Load KCM of non-default device may incur unexpected result. Device ID:6
[   +8 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +47 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[   +3 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +36 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +4 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +78 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +6 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[   +2 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +52 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +17 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +18 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +13 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +35 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +12 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +57 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +57 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +36 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[+1168 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +9 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +59 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +2 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +44 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +59 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +5 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +14 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +59 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +51 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +49 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 4 lines
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +59 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +7 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +43 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +5 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +35 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +63 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 4 lines
[   +2 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +43 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +5 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +41 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +8 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +39 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +10 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +33 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +40 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +16 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +9 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +47 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +34 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +33 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 2 lines
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +20 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +12 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +8 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +41 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +14 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +50 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +49 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 4 lines
[   +2 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +36 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +6 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +34 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +3 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[ +154 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[   +9 ms] I/chatty  (16492): uid=10266(com.example.hybrid_composition_crash_demo) identical 1 line
[        ] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[ +108 ms] W/ImageReader_JNI(16492): Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
[  +13 ms] E/flutter (16492): [ERROR:flutter/shell/platform/android/platform_view_android_jni_impl.cc(43)] java.lang.IllegalStateException: maxImages (3) has already been acquired, call #close before acquiring more.
[        ] E/flutter (16492): 	at android.media.ImageReader.acquireNextImage(ImageReader.java:502)
[        ] E/flutter (16492): 	at android.media.ImageReader.acquireLatestImage(ImageReader.java:386)
[        ] E/flutter (16492): 	at io.flutter.embedding.android.FlutterImageView.acquireLatestImage(FlutterImageView.java:186)
[        ] E/flutter (16492): 	at io.flutter.embedding.android.FlutterView.acquireLatestImageViewFrame(FlutterView.java:1039)
[        ] E/flutter (16492): 	at io.flutter.plugin.platform.PlatformViewsController.onEndFrame(PlatformViewsController.java:780)
[        ] E/flutter (16492): 	at io.flutter.embedding.engine.FlutterJNI.onEndFrame(FlutterJNI.java:856)
[        ] E/flutter (16492): 	at android.os.MessageQueue.nativePollOnce(Native Method)
[        ] E/flutter (16492): 	at android.os.MessageQueue.next(MessageQueue.java:326)
[        ] E/flutter (16492): 	at android.os.Looper.loop(Looper.java:166)
[        ] E/flutter (16492): 	at android.app.ActivityThread.main(ActivityThread.java:7124)
[        ] E/flutter (16492): 	at java.lang.reflect.Method.invoke(Native Method)
[        ] E/flutter (16492): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
[        ] E/flutter (16492): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:898)
[        ] E/flutter (16492): 
[        ] F/flutter (16492): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1241)] Check failed: CheckException(env). 
[        ] F/libc    (16492): Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 16492 (tion_crash_demo), pid 16492 (tion_crash_demo)
[ +135 ms] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
[        ] Build fingerprint: 'htc/ocndugl_00709/htc_ocndugl:9/PQ2A.190205.003/1098205.2:user/release-keys'
[        ] Revision: '0'
[        ] ABI: 'arm64'
[        ] pid: 16492, tid: 16492, name: tion_crash_demo  >>> com.example.hybrid_composition_crash_demo <<<
[        ] signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
[        ] Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1241)] Check failed: CheckException(env). 
[        ] '
[        ]     x0  0000000000000000  x1  000000000000406c  x2  0000000000000006  x3  0000000000000008
[        ]     x4  0000800000000000  x5  0000800000000000  x6  0000800000000000  x7  0000000000800000
[        ]     x8  0000000000000083  x9  1e938e09ec2e473f  x10 0000000000000000  x11 fffffffc7ffffbdf
[   +1 ms]     x12 0000000000000001  x13 0000000000000028  x14 ffffffffffffffff  x15 0000857405947aaf
[        ]     x16 000000741d46f2a0  x17 000000741d3ad1d8  x18 0000000000000001  x19 000000000000406c
[        ]     x20 000000000000406c  x21 0000007fe987f978  x22 0000000000000000  x23 000000738eea1518
[        ]     x24 000000000000002c  x25 0000007fe987fcb8  x26 0000000000000000  x27 0000000000000001
[        ]     x28 000000000000002c  x29 0000007fe987f960
[        ]     sp  0000007fe987f920  lr  000000741d3a1d04  pc  000000741d3a1d2c
[  +51 ms] backtrace:
[        ]     #00 pc 0000000000021d2c  /system/lib64/libc.so (abort+116)
[        ]     #01 pc 00000000012594fc  /data/app/com.example.hybrid_composition_crash_demo-O56BLUzm6tCiNOv-RJhm1A==/lib/arm64/libflutter.so (offset 0x1240000)
[        ]     #02 pc 000000000000271c  [anon:.bss:00000073800ae000]
[ +796 ms] Service protocol connection closed.
[        ] Lost connection to device.
[   +2 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 forward --list
[   +5 ms] Exit code 0 from: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 forward --list
[        ] FA7AD1800367 tcp:57567 localabstract:AndroidStudioTransport
           FA7AD1800367 tcp:56835 tcp:40794
[   +1 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 forward --remove tcp:56835
[   +7 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.hybrid_composition_crash_demo/code_cache/hybrid-compositon-crash-demoILQBWX/hybrid-compositon-crash-demo/)
[ +254 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[   +1 ms] executing: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 forward --list
[   +5 ms] Exit code 0 from: /Users/aaronchu/Library/Android/sdk/platform-tools/adb -s FA7AD1800367 forward --list
[        ] FA7AD1800367 tcp:57567 localabstract:AndroidStudioTransport
[   +1 ms] "flutter run" took 34,624ms.
[ +255 ms] ensureAnalyticsSent: 252ms
[        ] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +2 ms] Shutdown hooks complete
[        ] exiting with code 0

Run flutter analyze and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

Analyzing hybrid-compositon-crash-demo...
No issues found! (ran in 2.7s)

Finally, paste the output of running flutter doctor -v here.

[✓] Flutter (Channel stable, 1.20.1, on Mac OS X 10.15.6 19G73, locale zh-Hant-TW)
    • Flutter version 1.20.1 at /Users/aaronchu/FlutterSdk
    • Framework revision 2ae34518b8 (10 days ago), 2020-08-05 19:53:19 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0


[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/aaronchu/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • HTC U 3u (mobile) • FA7AD1800367 • android-arm64 • Android 9 (API 28)

• No issues found!

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsc: crashStack traces logged to the consolec: fatal crashCrashes that terminate the processengineflutter/engine related. See also e: labels.found in release: 1.20Found to occur in 1.20found in release: 1.21Found to occur in 1.21found in release: 1.22Found to occur in 1.22has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions