Open rostopira opened 5 months ago
Thanks, @rostopira, for opening this issue
I think it's related to the flutter as you can see the file path is located in the flutter SDK.
But, let's try to find the issue toughener.
Can you give me more information about your environment
host machine (your pc):
remote machine (raspberry pi):
Hello, raspberry pi stuck in Got dependecies. RaspbPi 3b+.
/home/anatoly/sdk/flutter/bin/internal/shared.sh: line 183: 35298 Killed "$DART" --verbosity=error --disable-dart-dev $FLUTTER_TOOL_ARGS --snapshot="$SNAPSHOT_PATH" --snapshot-kind="app-jit" --packages="$FLUTTER_TOOLS_DIR/.dart_tool/package_config.json" --no-enable-mirrors "$SCRIPT_PATH" > /dev/null
HOST ENVIRONMENT: air-de-marilan:displaynetunoapp marilantagliari$ flutter --version Flutter 3.22.2 • channel stable • https://github.com/flutter/flutter.git Framework • revision 761747bfc5 (5 weeks ago) • 2024-06-05 22:15:13 +0200 Engine • revision edd8546116 Tools • Dart 3.4.3 • DevTools 2.34.3
air-de-marilan:displaynetunoapp marilantagliari$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.0 23A344 darwin-arm64,
locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version
33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.83.1)
[✓] Connected device (6 available)
[✓] Network resources
• No issues found! air-de-marilan:displaynetunoapp marilantagliari$ flutter doctor -v [✓] Flutter (Channel stable, 3.22.2, on macOS 14.0 23A344 darwin-arm64, locale pt-BR) • Flutter version 3.22.2 on channel stable at /Users/marilantagliari/fvm/versions/3.22.2 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 761747bfc5 (5 weeks ago), 2024-06-05 22:15:13 +0200 • Engine revision edd8546116 • Dart version 3.4.3 • DevTools version 2.34.3
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1) • Android SDK at /Users/marilantagliari/Library/Android/sdk • Platform android-34, build-tools 33.0.1 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15F31d • CocoaPods version 1.15.2
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.83.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.90.0
REMOTE MACHINE: Raspberry 4b - Raspbian netunotrack@netunotrack:~ $ dmesg [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.6.31+rpt-rpi-v8 (serge@raspberrypi.com) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29)
netunotrack@netunotrack:~ $ flutter doctor -v Building flutter tool... Resolving dependencies... (23.5s) Downloading packages... Got dependencies.
its not possible to get flutter doctor because freeze or kill after got dependencies.
/home/netunotrack/sdk/flutter/bin/internal/shared.sh: line 183: 1797 Killed "$DART" --verbosity=error --disable-dart-dev $FLUTTER_TOOL_ARGS --snapshot="$SNAPSHOT_PATH" --snapshot-kind="app-jit" --packages="$FLUTTER_TOOLS_DIR/.dart_tool/package_config.json" --no-enable-mirrors "$SCRIPT_PATH" > /dev/null
netunotrack@netunotrack:~ $ snapp_installer doctor
**** Doctor summary: ****
Installation:
✓ | Linux Dependency packages | curl git unzip ...
Kiosk Mode: x11
✓ | Auto login is enabled in your device ✘ | Kiosk mode is enabled ✘ | Kiosk mode packages | xset xdotool ...
DMESG log: [ 345.611500] [ 1822] 1000 1822 2026 448 45056 0 0 bash [ 345.611509] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=dart:flutter_to,pid=1797,uid=1000 [ 345.611585] Out of memory: Killed process 1797 (dart:flutter_to) total-vm:1524432kB, anon-rss:807416kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:2304kB oom_score_adj:0
I've tried everything already, everytime getting stuck on it and then process get's killed or system frezees.