You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
Summary: The loadModuleFromBytes function in the dynamic_modules package throws an invalid argument error when passed a _UnmodifiableUint8ArrayView, even though it implements Uint8List. This issue occurs on Linux and Android, and the error message is unhelpful.
dart-github-bot
added
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
triage-automation
See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
labels
Nov 6, 2024
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
This relates to
package:dynamic_modules
- cc @alexmarkovHere's some flutter code to repro, but it should be simple to create one in pure dart.
This is the cryptic error:
I think it shouldn't even throw in the first place because
_UnmodifiableUint8ArrayView
implementsUint8List
.This was observed on Linux and on Android, at the
3067d697ae261b40aebbe0883c77cb873840867d
Dart SDK revision.The text was updated successfully, but these errors were encountered: