Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VM initialization failed: #56970

Closed
Hasiru-Herath opened this issue Oct 27, 2024 · 3 comments
Closed

VM initialization failed: #56970

Hasiru-Herath opened this issue Oct 27, 2024 · 3 comments
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. dart-cli-run Issues related to 'dart run' needs-info We need additional information from the issue author (auto-closed after 14 days if no response) type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@Hasiru-Herath
Copy link

when I run the command "dart run build_runner build" it gives error below;

VM initialization failed: Invalid vm isolate snapshot seen

@dart-github-bot
Copy link
Collaborator

Summary: The user is encountering an error "VM initialization failed: Invalid vm isolate snapshot seen" when running the command "dart run build_runner build". This suggests a problem with the Dart VM's initialization process, potentially due to a corrupted or incompatible snapshot file.

@dart-github-bot 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 Oct 27, 2024
@lrhn lrhn added area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. dart-cli-run Issues related to 'dart run' and removed 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. labels Oct 27, 2024
@bkonyi
Copy link
Contributor

bkonyi commented Oct 28, 2024

Hi @Hasiru-Herath, are you able to run other Dart programs at all? This seems like something's corrupted in your Dart SDK.

@a-siva a-siva added the needs-info We need additional information from the issue author (auto-closed after 14 days if no response) label Oct 28, 2024
Copy link

Without additional information we're not able to resolve this issue. Feel free to add more info or respond to any questions above and we can reopen the case. Thanks for your contribution!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. dart-cli-run Issues related to 'dart run' needs-info We need additional information from the issue author (auto-closed after 14 days if no response) type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

5 participants