Skip to content

The command '/bin/sh -c /usr/local/flutter/bin/flutter doctor -v' returned a non-zero code: 134 #1

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

Open
edwardinubuntu opened this issue Mar 5, 2020 · 2 comments
Assignees

Comments

@edwardinubuntu
Copy link
Owner

I was able to run on my mac but got failed on my AWS EC2, still checking on why.

Step 5/16 : RUN git clone https://github.com/flutter/flutter.git /usr/local/flutter
 ---> Running in b11215259464
Cloning into '/usr/local/flutter'...
Removing intermediate container b11215259464
 ---> 586d04321e5f
Step 6/16 : RUN /usr/local/flutter/bin/flutter doctor -v
 ---> Running in d152aa3c3184
Downloading Dart SDK from Flutter engine 810727bf3f8f7a9d23ee8e65a5209944c80fde58...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  211M  100  211M    0     0  42.5M      0  0:00:04  0:00:04 --:--:-- 44.5M
Building flutter tool...

===== CRASH =====
si_signo=Bus error(7), si_code=2, si_addr=0x7fe0af437000
version=2.8.0-dev.11.0.flutter-57462f9ca5 (Wed Mar 4 04:18:53 2020 +0000) on "linux_x64"
thread=387, isolate=(null)((nil))
isolate_instructions=0, vm_instructions=15f3540
Stack dump aborted because InitialRegisterCheck failed.
/usr/local/flutter/bin/flutter: line 59:   383 Aborted                 "$DART" $FLUTTER_TOOL_ARGS --snapshot="$SNAPSHOT_PATH" --packages="$FLUTTER_TOOLS_DIR/.packages" --no-enable-mirrors "$SCRIPT_PATH"
The command '/bin/sh -c /usr/local/flutter/bin/flutter doctor -v' returned a non-zero code: 134

@edwardinubuntu edwardinubuntu self-assigned this Mar 5, 2020
@edwardinubuntu
Copy link
Owner Author

After I move flutter more back, but still got the error, I am wondering is my ec2 instance too small.

Compiling lib/main.dart for the Web...                          Target dart2js failed: Exception: 
===== CRASH =====
si_signo=Bus error(7), si_code=2, si_addr=0x7fb52bbe4000
version=2.8.0-dev.5.0.flutter-fc3af737c7 (Fri Jan 24 09:53:26 2020 +0000) on "linux_x64"
thread=80, isolate=main(0x229bf70)
Stack dump aborted because InitialRegisterCheck failed.

Exception: Failed to compile application for the Web.

Compiling lib/main.dart for the Web...                             92.5s
The command '/bin/sh -c flutter build web' returned a non-zero code: 1

@JesusHdez960717
Copy link

Does this still happen with the latest version of flutter (at least 3.13.0) and the latest version of the dockerfile?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants