Skip to content

Profile build of hello world does not launch with --sound-null-safety #68561

@jonahwilliams

Description

@jonahwilliams

command:

flutter run  --sound-null-safety --enable-experiment=non-nullable --profile

Result:

E/flutter (18201): [ERROR:flutter/runtime/dart_isolate.cc(228)] CreateDartIsolateGroup failed: Snapshot not compatible with the current VM configuration: the snapshot requires 'release no-dwarf_stack_traces_mode no-causal_async_stacks lazy_async_stacks no-lazy_dispatchers use_bare_instructions no-dedup_instructions no-"asserts" no-code-comments arm64-sysv null-safety' but the VM has 'release no-dwarf_stack_traces_mode no-causal_async_stacks lazy_async_stacks no-lazy_dispatchers use_bare_instructions no-dedup_instructions no-"asserts" no-code-comments arm64-sysv no-null-safety'

release and debug works fine.

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressiona: null-safetySupport for Dart's null safety featureengineflutter/engine related. See also e: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions