canonical / flutter-snap

GNU General Public License v3.0
18 stars 8 forks source link

Flutter stalls at "DevTools listening" #59

Open oyejorge opened 3 years ago

oyejorge commented 3 years ago

Command

flutter run --verbose -d chrome

Expected

To launch app

Actual results: A chrome window opens but the app never loads in the tab.

Last worked Yesterday. No changes to app code but chrome was updated by snap

Chrome: Version 96.0.4664.45 (Official Build) snap (64-bit)

Output

flutter run --verbose -d chrome
[  +52 ms] executing: uname -m
[  +25 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +4 ms] executing: [/home/josh/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 18116933e77adc82f80866c928266a5b4f1ed645
[        ] executing: [/home/josh/snap/flutter/common/flutter/] git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[  +17 ms] Exit code 0 from: git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[        ] 2.5.3
[   +8 ms] executing: [/home/josh/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/josh/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +72 ms] executing: [/home/josh/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +44 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +58 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +63 ms] Skipping pub get: version match.
[  +20 ms] Found plugin device_info_plus at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus-3.1.1/
[   +5 ms] Found plugin device_info_plus_macos at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus_macos-2.2.0/
[   +2 ms] Found plugin device_info_plus_web at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus_web-2.1.0/
[  +11 ms] Found plugin path_provider_linux at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.2/
[   +3 ms] Found plugin path_provider_windows at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.4/
[   +3 ms] Found plugin shared_preferences at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.8/
[   +1 ms] Found plugin shared_preferences_linux at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.3/
[   +1 ms] Found plugin shared_preferences_macos at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[   +1 ms] Found plugin shared_preferences_web at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[   +1 ms] Found plugin shared_preferences_windows at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.3/
[  +76 ms] Found plugin device_info_plus at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus-3.1.1/
[   +1 ms] Found plugin device_info_plus_macos at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus_macos-2.2.0/
[   +1 ms] Found plugin device_info_plus_web at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus_web-2.1.0/
[   +5 ms] Found plugin path_provider_linux at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.2/
[   +1 ms] Found plugin path_provider_windows at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.4/
[   +1 ms] Found plugin shared_preferences at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.8/
[        ] Found plugin shared_preferences_linux at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.3/
[        ] Found plugin shared_preferences_macos at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[        ] Found plugin shared_preferences_web at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[   +1 ms] Found plugin shared_preferences_windows at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.3/
[  +17 ms] Generating /home/josh/StudioProjects/oxford_hold_em/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +244 ms] Launching lib/main.dart on Chrome in debug mode...
[  +71 ms] Updating assets
[  +78 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[   +6 ms] Waiting for connection from debug service on Chrome...
[   +7 ms] Found plugin device_info_plus at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus-3.1.1/
[   +1 ms] Found plugin device_info_plus_macos at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus_macos-2.2.0/
[   +1 ms] Found plugin device_info_plus_web at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus_web-2.1.0/
[   +5 ms] Found plugin path_provider_linux at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.2/
[   +2 ms] Found plugin path_provider_windows at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.4/
[   +2 ms] Found plugin shared_preferences at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.8/
[        ] Found plugin shared_preferences_linux at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.3/
[        ] Found plugin shared_preferences_macos at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[   +1 ms] Found plugin shared_preferences_web at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[        ] Found plugin shared_preferences_windows at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.3/
[  +13 ms] Found plugin device_info_plus at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus-3.1.1/
[   +1 ms] Found plugin device_info_plus_macos at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus_macos-2.2.0/
[   +1 ms] Found plugin device_info_plus_web at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/device_info_plus_web-2.1.0/
[   +7 ms] Found plugin path_provider_linux at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.2/
[   +2 ms] Found plugin path_provider_windows at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.4/
[   +1 ms] Found plugin shared_preferences at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.8/
[        ] Found plugin shared_preferences_linux at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.3/
[        ] Found plugin shared_preferences_macos at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[        ] Found plugin shared_preferences_web at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[        ] Found plugin shared_preferences_windows at /home/josh/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.3/
[  +48 ms] <- reset
[   +5 ms] /home/josh/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/josh/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/josh/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
/tmp/flutter_tools.PGGGAE/flutter_tool.GQXCOV/app.dill --libraries-spec file:///home/josh/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/libraries.json --packages
/home/josh/StudioProjects/oxford_hold_em/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root /tmp/flutter_tools.PGGGAE/flutter_tools.GOXMIQ
--filesystem-scheme org-dartlang-app --initialize-from-dill build/b1b715402d823b7fd5c2b68d2edcb2ce.cache.dill.track.dill --platform
file:///home/josh/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk_sound.dill --sound-null-safety
[  +12 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+17022 ms] Waiting for connection from debug service on Chrome... (completed in 17.1s)
[        ] Synced 27.7MB.
[        ] <- accept
[        ] Caching compiled dill
[ +288 ms] Using Chromium 96.0.4664.45 snap

[   +1 ms] executing: uname -m
[   +5 ms] Exit code 0 from: uname -m
[        ] x86_64
[ +251 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://127.0.0.1:42251/devtools/browser/30141bb3-7872-47a3-914f-782322c4ae25

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on Ubuntu 20.04.3 LTS 5.4.0-90-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code
[✓] Connected device (1 available)
kristbaum commented 2 years ago

I can confirm this exact problem. Flutter as snap, chromium as snap..