Skip to content

flutter upgrade crash #30203

@dcov

Description

@dcov

flutter upgrade crashes while building the flutter tool.
flutter upgrade -v output:

[dcov@dev ~]$ flutter upgrade -v
[   +4 ms] executing: [/home/dcov/flutter/] git log -n 1 --pretty=format:%H
[  +10 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] ffbb335e35ae7416be98b72779baae6c9bd25b3b
[        ] executing: [/home/dcov/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +13 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.4.6-7-gffbb335e3
[   +3 ms] executing: [/home/dcov/flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[   +2 ms] executing: [/home/dcov/flutter/] git describe --match v*.*.* --first-parent --long --tags
[   +9 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.4.6-7-gffbb335e3
[   +2 ms] executing: [/home/dcov/flutter/] git rev-parse @{u}
[  +16 ms] ffbb335e35ae7416be98b72779baae6c9bd25b3b
[        ] executing: [/home/dcov/flutter/] git reset --hard v1.4.6
[  +26 ms] HEAD is now at ec93c87c8 Move spinner `_defaultSlowWarning` message to a new line (#30071)
[   +1 ms] Upgrading Flutter from /home/dcov/flutter...
[   +2 ms] executing: [/home/dcov/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/home/dcov/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter
[   +3 ms] executing: [/home/dcov/flutter/] git pull --ff
[ +446 ms] Updating ec93c87c8..ffbb335e3
[   +4 ms]  .../bin/src/main/res/mipmap-hdpi/ic_launcher.png   | Bin 0 -> 544 bytes
[        ]  .../bin/src/main/res/mipmap-mdpi/ic_launcher.png   | Bin 0 -> 442 bytes
[        ]  .../bin/src/main/res/mipmap-xhdpi/ic_launcher.png  | Bin 0 -> 721 bytes
[        ]  .../bin/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 1031 bytes
[        ]  .../src/main/res/mipmap-xxxhdpi/ic_launcher.png    | Bin 0 -> 1443 bytes
[        ]  .../app/src/main/res/mipmap-hdpi/ic_launcher.png   | Bin 0 -> 544 bytes
[        ]  .../app/src/main/res/mipmap-mdpi/ic_launcher.png   | Bin 0 -> 442 bytes
[        ]  .../app/src/main/res/mipmap-xhdpi/ic_launcher.png  | Bin 0 -> 721 bytes
[        ]  .../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 1031 bytes
[        ]  .../src/main/res/mipmap-xxxhdpi/ic_launcher.png    | Bin 0 -> 1443 bytes
[   +1 ms]  68 files changed, 906 insertions(+), 277 deletions(-)
[   +4 ms] Upgrading engine...
[        ] executing: [/home/dcov/flutter/] bin/flutter --no-color --no-version-check precache
[  +33 ms] Building flutter tool...

===== CRASH =====
si_signo=Segmentation fault(11), si_code=128, si_addr=(nil)
version=2.2.1-dev.2.0.flutter-None (Thu Mar 28 00:48:30 2019 +0000) on "linux_x64"
thread=3781, isolate=flutter_tools.snapshot:main()(0x2920e00)
Stack dump aborted because InitialRegisterCheck failed.
/home/dcov/flutter/bin/flutter: line 177:  3645 Aborted                 (core dumped) "$DART" $FLUTTER_TOOL_ARGS "$SNAPSHOT_PATH" "$@"

flutter doctor -v output:

[dcov@dev ~]$ flutter doctor -v
[✓] Flutter (Channel master, v1.4.7-pre.7, on Linux, locale en_US.UTF-8)
    • Flutter version 1.4.7-pre.7 at /home/dcov/flutter
    • Framework revision ffbb335e35 (69 minutes ago), 2019-03-29 10:49:07 -0700
    • Engine revision c4d14a0071
    • Dart version 2.2.1 (build 2.2.1-dev.2.0 None)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/dcov/android
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /home/dcov/android
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] Android Studio (version 3.2)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 29.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Connected device (1 available)
    • SM G930T • 5c42024b • android-arm64 • Android 8.0.0 (API 26)

• No issues found!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions