The application does not build on Linux Mint.

The application is usually built on Android but when trying to build on Linux Mint there is a problem.
I have already followed the steps described in: https://flutter.dev/desktop
Flutter Version
flutter --version
Flutter 2.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision c5a4b4029c (3 days ago) • 2021-03-04 09:47:48 -0800
Engine • revision 40441def69
Tools • Dart 2.12.0

Terminal output
Building Linux application...
Error waiting for a debug connection: The log reader stopped unexpectedly.
Error launching application on Linux.

Logs

gregory@pc-PC:~/FlutterProjects/chat_client$ flutter run -d linux --verbose
[ +208 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[ +178 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[   +3 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git tag --points-at
c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[  +37 ms] Exit code 0 from: git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] 2.0.1
[ +121 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +13 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/gregory/snap/flutter/common/flutter/] git ls-remote --get-url origin
[  +14 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +115 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +192 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.
[   +8 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[ +307 ms] executing: /home/gregory/Android/Sdk/platform-tools/adb devices -l
[  +41 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 'MacOSEngineArtifacts' is not required, skipping update.
[   +2 ms] 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.
[ +185 ms] executing: /home/gregory/Android/Sdk/platform-tools/adb devices -l
[  +43 ms] Skipping pub get: version match.
[ +207 ms] Found plugin path_provider at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.27/
[  +20 ms] Found plugin path_provider_linux at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +5 ms] Found plugin path_provider_macos at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+8/
[   +9 ms] Found plugin path_provider_windows at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/
[  +48 ms] Found plugin sqflite at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.2+3/
[ +475 ms] Found plugin path_provider at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.27/
[   +5 ms] Found plugin path_provider_linux at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +4 ms] Found plugin path_provider_macos at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+8/
[   +6 ms] Found plugin path_provider_windows at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/
[  +32 ms] Found plugin sqflite at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.2+3/
[  +61 ms] Generating
/home/gregory/FlutterProjects/chat_client/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +280 ms] Initializing file store
[  +36 ms] Skipping target: gen_localizations
[  +15 ms] complete
[  +15 ms] Launching lib/main.dart on Linux in debug mode...
[  +18 ms] /home/gregory/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/gregory/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot
--sdk-root /home/gregory/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/
--incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata --output-dill
/tmp/flutter_tools.JVUKAS/flutter_tool.DQHJNZ/app.dill --packages
/home/gregory/FlutterProjects/chat_client/.dart_tool/package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build/cache.dill.track.dill
[  +73 ms] Building Linux application...
[ +114 ms] <- compile package:chat_client/main.dart
[  +11 ms] executing: [build/linux/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug
/home/gregory/FlutterProjects/chat_client/linux
[  +46 ms] List of devices attached
<PHONE_NUMBER>             device usb:3-2 product:potter_nt model:Moto_G__5__Plus device:potter_nt
           transport_id:8
[  +17 ms] List of devices attached
<PHONE_NUMBER>             device usb:3-2 product:potter_nt model:Moto_G__5__Plus device:potter_nt
           transport_id:8
[ +135 ms] -- Configuring done
[  +23 ms] -- Generating done
[        ] -- Build files have been written to: /home/gregory/FlutterProjects/chat_client/build/linux/debug
[  +13 ms] executing: ninja -C build/linux/debug install
[  +30 ms] ninja: Entering directory `build/linux/debug'
[+12825 ms] [1/5] Generating
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[  +23 ms] [ +343 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +1 ms] [ +144 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [   +1 ms] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] [   +2 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git tag --points-at
c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[   +1 ms] [  +37 ms] Exit code 0 from: git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] [        ] 2.0.1
[        ] [ +181 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic
@{u}
[        ] [  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +8 ms] [        ] origin/stable
[        ] [        ] executing: [/home/gregory/snap/flutter/common/flutter/] git ls-remote --get-url origin
[  +11 ms] [  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [ +142 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [ +236 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.
[        ] [   +8 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[        ] [ +264 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] 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.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' 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.
[   +6 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [   +8 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [ +237 ms] Initializing file store
[        ] [  +35 ms] Done initializing file store
[        ] [ +156 ms] Skipping target: gen_localizations
[        ] [+5002 ms] Skipping target: unpack_linux
[        ] [+1660 ms] Skipping target: kernel_snapshot
[        ] [ +989 ms] Skipping target: debug_bundle_linux_assets
[        ] [   +4 ms] Persisting file store
[        ] [  +42 ms] Done persisting file store
[   +1 ms] [  +18 ms] build succeeded.
[        ] [  +27 ms] "flutter assemble" took 8.544ms.
[        ] [ +269 ms] ensureAnalyticsSent: 258ms
[        ] [   +3 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [   +1 ms] exiting with code 0
[+2520 ms] [2/5] Building CXX object CMakeFiles/chat_client.dir/flutter/generated_plugin_registrant.cc.o
[  +99 ms] [3/5] Building CXX object CMakeFiles/chat_client.dir/my_application.cc.o
[ +244 ms] [4/5] Linking CXX executable intermediates_do_not_run/chat_client
[        ] [4/5] Install the project...
[  +39 ms] -- Install configuration: "Debug"
[ +106 ms] -- Installing: /home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/chat_client
[   +1 ms] -- Set runtime path of "/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/chat_client" to
"$ORIGIN/lib"
[   +2 ms] -- Installing: /home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/icudtl.dat
[   +2 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/lib/libflutter_linux_gtk.so
[ +632 ms] -- Installing: /home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets
[   +6 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets/AssetManifest.json
[   +1 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets/FontManifest.json
[   +1 ms] -- Installing: /home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets/fonts
[   +1 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[  +12 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets/kernel_blob.bin
[ +153 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets/version.json
[   +1 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets/packages
[   +1 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons
[   +1 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets
[   +1 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets
/CupertinoIcons.ttf
[   +3 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_assets/NOTICES
[  +78 ms] Building Linux application... (completed in 17,1s)
[ +989 ms] Error waiting for a debug connection: The log reader stopped unexpectedly.
[  +25 ms] Error launching application on Linux.
[+8454 ms] "flutter run" took 28.667ms.
[  +14 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:644:9)
           <asynchronous suspension>
           #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1157:12)
           <asynchronous suspension>
           #3      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1009:27)
           <asynchronous suspension>
           #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #5      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:197:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:278:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #10     FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:234:5)
           <asynchronous suspension>
           #11     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
           <asynchronous suspension>
           #12     run.<anonymous closure> (package:flutter_tools/runner.dart:62:12)
           <asynchronous suspension>
           #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #14     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #15     runInContext (package:flutter_tools/src/context_runner.dart:73:10)
           <asynchronous suspension>
           #16     main (package:flutter_tools/executable.dart:90:3)
           <asynchronous suspension>

[ +262 ms] ensureAnalyticsSent: 254ms
[   +5 ms] Running shutdown hooks
[   +1 ms] Shutdown hook priority 4
[  +20 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1

gregory@pc-PC:~/FlutterProjects/chat_client$ flutter doctor -v
[✓] Flutter (Channel stable, 2.0.1, on Linux, locale pt_BR.UTF-8)
    • Flutter version 2.0.1 at /home/gregory/snap/flutter/common/flutter
    • Framework revision c5a4b4029c (3 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/gregory/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1~18.04-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] VS Code (version 1.53.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.20.0

[✓] Connected device (3 available)
    • Moto G 5 Plus (mobile) •<PHONE_NUMBER> • android-arm    • Android 8.1.0 (API 27)
    • Linux (desktop)        • linux      • linux-x64      • Linux
    • Chrome (web)           • chrome     • web-javascript • Google Chrome 88.0.4324.96

! Doctor found issues in 1 category.

Hi @marcusgregory
Can you please delete linux folder (if you've some native config, please make a backup first) then generate again with flutter create .  and run the app flutter run -d linux -verbose
Thank you

I tried the commands above, but again I get the same error.
In addition, I ran the command flutter clean to see if it resolved, but also without success.

flutter run -d linux --verbose
gregory@pc-PC:~/FlutterProjects/chat_client$ flutter run -d linux --verbose
[ +223 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[ +112 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +2 ms] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[   +1 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git tag
--points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[  +31 ms] Exit code 0 from: git tag --points-at
c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[   +1 ms] 2.0.1
[ +115 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git rev-parse
--abbrev-ref --symbolic @{u}
[  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/gregory/snap/flutter/common/flutter/] git ls-remote
--get-url origin
[  +12 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +136 ms] executing: [/home/gregory/snap/flutter/common/flutter/] git rev-parse
--abbrev-ref HEAD
[  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +178 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[   +1 ms] 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.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[ +191 ms] executing: /home/gregory/Android/Sdk/platform-tools/adb devices -l
[  +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 'MacOSEngineArtifacts' is not required, skipping
update.
[  +17 ms] 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.
[ +208 ms] executing: /home/gregory/Android/Sdk/platform-tools/adb devices -l
[  +39 ms] Skipping pub get: version match.
[ +225 ms] Found plugin path_provider at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/pat
h_provider-1.6.27/
[  +18 ms] Found plugin path_provider_linux at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/pat
h_provider_linux-0.0.1+2/
[   +4 ms] Found plugin path_provider_macos at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/pat
h_provider_macos-0.0.4+8/
[   +8 ms] Found plugin path_provider_windows at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/pat
h_provider_windows-0.0.4+3/
[  +45 ms] Found plugin sqflite at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqf
lite-1.3.2+3/
[ +480 ms] Found plugin path_provider at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/pat
h_provider-1.6.27/
[   +4 ms] Found plugin path_provider_linux at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/pat
h_provider_linux-0.0.1+2/
[   +4 ms] Found plugin path_provider_macos at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/pat
h_provider_macos-0.0.4+8/
[   +4 ms] Found plugin path_provider_windows at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/pat
h_provider_windows-0.0.4+3/
[  +31 ms] Found plugin sqflite at
/home/gregory/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqf
lite-1.3.2+3/
[  +58 ms] Generating
/home/gregory/FlutterProjects/chat_client/android/app/src/main/java/io/flutter/p
lugins/GeneratedPluginRegistrant.java
[ +314 ms] Initializing file store
[  +63 ms] Skipping target: gen_localizations
[   +9 ms] complete
[  +18 ms] Launching lib/main.dart on Linux in debug mode...
[  +24 ms] /home/gregory/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart
--disable-dart-dev
/home/gregory/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/f
rontend_server.dart.snapshot --sdk-root
/home/gregory/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flut
ter_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata --output-dill
/tmp/flutter_tools.DBHTFG/flutter_tool.LWUSIN/app.dill --packages
/home/gregory/FlutterProjects/chat_client/.dart_tool/package_config.json
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build/cache.dill.track.dill
[  +61 ms] Building Linux application...
[ +118 ms] <- compile package:chat_client/main.dart
[   +6 ms] executing: [build/linux/debug/] cmake -G Ninja
-DCMAKE_BUILD_TYPE=Debug /home/gregory/FlutterProjects/chat_client/linux
[+1373 ms] List of devices attached

                    * daemon not running; starting now at tcp:5037
                    * daemon started successfully
[ +677 ms] * daemon not running; starting now at tcp:5037
                    ADB server didn't ACK
                    Full server startup log: /tmp/adb.1000.log
                    Server had pid: 5475
                    --- adb starting (pid 5475) ---
                    --- adb starting (pid 5476) ---
                    adb I 03-08 08:14:32  5476  5476 main.cpp:62] Android Debug
                    Bridge version 1.0.41
                    adb I 03-08 08:14:32  5476  5476 main.cpp:62] Version
                    30.0.5-6877874
                    adb I 03-08 08:14:32  5476  5476 main.cpp:62] Installed as
                    /home/gregory/Android/Sdk/platform-tools/adb
                    adb I 03-08 08:14:32  5476  5476 main.cpp:62]
                    adb I 03-08 08:14:32  5476  5476 auth.cpp:417]
                    adb_auth_init...
                    adb I 03-08 08:14:32  5475  5475 main.cpp:62] Android Debug
                    Bridge version 1.0.41
                    adb I 03-08 08:14:32  5475  5475 main.cpp:62] Version
                    30.0.5-6877874
                    adb I 03-08 08:14:32  5475  5475 main.cpp:62] Installed as
                    /home/gregory/Android/Sdk/platform-tools/adb
                    adb I 03-08 08:14:32  5475  5475 main.cpp:62]
                    adb I 03-08 08:14:32  5476  5476 auth.cpp:152] loaded new
                    key from '/home/gregory/.android/adbkey' with fingerprint
                    A1670D3D5096C32FB0BD3C121327C89582A15438444424497851A8749638
                    7BD6
                    adb I 03-08 08:14:32  5476  5476 auth.cpp:392]
                    adb_auth_inotify_init...
                    adb F 03-08 08:14:33  5475  5475 main.cpp:153] could not
                    install *smartsocket* listener: Address already in use

                    * failed to start daemon
                    adb: failed to check server version: cannot connect to
                    daemon
[   +9 ms] Ignored error discovering linux: Exception: Unable to run "adb",
check your Android SDK installation and ANDROID_SDK_ROOT environment variable:
/home/gregory/Android/Sdk/platform-tools/adb
[+5390 ms] -- Configuring done
[ +674 ms] -- Generating done
[   +4 ms] -- Build files have been written to:
/home/gregory/FlutterProjects/chat_client/build/linux/debug
[ +305 ms] executing: ninja -C build/linux/debug install
[  +22 ms] ninja: Entering directory `build/linux/debug'
[+52989 ms] [1/6] Generating
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/libflutter_lin
ux_gtk.so,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_basic_message_channel.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_binary_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_binary_messenger.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_dart_project.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_engine.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_json_message_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_json_method_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_message_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_method_call.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_method_channel.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_method_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_method_response.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_plugin_registrar.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_plugin_registry.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_standard_message_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_standard_method_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_string_codec.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_value.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
fl_view.h,
/home/gregory/FlutterProjects/chat_client/linux/flutter/ephemeral/flutter_linux/
flutter_linux.h, _phony_
[   +4 ms] [ +222 ms] executing: [/home/gregory/snap/flutter/common/flutter/]
git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +98 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[        ] [   +1 ms] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] [   +1 ms] executing: [/home/gregory/snap/flutter/common/flutter/]
git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] [  +32 ms] Exit code 0 from: git tag --points-at
c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] [        ] 2.0.1
[        ] [ +119 ms] executing: [/home/gregory/snap/flutter/common/flutter/]
git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic
@{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/home/gregory/snap/flutter/common/flutter/]
git ls-remote --get-url origin
[        ] [  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [ +203 ms] executing: [/home/gregory/snap/flutter/common/flutter/]
git rev-parse --abbrev-ref HEAD
[        ] [  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [ +222 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.
[        ] [   +8 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[        ] [ +178 ms] Artifact Instance of 'MaterialFonts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required,
skipping update.
[        ] [        ] 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.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' 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.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required,
skipping update.
[        ] [ +247 ms] Initializing file store
[        ] [  +76 ms] Done initializing file store
[        ] [ +255 ms] Skipping target: gen_localizations
[        ] [+3875 ms] unpack_linux: Starting due to
{InvalidatedReason.outputMissing}
[        ] [+3763 ms] kernel_snapshot: Starting due to
{InvalidatedReason.inputChanged}
[        ] [   +6 ms] unpack_linux: Complete
[   +5 ms] [+3478 ms]
/home/gregory/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart
--disable-dart-dev
/home/gregory/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/f
rontend_server.dart.snapshot --sdk-root
/home/gregory/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flut
ter_patched_sdk/ --target=flutter --no-print-incremental-dependencies
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --packages
/home/gregory/FlutterProjects/chat_client/.dart_tool/package_config.json
--output-dill
/home/gregory/FlutterProjects/chat_client/.dart_tool/flutter_build/1f32e3a5e4066
9adcc92dc018ac381c4/app.dill --depfile
/home/gregory/FlutterProjects/chat_client/.dart_tool/flutter_build/1f32e3a5e4066
9adcc92dc018ac381c4/kernel_snapshot.d package:chat_client/main.dart
[   +2 ms] [+30464 ms] kernel_snapshot: Complete
[        ] [+1953 ms] debug_bundle_linux_assets: Starting due to
{InvalidatedReason.inputChanged, InvalidatedReason.outputMissing}
[        ] [+1009 ms] debug_bundle_linux_assets: Complete
[        ] [ +754 ms] Persisting file store
[        ] [  +19 ms] Done persisting file store
[        ] [  +47 ms] build succeeded.
[        ] [  +26 ms] "flutter assemble" took 46.252ms.
[        ] [ +265 ms] ensureAnalyticsSent: 252ms
[        ] [   +6 ms] Running shutdown hooks
[        ] [   +1 ms] Shutdown hooks complete
[        ] [   +1 ms] exiting with code 0
[+8353 ms] [2/6] Building CXX object
CMakeFiles/chat_client.dir/my_application.cc.o
[   +2 ms] [3/6] Building CXX object CMakeFiles/chat_client.dir/main.cc.o
[  +30 ms] [4/6] Building CXX object
CMakeFiles/chat_client.dir/flutter/generated_plugin_registrant.cc.o
[+1314 ms] [5/6] Linking CXX executable intermediates_do_not_run/chat_client
[        ] [5/6] Install the project...
[  +25 ms] -- Install configuration: "Debug"
[  +89 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/chat_client
[   +3 ms] -- Set runtime path of
"/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/chat_client"
to "$ORIGIN/lib"
[   +1 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/icudtl.d
at
[   +3 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/lib/libflutte
r_linux_gtk.so
[ +289 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets
[  +12 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets/AssetManifest.json
[   +1 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets/FontManifest.json
[   +1 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets/fonts
[   +2 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets/fonts/MaterialIcons-Regular.otf
[   +2 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets/kernel_blob.bin
[  +93 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets/version.json
[   +1 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets/packages
[        ] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets/packages/cupertino_icons
[        ] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets/packages/cupertino_icons/assets
[        ] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[   +1 ms] -- Installing:
/home/gregory/FlutterProjects/chat_client/build/linux/debug/bundle/data/flutter_
assets/NOTICES
[  +38 ms] Building Linux application... (completed in 71,9s)
[+3337 ms] Error waiting for a debug connection: The log reader stopped
unexpectedly.
[  +12 ms] Error launching application on Linux.
[   +9 ms] "flutter run" took 77.224ms.
[  +21 ms]
           #0      throwToolExit
(package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand
           (package:flutter_tools/src/commands/run.dart:644:9)
           <asynchronous suspension>
           #2      FlutterCommand.verifyThenRunCommand
           (package:flutter_tools/src/runner/flutter_command.dart:1157:12)
           <asynchronous suspension>
           #3      FlutterCommand.run.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command.dart:1009:27)
           <asynchronous suspension>
           #4      AppContext.run.<anonymous closure>
           (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #5      AppContext.run
(package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #6      CommandRunner.runCommand
(package:args/command_runner.dart:197:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:278:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure>
           (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      AppContext.run
(package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #10     FlutterCommandRunner.runCommand
           (package:flutter_tools/src/runner/flutter_command_runner.dart:234:5)
           <asynchronous suspension>
           #11     run.<anonymous closure>.<anonymous closure>
           (package:flutter_tools/runner.dart:64:9)
           <asynchronous suspension>
           #12     run.<anonymous closure>
(package:flutter_tools/runner.dart:62:12)
           <asynchronous suspension>
           #13     AppContext.run.<anonymous closure>
           (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #14     AppContext.run
(package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #15     runInContext
(package:flutter_tools/src/context_runner.dart:73:10)
           <asynchronous suspension>
           #16     main (package:flutter_tools/executable.dart:90:3)
           <asynchronous suspension>

[ +262 ms] ensureAnalyticsSent: 253ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +8 ms] Shutdown hooks complete
[        ] exiting with code 1

After this error occurred, I went to the folder APP_FOLDER/build/linux/debug/bundle
I opened the terminal and ran the built executable file.

logs
gregory@pc-PC:~/FlutterProjects/chat_client/build/linux/debug/bundle$ ./chat_client
flutter: Observatory listening on http://<IP_ADDRESS>:33511/JAG4m1p3TcU=/

So I had the idea to run the flutter attach, but to no avail.

logs
gregory@pc-PC:~/FlutterProjects/chat_client$ flutter attach -d linux
Waiting for a connection from Flutter on Linux...

I am having a similar issue. I am trying to run the Hello World app (the standard Counter app) and the app ran successfully in

iOS, Android, Web: on MacOS
Windows: on Windows 10 VM (MacOS host)

But the code does not work in Linux Ubuntu 20.04 VM (MacOS host).
The app launches a blank screen (even when building the app) with a looping crash.

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.1, on Linux, locale en_US.UTF-8)
    • Flutter version 2.0.1 at /home/parallels/fvm/versions/stable
    • Framework revision c5a4b4029c (4 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Linux

! Doctor found issues in 3 categories.

flutter clean
Deleting build...                                                    7ms
Deleting .dart_tool...                                               6ms
Deleting .packages...                                                0ms
Deleting Generated.xcconfig...                                       0ms
Deleting flutter_export_environment.sh...                            0ms
Deleting .flutter-plugins-dependencies...                            0ms
Deleting .flutter-plugins...

rm -rf linux

flutter config --enable-linux-desktop
Setting "enable-linux-desktop" value to "true".

You may need to restart any open editors for them to read new settings.

flutter create .
Recreating project ....
  linux/my_application.cc (created)
  linux/my_application.h (created)
  linux/main.cc (created)
  linux/.gitignore (created)
  linux/CMakeLists.txt (created)
  linux/flutter/CMakeLists.txt (created)
Running "flutter pub get" in triomino...                           638ms
Wrote 9 files.

All done!
In order to run your application, type:

  $ cd .
  $ flutter run

To enable null safety, type:

  $ cd .
  $ dart migrate --apply-changes

Your application code is in ./lib/main.dart.

flutter run -d linux -v
[  +58 ms] executing: [/home/parallels/snap/flutter/common/flutter/] git -c log.showSignature=false log
-n 1 --pretty=format:%H
[  +30 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] executing: [/home/parallels/snap/flutter/common/flutter/] git tag --points-at
c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[   +8 ms] Exit code 0 from: git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] 2.0.1
[  +28 ms] executing: [/home/parallels/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/beta
[        ] executing: [/home/parallels/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +31 ms] Unable to locate an Android SDK.
[   +5 ms] executing: [/home/parallels/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +62 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.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[  +61 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.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] 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.
[  +66 ms] Skipping pub get: version match.
[ +109 ms] Generating
/media/psf/Home/code/flutter/my_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistra
nt.java
[  +90 ms] Initializing file store
[   +8 ms] Skipping target: gen_localizations
[   +7 ms] complete
[   +4 ms] Launching lib/main.dart on Linux in debug mode...
[   +5 ms] /home/parallels/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/parallels/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.sn
apshot --sdk-root
/home/parallels/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/
--incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata --output-dill
/tmp/flutter_tools.OVZMCZ/flutter_tool.BJPEHJ/app.dill --packages
/media/psf/Home/code/flutter/my_app/.dart_tool/package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build/cache.dill.track.dill
[  +27 ms] Building Linux application...
[  +18 ms] <- compile package:my_app/main.dart
[   +4 ms] executing: [build/linux/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug
/media/psf/Home/code/flutter/my_app/linux
[ +242 ms] -- The CXX compiler identification is Clang 6.0.0
[   +8 ms] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++
[ +116 ms] -- Check for working CXX compiler: /snap/flutter/current/usr/bin/clang++ -- works
[   +3 ms] -- Detecting CXX compiler ABI info
[ +209 ms] -- Detecting CXX compiler ABI info - done
[   +6 ms] -- Detecting CXX compile features
[+1054 ms] -- Detecting CXX compile features - done
[   +8 ms] -- Found PkgConfig: /snap/flutter/current/usr/bin/pkg-config (found version "0.29.1")
[        ] -- Checking for module 'gtk+-3.0'
[  +21 ms] --   Found gtk+-3.0, version 3.22.30
[  +62 ms] -- Checking for module 'glib-2.0'
[  +13 ms] --   Found glib-2.0, version 2.56.4
[  +34 ms] -- Checking for module 'gio-2.0'
[  +12 ms] --   Found gio-2.0, version 2.56.4
[  +61 ms] -- Checking for module 'blkid'
[  +16 ms] --   Found blkid, version 2.31.1
[  +41 ms] -- Checking for module 'liblzma'
[  +15 ms] --   Found liblzma, version 5.2.2
[  +52 ms] -- Configuring done
[  +32 ms] -- Generating done
[   +7 ms] -- Build files have been written to: /media/psf/Home/code/flutter/my_app/build/linux/debug
[   +7 ms] executing: ninja -C build/linux/debug install
[  +12 ms] ninja: Entering directory `build/linux/debug'
[+15631 ms] [1/6] Generating
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/media/psf/Home/code/flutter/my_app/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[   +8 ms] [  +59 ms] executing: [/home/parallels/snap/flutter/common/flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +41 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[   +3 ms] [        ] executing: [/home/parallels/snap/flutter/common/flutter/] git tag --points-at
c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] [   +9 ms] Exit code 0 from: git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[        ] [        ] 2.0.1
[        ] [  +36 ms] executing: [/home/parallels/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/beta
[        ] [        ] executing: [/home/parallels/snap/flutter/common/flutter/] git ls-remote --get-url
origin
[        ] [   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +56 ms] Unable to locate an Android SDK.
[        ] [   +3 ms] executing: [/home/parallels/snap/flutter/common/flutter/] git rev-parse
--abbrev-ref HEAD
[        ] [  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] beta
[        ] [  +86 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.
[        ] [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[        ] [  +62 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping
update.
[   +4 ms] [        ] 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.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +2 ms] [        ] 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.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +63 ms] Initializing file store
[        ] [  +28 ms] Skipping target: gen_localizations
[        ] [   +7 ms] unpack_linux: Starting due to {}
[        ] [+1743 ms] kernel_snapshot: Starting due to {}
[        ] [   +5 ms] unpack_linux: Complete
[   +1 ms] [+1965 ms] /home/parallels/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart
--disable-dart-dev
/home/parallels/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.sn
apshot --sdk-root
/home/parallels/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/
--target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=false
--enable-asserts --track-widget-creation --packages
/media/psf/Home/code/flutter/my_app/.dart_tool/package_config.json --output-dill
/media/psf/Home/code/flutter/my_app/.dart_tool/flutter_build/b0aa01035e4a9c92bf1f65e9543ef307/app.dill
--depfile
/media/psf/Home/code/flutter/my_app/.dart_tool/flutter_build/b0aa01035e4a9c92bf1f65e9543ef307/kernel_sna
pshot.d package:my_app/main.dart
[  +12 ms] [+8469 ms] kernel_snapshot: Complete
[        ] [ +364 ms] debug_bundle_linux_assets: Starting due to {}
[   +1 ms] [+1217 ms] debug_bundle_linux_assets: Complete
[        ] [ +512 ms] Persisting file store
[        ] [   +6 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [   +7 ms] "flutter assemble" took 14,506ms.
[        ] [ +158 ms] ensureAnalyticsSent: 153ms
[        ] [   +6 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +441 ms] [2/6] Building CXX object CMakeFiles/my_app.dir/flutter/generated_plugin_registrant.cc.o
[  +78 ms] [3/6] Building CXX object CMakeFiles/my_app.dir/my_application.cc.o
[  +25 ms] [4/6] Building CXX object CMakeFiles/my_app.dir/main.cc.o
[ +178 ms] [5/6] Linking CXX executable intermediates_do_not_run/my_app
[        ] [5/6] Install the project...
[  +10 ms] -- Install configuration: "Debug"
[   +5 ms] -- Installing: /media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/my_app
[  +18 ms] -- Set runtime path of "/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/my_app"
to "$ORIGIN/lib"
[   +2 ms] -- Installing: /media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/icudtl.dat
[  +31 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/lib/libflutter_linux_gtk.so
[+2678 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets
[   +2 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets/AssetManifest.json
[   +3 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets/FontManifest.json
[   +2 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets/fonts
[   +2 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Reg
ular.otf
[  +28 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets/kernel_blob.bin
[ +871 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets/NOTICES
[  +30 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets/packages
[   +1 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icon
s
[   +2 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icon
s/assets
[   +2 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icon
s/assets/CupertinoIcons.ttf
[  +12 ms] -- Installing:
/media/psf/Home/code/flutter/my_app/build/linux/debug/bundle/data/flutter_assets/version.json
[  +14 ms] Building Linux application... (completed in 22.2s)
[ +191 ms] ** (my_app:46382): WARNING **: 22:26:23.539: Failed to start Flutter renderer: Failed to
choose EGL config: Unknown Error
[   +1 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:23.539: gdk_window_get_scale_factor: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:23.539: gdk_window_get_scale_factor: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:23.539: gdk_window_show_internal: assertion
'GDK_IS_WINDOW (window)' failed
[  +12 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:23.548: gdk_window_get_scale_factor: assertion
'GDK_IS_WINDOW (window)' failed
[  +21 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:23.583: gdk_window_get_scale_factor: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:23.584: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +2 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:23.584: gdk_window_get_scale_factor: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:23.584: gdk_window_get_scale_factor: assertion
'GDK_IS_WINDOW (window)' failed
[   +1 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:23.589: gdk_window_move_resize_internal: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:23.589: gdk_window_get_scale_factor: assertion
'GDK_IS_WINDOW (window)' failed
[   +1 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:23.589: gdk_window_get_position: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:23.589: gdk_window_invalidate_maybe_recurse_full:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:23.589: gdk_window_get_parent: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gtk-CRITICAL **: 22:26:23.589: gtk_cairo_should_draw_window: assertion
'GDK_IS_WINDOW (window)' failed
[  +30 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:23.620: gdk_window_move_resize_internal: assertion
'GDK_IS_WINDOW (window)' failed
[   +2 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:23.620: gdk_window_get_scale_factor: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:23.620: gdk_window_get_position: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:23.620: gdk_window_invalidate_maybe_recurse_full:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:23.620: gdk_window_get_parent: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gtk-CRITICAL **: 22:26:23.620: gtk_cairo_should_draw_window: assertion
'GDK_IS_WINDOW (window)' failed
[ +461 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.086: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[ +661 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.748: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +6 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.755: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.762: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +9 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.772: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +6 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.779: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.788: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.795: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.804: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.812: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.820: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.828: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.837: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.845: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.853: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.861: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.869: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.877: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.885: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.893: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.901: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:24.909: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[ +303 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.213: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.221: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.229: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.237: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.245: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.253: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.261: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.269: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.278: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.286: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.294: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.302: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.311: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.319: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.327: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.335: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.344: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.351: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.360: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.368: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.376: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.384: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.393: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.401: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.409: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[  +40 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.449: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +1 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.451: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[ +501 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:25.952: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[ +726 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:26.679: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[ +140 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:26.819: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +7 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:26.826: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +9 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:26.836: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +6 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:26.843: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +8 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:26.851: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[   +1 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:26.852: gdk_window_get_effective_parent: assertion
'GDK_IS_WINDOW (window)' failed
[  +88 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:26.941: gdk_window_move_resize_internal: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.941: gdk_window_get_scale_factor: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.941: gdk_window_get_position: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.941: gdk_window_invalidate_maybe_recurse_full:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.941: gdk_window_get_parent: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gtk-CRITICAL **: 22:26:26.941: gtk_cairo_should_draw_window: assertion
'GDK_IS_WINDOW (window)' failed
[  +25 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:26.968: gdk_window_move_resize_internal: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.968: gdk_window_get_scale_factor: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.968: gdk_window_get_position: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.968: gdk_window_invalidate_maybe_recurse_full:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.968: gdk_window_get_parent: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gtk-CRITICAL **: 22:26:26.968: gtk_cairo_should_draw_window: assertion
'GDK_IS_WINDOW (window)' failed
[  +18 ms] (my_app:46382): Gdk-CRITICAL **: 22:26:26.987: gdk_window_move_resize_internal: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.987: gdk_window_get_scale_factor: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.987: gdk_window_get_position: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.987: gdk_window_invalidate_maybe_recurse_full:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gdk-CRITICAL **: 22:26:26.987: gdk_window_get_parent: assertion
'GDK_IS_WINDOW (window)' failed
[        ] (my_app:46382): Gtk-CRITICAL **: 22:26:26.987: gtk_cairo_should_draw_window: assertion
'GDK_IS_WINDOW (window)' failed
^C%

It worked like a charm, thank you very much @TahaTesser .
I followed the steps installing the Flutter manually.
Then I had to run the command: flutter clean
in my project directory to remove any references from /snap/flutter
gregory@pc-PC:~/FlutterProjects/chat_client$ flutter clean

flutter clean is important, I found errors without executing this command, it seems to me that the project folder was referring to the flutter snap installation folders.
gregory@pc-PC:~/FlutterProjects/chat_client$ flutter run -d linux
Launching lib/main.dart on Linux in debug mode...
Building Linux application...
Syncing files to device Linux...                                   556ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

Hi @marcusgregory
Glad you resolved the issue, given your last message I feel safe to close this issue if you disagree please write in the comments and I will reopen it.
Thank you


[MMCA-4308]  Improve Unit Test coverage

Please update the coverageMinimumStmtTotal (in build.sbt) to 80 as we discussed


Update tykky.md

Tykky is a set of tools for easy installation of tools to HPC using Apptainer containers.  --> Tykky is a set of tools which make software installations to HPC easier using Apptainer/Singularity containers.
Rewrite such that tools isn't mentioned twice. Consistent use of "Apptainer/Singularity"
Sorry this was missed in the original PR.

Resolved in https://github.com/CSCfi/csc-user-guide/pull/1429.
Closed.


Adding NatssChannel CRD for release script

Proposed Changes

adding natss channel (CRD) to release script (was not added with #491)

Release Note

/approve
/lgtm

/cancel hold
@grantr updated! good point!

/hold cancel


Does Vec satisfy the DistinctStorage guarantee?

pub unsafe trait DistinctStorage is described as:

This is a marker trait which requires you to uphold the following guarantee:

Multiple threads may call get_mut() with distinct indices without causing
undefined behavior.

This is for example valid for Vec:
vec![1, 2, 3];

We may modify both element 1 and 2 at the same time; indexing the vector mutably
does not modify anything else than the respective elements.
As a counter example, we may have some kind of cached storage; it caches
elements when they're retrieved, so pushes a new element to some cache-vector.
This storage is not allowed to implement DistinctStorage.
Implementing this trait marks the storage safe for concurrent mutation (of distinct
elements), thus allows join_par().

As I read this, I thought about how Vecs densely pack values, including things like 3-byte structs, which means Vec elements can be unaligned and/or smaller than the processor's native memory addressability. A write to a single 3-byte element would be executed as a 4- or 8-byte read/modify/write on ARM, and it would be legal to optimize into that on x86.
Then I thought about &muts don't require atomic loads or stores, so the compiler is free to rearrange or optimize away memory operations without thinking about concurrency at all. This freedom extends to the CPU too -- different processors modifying distinct elements in the same cache line are free to perform independent read/modify/write cycles using independent caches, which means writes from one processor will not necessarily be seen before getting overwritten by other processors.
Is it safe to concurrently mutate adjacent Vec elements without memory barriers? What makes it so? Is this universally true for all Vecs on all architectures?

I am not sure about this, but I was able to do this in perfectly safe rust.

cc @nikomatsakis

A write to a single 3-byte element would be executed as a 4- or 8-byte read/modify/write on ARM, and it would be legal to optimize into that on x86.

This doesn't seem right. Size and stride of the struct is 3 bytes, there is no guarantee that the following byte is even readable or writable as it might be in another page. Can anyone demonstrate the use of 4-byte r/w instructions here?

On a good night's rest, I think I have some answers:

It's not legal to compile byte stores to larger-than-byte load/modify/stores.
Addressability concerns come from unaligned larger-than-byte loads/stores, not byte loads/stores. Platforms that have addressability concerns can paper over them over by emulating e.g. an unaligned u16 store as a pair of u8 stores. This costs of performance, but not correctness; storing a u16 results in overwriting only the bytes in question with no R/M/W cycles on adjacent bytes.
Cache coherence protocols ensure that a store -- even a regular, non-atomic store -- to part of a cache line invalidates everyone else's copy of that cache line. If multiple threads want to write multiple bytes to the same cache line, these writes will get serialized, again at costing performance but preserving correctness.

Put together, this means that everything in the memory subsystem can happen in any order, without barriers, and it all Just Works™. As long as the different threads load/store completely disjoint sets of bytes, there's no data races and no UB.

That's great to here! I'm very glad it turned out to be correct. But still thanks for sharing your concerns @willglynn!

see also https://github.com/nikomatsakis/rust-memory-model/issues/43, which seems relevant


arch: riscv: linker: fix _image_rom_start symbol

In riscv linker script, fix _image_rom_start symbol from 0 to the start address of ROM.
image_rom_[start|end] is a one PMP region of ROM and do it's alignment if RISC-V PMP is enabled.
If rom start symbol is 0, the padding of rom end symbol will be too large.
Related to #31811
Update: add example
build tests/kernel/mem_protect/protection on hifive1_revb board with CONFIG_PMP_POWER_OF_TWO_ALIGNMENT=y
Before fix:
nm zephyr/zephyr.elf | grep _image_rom
00000000 T _image_rom_start
40000000 B _image_rom_end
40000000 A _image_rom_size

After fix:
nm zephyr/zephyr.elf | grep _image_rom
20010000 T _image_rom_start
20018000 B _image_rom_end
00008000 A _image_rom_size

@katsuster maybe take a look at this possible bug-fix PR?

I agree with @cwshu. Flash area is started from 0x2000_0000~.
I'm not sure the purpose of original setting.
My concern is HiFive1's SoC (Freedom E310) has many memory regions in 0x1000~0x2000_0000.

0x1000: Mode Select
0x3000: Error Device
0x1_0000: Mask ROM
0x2_0000: OTP Memory Region
0x200_0000: CLINT
and so on

Is it OK to remove these areas as Image ROM area??

@katsuster, @ioannisg, Thanks for your review.
@katsuster
image_rom is for placing code/rodata and PMP will protect it as non-writable (RX), so the MMIO regions of peripherals should be removed from it.  Also, I think arch linker script can only assign 1 ROM as the ROMABLE_REGION currently. If the SoC has 2nd ROM and wants to use both, it may need to customize linker script to support it.
@ioannisg
Explicitly assign ROM_BASE to image_rom_start sounds like more clearly, I will update it, thanks.

Update: set image_rom_start to ROM_BASE.

Otherwise LGTM.


official website api list is incomplete

I found official website api list is incomplete,the url is http://www.idangero.us/swiper/api/.
For example,i use the method destory,but don't know how to reinitialize.
Now,i found there is a method called init,it's worked,but i don't know if this is the right way.

init is internal method, if you need to reint swiper after destory, just init it again using new Swiper(...)


Timeout ceph must gather

/assign @ashishranjan738

yes no need take any special measures

/cherry-pick release-4.2

/cherrypick release-4.2


add "expand/collapse all" button to zone changelog

This makes it possible to Ctrl-F search a zone's changelog.
Most of the changes are indentation, since it was necessary to move the show_changes() and related functions outside the $('table.changelog').each()-block.
show_changelog() was called with a second parameter, but it did not accept such one--I assume, a remnant of a previous version. I have removed the parameter from this call, and replaced it with a new optional one,  which allows one to instead of toggling an entry, either show or hide it.
As usual, happy to change anything and thanks for your maintenance.

Discovered one little bug after merging: expand all was not quite being selective enough once rows had already been expanded at least once. Fixed in 869b64f.


Generate the presenter into the local application

This makes it easier to add custom behavior to the local application in
the correct place. This follows the behavior of the form object.

@jcoyne Should we add a note to the release notes that says "run the work generator again to generate presenter/presenter spec" ?

@mjgiarlo that's not necessary. Things will continue to work just fine without a generated presenter. This just makes it easier on newcomers.


Ctrl + Enter shortcut to open selected folder in a new tab

What's the Problem?
There is currently no quick way to open a folder in a new tab.
Solution/Idea
The idea would be to include some keyboard shortcut and/or Keyboard+Mouse combos to open a folder as a new tab.
Alternatives

Ctrl+Enter
Shift+Enter

Impossible combinations include:

Alt+Enter (Opens Properties)
Shift+Double-Click (In single-click mode, Shift is used to select)

Priorities

Capability
Priority

Let users open a single folder in a new tab.
Must

Involve as few inputs as possible
Should

Move the view to the newly opened tab by default
Should

Have an option to not move the view to the newly opened tab
Could

Should not interfere with existing shortcuts
Won't

Files Version
<IP_ADDRESS>
Windows Version
Windows 11 Pro 22H2 22621.169
Comments
Though a keyboard shortcut alone would be amazing, it would also be extremely useful to have a keyboard+mouse combo since a lot of people tend to have one mouse on the keyboard and one on the mouse when using Files.

Ctrl + Enter should work.

Note: the keyboard+Click part is covered by #6539

Hello all, noob dev here trying to obtain some open-source C# experience. I have a hunch of how to implement this but am looking for some direction on how to proceed.
My initial idea is to find the .xaml file(s) related to folder/drive selection and implement a keyboard accelerator that calls the OpenPathInNewTab() method in the src\Files.Uwp\Helpers\NavigationHelpers.cs class
However I have been looking for a few days and am unable to figure out how a folder is determined to be selected and what the corresponding .xaml file(s) are. I am wondering if anyone is able to kindly provide some general guidance? Thank you in advance.
@ELowry  @yaichenbaum


add some sort of interaction to the navigator to be able to focus on a component

right now, you have to use the context menu to Edit component in the navigator, it feels hard to discover and flow-stopping. We should either show a "closed chevron" or some other button to activate Focus mode. I personally wouldn't mind if double clicking in the navigator would mirror double clicking on the canvas! (instead of activating the rename mode, which can be activated from CMD + R anyways)

Double-click to focus a component was added a while back


Q: Why logs and templates are out of src?

Just need a brief description about the skeleton specifically why logs and templates more specifically templates are out of src?

src contains PHP files, templates contains HTML files. logs contains log files and in production probably wouldn't be directly with the application.

So in that case why to not include templates in public directory?

Files in the public directory are accessible by and served by the web server directly. Hence any file in that directly could be served to a browser and we don't want the templates served directly as they need to be processed by PHP.

Okay thanks, I understood the concept of these directories.

You're very welcome.


Debug iroha CI

Description
DONT MERGE

Linked issue

Closes #{issue_number}

Benefits

Checklist

[ ] I've read CONTRIBUTING.md
[ ] I've used the standard signed-off commit format (or will squash just before merging)
[ ] All applicable CI checks pass (or I promised to make them pass later)
[ ] (optional) I've written unit tests for the code changes
[ ] I replied to all comments after code review, marking all implemented changes with thumbs up

The issue is related to SFINAE, and will require a direct intervention. I'll attempt a fix in due course.


Export ONNX fail  with export_onnx_gpu.py

error.log
Attached error.log is showed with verbose.
i tried with different onnxruntime versions, still gave the same errors.  Simple log is as follow:
python3 wenet/bin/export_onnx_gpu.py --config=/home/ricky/heqing/8w-hours/squeezeformer-8whr-avg2/train.yaml --checkpoint=/home/ricky/heqing/8w-hours/squeezeformer-8whr-avg2/avg_10_156000_13_196000.pt --cmvn_file=/home/ricky/heqing/8w-hours/squeezeformer-8whr-avg2/global_cmvn  --ctc_weight=0.5 --output_onnx_dir=/tmp
Failed to import k2 and icefall.         Notice that they are necessary for hlg_onebest and hlg_rescore
Update ctc weight to  0.5
/home/ricky/wenet_train_res/wenet_tools_git/wenet/utils/mask.py:213: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
max_len = max_len if max_len > 0 else lengths.max().item()
/home/ricky/wenet_train_res/wenet_tools_git/wenet/transformer/embedding.py:96: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
assert offset + size < self.max_len
/home/ricky/wenet_train_res/wenet_tools_git/wenet/squeezeformer/attention.py:187: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
if cache.size(0) > 0:
/home/ricky/wenet_train_res/wenet_tools_git/wenet/squeezeformer/attention.py:119: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
if mask.size(2) > 0:  # time2 > 0
/home/ricky/wenet_train_res/wenet_tools_git/wenet/squeezeformer/convolution.py:140: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
if mask_pad.size(2) > 0:  # time > 0
/home/ricky/wenet_train_res/wenet_tools_git/wenet/squeezeformer/convolution.py:171: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
if mask_pad.size(2) > 0:  # time > 0
/home/ricky/wenet_train_res/wenet_tools_git/wenet/squeezeformer/subsampling.py:159: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
if L - T < 0:
[0, 0, 0] [-1, -1, -1]
2022-12-21 19:30:33.720608405 [W:onnxruntime:, constant_folding.cc:150 ApplyImpl] Unsupported output type of N11onnxruntime22SequenceTensorTypeBaseE. Can't constant fold SequenceEmpty node 'SequenceEmpty_2506'
2022-12-21 19:30:33.768034651 [W:onnxruntime:, constant_folding.cc:150 ApplyImpl] Unsupported output type of N11onnxruntime22SequenceTensorTypeBaseE. Can't constant fold SequenceEmpty node 'SequenceEmpty_2506'
2022-12-21 19:30:33.812875437 [W:onnxruntime:, constant_folding.cc:150 ApplyImpl] Unsupported output type of N11onnxruntime22SequenceTensorTypeBaseE. Can't constant fold SequenceEmpty node 'SequenceEmpty_2506'
2022-12-21 19:30:35.151413519 [E:onnxruntime:, sequential_executor.cc:333 Execute] Non-zero status code returned while running MatMul node. Name:'MatMul_2528' Status Message: Not satisfied: K_ == right_shape[right_num_dims - 2] || transb && K_ == right_shape[right_num_dims - 1]
matmul_helper.h:42 ComputeMatMul dimension mismatch
Traceback (most recent call last):
File "wenet/bin/export_onnx_gpu.py", line 574, in
onnx_config = export_enc_func(model, configs, args, logger, encoder_onnx_path)
File "wenet/bin/export_onnx_gpu.py", line 331, in export_offline_encoder
ort_outs = ort_session.run(None, ort_inputs)
File "/home/ricky/anaconda3/envs/wenet/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 124, in run
return self.sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'MatMul_2528' Status Message: Not satisfied: K == right_shape[right_num_dims - 2] || transb && K_ == right_shape[right_num_dims - 1]
matmul_helper.h:42 ComputeMatMul dimension mismatch

why there is log of k2

Failed to import k2 and icefall. Notice that they are necessary for hlg_onebest and hlg_rescore
Update ctc weight to 0.5

export_onnx_gpu does not support SqueezeFormer

why there is log of k2

Failed to import k2 and icefall. Notice that they are necessary for hlg_onebest and hlg_rescore
Update ctc weight to 0.5

I think it is normal behaviour: https://github.com/wenet-e2e/wenet/pull/1521#discussion_r1006467991

@yygle @yuekaizhang do you have time to fix the problem?

I'll check it this week.

The failure came after the export of encoder.onnx . I have a program which test the valid of the onnx structure.
./onnx-test /tmp/encoder.onnx
2022-12-24 14:55:54.454720687 [W:onnxruntime:, constant_folding.cc:157 ApplyImpl] Unsupported output type of N11onnxruntime22SequenceTensorTypeBaseE. Can't constant fold SequenceEmpty node 'SequenceEmpty_2506'
2022-12-24 14:55:54.496876808 [W:onnxruntime:, constant_folding.cc:157 ApplyImpl] Unsupported output type of N11onnxruntime22SequenceTensorTypeBaseE. Can't constant fold SequenceEmpty node 'SequenceEmpty_2506'
2022-12-24 14:55:54.518339949 [W:onnxruntime:, constant_folding.cc:157 ApplyImpl] Unsupported output type of N11onnxruntime22SequenceTensorTypeBaseE. Can't constant fold SequenceEmpty node 'SequenceEmpty_2506'
terminate called after throwing an instance of 'Ort::Exception'
what():  Got invalid dimensions for input: speech for the following indices
 index: 2 Got: 1 Expected: 80
 Please fix either the inputs or the model.

This is because of the torch.repeat_interleave operator,
if you are urgent to use it in offline, change xs = torch.repeat_interleave(xs, repeats=2, dim=1) to xs = xs.unsqueeze(2).repeat(1, 1, 2, 1).flatten(1, 2) in the forward function.
As for the streaming mode, it should be rewrited.
I'll fix it later, please wait for a while if you are not that urgent.
Thanks!

thanks, it works for offline conversion

https://github.com/wenet-e2e/wenet/pull/1634
Please try this if you are free. Note that the time_reduction_layer_type should be stream if you want to export model in streaming mode.


Support additional visualizers directories

I want to use my custom visualizers from VS2019.
Related to https://github.com/microsoft/vscode-cpptools/issues/925

This would be great.


php hangs at https://payments.amazon.com/gp/widgets/hosted

Sandbox works fine, but after switching
<script type='text/javascript' src="https://static-na.payments-amazon.com/OffAmazonPayments/us/sandbox/js/Widgets.js"> to
<script type='text/javascript' src="https://static-na.payments-amazon.com/OffAmazonPayments/us/js/Widgets.js">,
the payment always hangs ahttps://payments.amazon.com/gp/widgets/hosted.
With the sandbox js, there is a GET response, but the GET never comes with the production js.

That's true! did you solve this issue?


Python scripts for ros humble

Hi,
I'm interested in using python script for running demo of using the moveit task constructor. I have cloned py_binding_package in ros2 branch and run "ros2 run moveit_task_constructor_demo pickplace.py" but I have received the following error:
No module named 'py_binding_tools'
I was wondering what could be an issue after cloning py_binding_tools and decided to ask for help in this issue section. Your help in this matter will greatly appreciated.
Thank you in advance!

The Python binding for ROS2 are not yet available.


Update README.md

link for help document of creating trial account not valid anymore.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Unable to use an existing json file using "ref"

Sample-
request.json
{
"title":"Request",
"description":"Request Object",
"type":"object",
"properties": {
"TestRequest": {
"description":"The response object corresponding to the token suspend request.",
"$ref": "spec.json"
}
},
"required": [
"TestRequest"
]
}
spec.json
{
"title":"Data in Request",
"description":"Contains the details of the Data elements",
"type":"object",
"properties": {
"Attribute1": {
"description":"The attribute object.",
"$ref": "another_file.json"
}
},
"required": [
"Attribute1"
]
}
The above code works and generates the pojos fine as expected.
But when I start referencing the "spec.json" from another new request2.json object, the pojo generation gets screwed up.
Need help.

I kind of found a problem, the order in which the files are sequenced in the folder seems to matter. As there are multiple files referencing the spec.json, unless that object gets created first, the first one in the folder ends up winning the baton.

Hi. How does the generation get screwed up?


[BUG DUPLICATION] With Piston and JukeBox

I have found this bug by inspecting my 1.12.2 server for possible bugs. The video is in Spanish. But just by watching it you can understand how it works.
Dupe Bug 1.12.2

I'm pretty sure the reason this Dupe doesn't work with optifine is because forge already applies a fix for this bug.


⚠ Samsung has degraded performance

In d897e4f, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2585 ms

Resolved: Samsung performance has improved in 6015ff5.


Loading a glyph or pdb file from the url does not work anymore...

Working with 1.1.20 but broken with current version.
Don't know which version is the one breaking the url data loading.

FYI #56

:tada: This issue has been resolved in version 1.1.31 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: