-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Main sdk release crash on Ubuntu wsl #54587
Comments
Thanks for reporting this! Just in case it's helpful for those that take a look at the issue, could you provide your WSL and Kernel version information? I'm not sure what information it provides, but Commit reference: 0a543b7 |
Ubuntu 22.04.3 LTS $ uname -r |
\cc @rmacnak-google |
I am pretty sure this is caused by microsoft/WSL#7569 - we did not actually change our code to work around this issue. I will make a CL for that. |
@goodperson9 do you have same issue with WSL2? There was another issue with WSL1 (vs WSL2) - #46643 which was closed without being addressed due to the fact that WSL2 is recommended over WSL1. |
Is this fix a cherry pick candidate? |
@a-siva maybe, I am not sure. We don't get all that many reports around WSL 1 so maybe it is not worth cherry picking it. |
Just tried dart-sdk 3.4.0-7.0.dev (before mraleph's fix) on WSL2 and it works fine. So the issue seems to be WSL1 only.
|
$ curl -o package.zip --insecure https://storage.googleapis.com/dart-archive/channels/main/raw/latest/sdk/dartsdk-linux-x64-release.zip
$ unzip package.zip
$ cd dart-sdk/bin
$ ./dart
../../runtime/bin/snapshot_utils.cc: 151: error: Failed to memory map snapshot: /dart-sdk/bin/snapshots/dartdev.dart.snapshot
version=3.4.0-edge.0a543b7a7777b74453522a8f817bab8264e631dd (main) on "linux_x64"
pid=47, thread=50, isolate_group=(nil)((nil)), isolate=(nil)((nil))
os=linux, arch=x64, comp=no, sim=no
isolate_instructions=0, vm_instructions=7fe7da7a8740
fp=7fe7d3b0fb80, sp=7fe7d3b0fa48, pc=7fe7da9b10ec
pc 0x00007fe7da9b10ec fp 0x00007fe7d3b0fb80 dart::Profiler::DumpStackTrace+0x7c
pc 0x00007fe7da7a8934 fp 0x00007fe7d3b0fc60 dart::Assert::Fail+0x84
pc 0x00007fe7da7874e7 fp 0x00007fe7d3b0fd00 dart::bin::Snapshot::TryReadAppSnapshot+0x287
pc 0x00007fe7da78b479 fp 0x00007fe7d3b0fd90 dart::bin::CreateIsolateGroupAndSetup+0x1e9
pc 0x00007fe7da78862c fp 0x00007fe7d3b0fe10 dart::bin::DartDevIsolate::DartDevRunner::RunCallback+0x6c
pc 0x00007fe7da88d6c2 fp 0x00007fe7d3b0fe50 dart::bin::ThreadStart+0x52
-- End of DumpStackTrace
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: