Skip to content

Android: Unable to Enter Isolate : Multiple mutators entering an isolate / Dart VM is shutting down #44447

@derolf

Description

@derolf

I am decoding two MJPEG-streams in parallel and make heavy usage of MemoryImage (Flutter), decoding about 10-20 images per seconds.

After a few seconds, the app crashes with

/Dart    (14933): ../../third_party/dart/runtime/vm/dart_api_impl.cc: 1662: error: Unable to Enter Isolate : Multiple mutators entering an isolate / Dart VM is shutting down
E/DartVM  (14933): version=2.12.0-29.7.beta (beta) (Fri Nov 13 11:35:21 2020 +0100) on "android_arm"
E/DartVM  (14933): pid=14933, thread=14961, isolate_group=(nil)(0x0), isolate=(nil)(0x0)
E/DartVM  (14933): isolate_instructions=0, vm_instructions=a41c7240
E/DartVM  (14933):   pc 0xa427b025 fp 0xa2b7dab0 libflutter.so+0x13fd025
E/DartVM  (14933): -- End of DumpStackTrace
F/libc    (14933): Fatal signal 6 (SIGABRT), code -6 in tid 14961 (1.io)

Flutter doctor:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 1.24.0-10.1.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.51.1)
[✓] Connected device (2 available)
• No issues found!

Same crash at the same location also with

[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-DE)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions