Skip to content

Segment fault (11) while running Flutter on WSL2 #96184

@seankzw

Description

@seankzw

Steps to Reproduce

I installed Flutter on WSL2, Ubuntu Terminal and faced this issue when running flutter run .
I followed exactly the instructions on how to install Flutter manually

I also tried to run flutter run in Powershell but it works fine.

I have tried to run in other flutter project, which produces the same error as shown below.

flutter run

Launching lib/main.dart on SM N975F in debug mode...
../../runtime/bin/snapshot_utils.cc: 143: error: Failed to memory map snapshot:
/home/seankzw/development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot


===== CRASH =====
si_signo=Segmentation fault(11), si_code=1, si_addr=0x10
Aborting re-entrant request for stack trace.
the Dart compiler exited unexpectedly.
the Dart compiler exited unexpectedly.

Logs

Logs

 flutter run --verbose
[ +163 ms] executing: uname -m
[ +320 ms] Exit code 0 from: uname -m
[   +2 ms] x86_64
[  +13 ms] executing: [/home/seankzw/development/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +71 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[   +2 ms] executing: [/home/seankzw/development/flutter/] git tag --points-at
77d935af4db863f6abd0b9c31c7e6df2a13de57b
[ +177 ms] Exit code 0 from: git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[   +1 ms] 2.8.1
[  +18 ms] executing: [/home/seankzw/development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +151 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [/home/seankzw/development/flutter/] git ls-remote --get-url origin
[ +161 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +373 ms] executing: [/home/seankzw/development/flutter/] git rev-parse --abbrev-ref HEAD
[ +169 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[ +145 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.
[   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +123 ms] executing: /home/seankzw/Applications/android/platform-tools/adb devices -l
[ +256 ms] List of devices attached
                    RF8M903V3XR            device product:d2sxx model:SM_N975F device:d2s
                    transport_id:21
[  +18 ms] /home/seankzw/Applications/android/platform-tools/adb -s RF8M903V3XR shell getprop
[ +280 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +4 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.
[ +295 ms] Skipping pub get: version match.
[  +78 ms] Found plugin cloud_firestore at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.1.5/
[  +22 ms] Found plugin cloud_firestore_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.5/
[  +18 ms] Found plugin firebase_auth at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.3.4/
[   +8 ms] Found plugin firebase_auth_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-3.3.5/
[   +5 ms] Found plugin firebase_core at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.10.6/
[   +5 ms] Found plugin firebase_core_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.5.3/
[  +11 ms] Found plugin flutter_plugin_android_lifecycle at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[   +8 ms] Found plugin google_maps_flutter at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.1.1/
[  +29 ms] Found plugin location at /home/seankzw/.pub-cache/hosted/pub.dartlang.org/location-4.3.0/
[   +7 ms] Found plugin location_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/location_web-3.1.1/
[  +79 ms] Found plugin url_launcher at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.17/
[   +6 ms] Found plugin url_launcher_android at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.13/
[   +6 ms] Found plugin url_launcher_ios at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.13/
[   +5 ms] Found plugin url_launcher_linux at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.2/
[   +6 ms] Found plugin url_launcher_macos at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.2/
[   +7 ms] Found plugin url_launcher_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.5/
[   +3 ms] Found plugin url_launcher_windows at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[  +41 ms] Found plugin integration_test at
/home/seankzw/development/flutter/packages/integration_test/
[ +261 ms] Found plugin cloud_firestore at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.1.5/
[   +5 ms] Found plugin cloud_firestore_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.5/
[  +10 ms] Found plugin firebase_auth at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.3.4/
[   +4 ms] Found plugin firebase_auth_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-3.3.5/
[   +3 ms] Found plugin firebase_core at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.10.6/
[   +4 ms] Found plugin firebase_core_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.5.3/
[   +9 ms] Found plugin flutter_plugin_android_lifecycle at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[   +4 ms] Found plugin google_maps_flutter at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.1.1/
[  +13 ms] Found plugin location at /home/seankzw/.pub-cache/hosted/pub.dartlang.org/location-4.3.0/
[   +3 ms] Found plugin location_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/location_web-3.1.1/
[  +30 ms] Found plugin url_launcher at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.17/
[   +3 ms] Found plugin url_launcher_android at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.13/
[   +4 ms] Found plugin url_launcher_ios at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.13/
[   +3 ms] Found plugin url_launcher_linux at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.2/
[   +3 ms] Found plugin url_launcher_macos at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.2/
[   +5 ms] Found plugin url_launcher_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.5/
[   +3 ms] Found plugin url_launcher_windows at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[  +40 ms] Found plugin integration_test at
/home/seankzw/development/flutter/packages/integration_test/
[  +34 ms] Generating
/mnt/s/Seank/PersonalProjects/rota_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginReg
istrant.java
[ +173 ms] ro.hardware = exynos9825
[        ] ro.build.characteristics = phone
[  +86 ms] Initializing file store
[  +26 ms] Skipping target: gen_localizations
[  +20 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The
following inputs have updated contents:
/mnt/s/Seank/PersonalProjects/rota_app/.dart_tool/package_config_subset}
[  +38 ms] Found plugin cloud_firestore at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.1.5/
[   +3 ms] Found plugin cloud_firestore_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.5/
[   +8 ms] Found plugin firebase_auth at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.3.4/
[   +3 ms] Found plugin firebase_auth_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-3.3.5/
[   +2 ms] Found plugin firebase_core at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.10.6/
[   +3 ms] Found plugin firebase_core_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.5.3/
[   +6 ms] Found plugin flutter_plugin_android_lifecycle at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[   +3 ms] Found plugin google_maps_flutter at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.1.1/
[  +10 ms] Found plugin location at /home/seankzw/.pub-cache/hosted/pub.dartlang.org/location-4.3.0/
[   +2 ms] Found plugin location_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/location_web-3.1.1/
[  +22 ms] Found plugin url_launcher at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.17/
[   +4 ms] Found plugin url_launcher_android at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.13/
[   +2 ms] Found plugin url_launcher_ios at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.13/
[   +1 ms] Found plugin url_launcher_linux at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.2/
[   +1 ms] Found plugin url_launcher_macos at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.2/
[   +2 ms] Found plugin url_launcher_web at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.5/
[   +1 ms] Found plugin url_launcher_windows at
/home/seankzw/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[  +13 ms] Found plugin integration_test at
/home/seankzw/development/flutter/packages/integration_test/
[   +7 ms] gen_dart_plugin_registrant: Complete
[  +12 ms] Skipping target: _composite
[   +4 ms] complete
[  +10 ms] Launching lib/main.dart on SM N975F in debug mode...
[  +10 ms] /home/seankzw/development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/seankzw/development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot
--sdk-root /home/seankzw/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/
--incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.ISCOXM/flutter_tool.IBSBQI/app.dill
--packages /mnt/s/Seank/PersonalProjects/rota_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/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[  +19 ms] executing: /home/seankzw/Applications/android/build-tools/30.0.3/aapt dump xmltree
/mnt/s/Seank/PersonalProjects/rota_app/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[ +893 ms] Exit code 0 from: /home/seankzw/Applications/android/build-tools/30.0.3/aapt dump xmltree
/mnt/s/Seank/PersonalProjects/rota_app/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +2 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.oneeight.rotaapp" (Raw: "com.oneeight.rotaapp")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x14
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw:
                 "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.ACCESS_FINE_LOCATION" (Raw:
                 "android.permission.ACCESS_FINE_LOCATION")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="android.permission.FOREGROUND_SERVICE" (Raw:
                 "android.permission.FOREGROUND_SERVICE")
               E: uses-permission (line=17)
                 A: android:name(0x01010003)="android.permission.ACCESS_BACKGROUND_LOCATION" (Raw:
                 "android.permission.ACCESS_BACKGROUND_LOCATION")
               E: queries (line=19)
                 E: intent (line=22)
                   E: action (line=23)
                     A: android:name(0x01010003)="android.intent.action.VIEW" (Raw:
                     "android.intent.action.VIEW")
                   E: data (line=25)
                     A: android:scheme(0x01010027)="https" (Raw: "https")
                 E: intent (line=28)
                   E: action (line=29)
                     A: android:name(0x01010003)="android.intent.action.DIAL" (Raw:
                     "android.intent.action.DIAL")
                   E: data (line=31)
                     A: android:scheme(0x01010027)="tel" (Raw: "tel")
               E: uses-permission (line=35)
                 A: android:name(0x01010003)="android.permission.ACCESS_COARSE_LOCATION" (Raw:
                 "android.permission.ACCESS_COARSE_LOCATION")
               E: uses-permission (line=36)
                 A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw:
                 "android.permission.ACCESS_NETWORK_STATE")
               E: uses-permission (line=37)
                 A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw:
                 "android.permission.WAKE_LOCK")
               E: uses-feature (line=39)
                 A: android:glEsVersion(0x01010281)=(type 0x11)0x20000
                 A: android:required(0x0101028e)=(type 0x12)0xffffffff
               E: uses-permission (line=43)
                 A:
                 android:name(0x01010003)="com.google.android.finsky.permission.BIND_GET_INSTALL_REFER
                 RER_SERVICE" (Raw:
                 "com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE")
               E: uses-permission (line=44)
                 A: android:name(0x01010003)="com.google.android.gms.permission.AD_ID" (Raw:
                 "com.google.android.gms.permission.AD_ID")
               E: application (line=46)
                 A: android:label(0x01010001)="rota_app" (Raw: "rota_app")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw:
                 "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:usesCleartextTraffic(0x010104ec)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory"
                 (Raw: "androidx.core.app.CoreComponentFactory")
                 E: meta-data (line=53)
                   A: android:name(0x01010003)="com.google.android.geo.API_KEY" (Raw:
                   "com.google.android.geo.API_KEY")
                   A: android:value(0x01010024)="AIzaSyDBcofn441wHP0uyoRisLPHa0RZpQmTqUs" (Raw:
                   "AIzaSyDBcofn441wHP0uyoRisLPHa0RZpQmTqUs")
                 C: " /> "
                 E: activity (line=57)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.oneeight.rotaapp.MainActivity" (Raw:
                   "com.oneeight.rotaapp.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=72)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
                     "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=76)
                     E: action (line=77)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw:
                       "android.intent.action.MAIN")
                     E: category (line=79)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
                       "android.intent.category.LAUNCHER")
                 E: meta-data (line=86)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: service (line=90)
                   A:
                   android:name(0x01010003)="com.google.firebase.components.ComponentDiscoveryService"
                   (Raw: "com.google.firebase.components.ComponentDiscoveryService")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff
                   E: meta-data (line=94)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.fireb
                     ase.auth.FlutterFirebaseAuthRegistrar" (Raw:
                     "com.google.firebase.components:io.flutter.plugins.firebase.auth.FlutterFirebaseA
                     uthRegistrar")
                     A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar"
                     (Raw: "com.google.firebase.components.ComponentRegistrar")
                   E: meta-data (line=97)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.fireb
                     ase.firestore.FlutterFirebaseFirestoreRegistrar" (Raw:
                     "com.google.firebase.components:io.flutter.plugins.firebase.firestore.FlutterFire
                     baseFirestoreRegistrar")
                     A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar"
                     (Raw: "com.google.firebase.components.ComponentRegistrar")
                   E: meta-data (line=100)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:io.flutter.plugins.fireb
                     ase.core.FlutterFirebaseCoreRegistrar" (Raw:
                     "com.google.firebase.components:io.flutter.plugins.firebase.core.FlutterFirebaseC
                     oreRegistrar")
                     A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar"
                     (Raw: "com.google.firebase.components.ComponentRegistrar")
                   E: meta-data (line=103)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:com.google.firebase.auth
                     .FirebaseAuthRegistrar" (Raw:
                     "com.google.firebase.components:com.google.firebase.auth.FirebaseAuthRegistrar")
                     A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar"
                     (Raw: "com.google.firebase.components.ComponentRegistrar")
                   E: meta-data (line=106)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:com.google.firebase.fire
                     store.FirestoreRegistrar" (Raw:
                     "com.google.firebase.components:com.google.firebase.firestore.FirestoreRegistrar"
                     )
                     A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar"
                     (Raw: "com.google.firebase.components.ComponentRegistrar")
                   E: meta-data (line=109)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:com.google.firebase.anal
                     ytics.connector.internal.AnalyticsConnectorRegistrar" (Raw:
                     "com.google.firebase.components:com.google.firebase.analytics.connector.internal.
                     AnalyticsConnectorRegistrar")
                     A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar"
                     (Raw: "com.google.firebase.components.ComponentRegistrar")
                   E: meta-data (line=112)
                     A:
                     android:name(0x01010003)="com.google.firebase.components:com.google.firebase.inst
                     allations.FirebaseInstallationsRegistrar" (Raw:
                     "com.google.firebase.components:com.google.firebase.installations.FirebaseInstall
                     ationsRegistrar")
                     A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar"
                     (Raw: "com.google.firebase.components.ComponentRegistrar")
                 E: activity (line=117)
                   A: android:theme(0x01010000)=@0x01030007
                   A: android:name(0x01010003)="io.flutter.plugins.urllauncher.WebViewActivity" (Raw:
                   "io.flutter.plugins.urllauncher.WebViewActivity")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: service (line=122)
                   A: android:name(0x01010003)="com.lyokone.location.FlutterLocationService" (Raw:
                   "com.lyokone.location.FlutterLocationService")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:foregroundServiceType(0x01010599)=(type 0x11)0x8
                 E: activity (line=128)
                   A: android:theme(0x01010000)=@0x01030010
                   A: android:name(0x01010003)="com.google.firebase.auth.internal.GenericIdpActivity"
                   (Raw: "com.google.firebase.auth.internal.GenericIdpActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x2
                   E: intent-filter (line=134)
                     E: action (line=135)
                       A: android:name(0x01010003)="android.intent.action.VIEW" (Raw:
                       "android.intent.action.VIEW")
                     E: category (line=137)
                       A: android:name(0x01010003)="android.intent.category.DEFAULT" (Raw:
                       "android.intent.category.DEFAULT")
                     E: category (line=138)
                       A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw:
                       "android.intent.category.BROWSABLE")
                     E: data (line=140)
                       A: android:scheme(0x01010027)="genericidp" (Raw: "genericidp")
                       A: android:host(0x01010028)="firebase.auth" (Raw: "firebase.auth")
                       A: android:path(0x0101002a)="/" (Raw: "/")
                 E: activity (line=146)
                   A: android:theme(0x01010000)=@0x01030010
                   A: android:name(0x01010003)="com.google.firebase.auth.internal.RecaptchaActivity"
                   (Raw: "com.google.firebase.auth.internal.RecaptchaActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:excludeFromRecents(0x01010017)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x2
                   E: intent-filter (line=152)
                     E: action (line=153)
                       A: android:name(0x01010003)="android.intent.action.VIEW" (Raw:
                       "android.intent.action.VIEW")
                     E: category (line=155)
                       A: android:name(0x01010003)="android.intent.category.DEFAULT" (Raw:
                       "android.intent.category.DEFAULT")
                     E: category (line=156)
                       A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw:
                       "android.intent.category.BROWSABLE")
                     E: data (line=158)
                       A: android:scheme(0x01010027)="recaptcha" (Raw: "recaptcha")
                       A: android:host(0x01010028)="firebase.auth" (Raw: "firebase.auth")
                       A: android:path(0x0101002a)="/" (Raw: "/")
                 E: service (line=165)
                   A:
                   android:name(0x01010003)="com.google.firebase.auth.api.fallback.service.FirebaseAut
                   hFallbackService" (Raw:
                   "com.google.firebase.auth.api.fallback.service.FirebaseAuthFallbackService")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   E: intent-filter (line=169)
                     E: action (line=170)
                       A: android:name(0x01010003)="com.google.firebase.auth.api.gms.service.START"
                       (Raw: "com.google.firebase.auth.api.gms.service.START")
                     E: category (line=172)
                       A: android:name(0x01010003)="android.intent.category.DEFAULT" (Raw:
                       "android.intent.category.DEFAULT")
                 E: provider (line=176)
                   A: android:name(0x01010003)="com.google.firebase.provider.FirebaseInitProvider"
                   (Raw: "com.google.firebase.provider.FirebaseInitProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:authorities(0x01010018)="com.oneeight.rotaapp.firebaseinitprovider"
                   (Raw: "com.oneeight.rotaapp.firebaseinitprovider")
                   A: android:initOrder(0x0101001a)=(type 0x10)0x64
                   A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff
                 E: uses-library (line=182)
                   A: android:name(0x01010003)="org.apache.http.legacy" (Raw:
                   "org.apache.http.legacy")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: activity (line=186)
                   A: android:theme(0x01010000)=@0x01030010
                   A: android:name(0x01010003)="com.google.android.gms.common.api.GoogleApiActivity"
                   (Raw: "com.google.android.gms.common.api.GoogleApiActivity")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: receiver (line=191)
                   A:
                   android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementReceiver
                   " (Raw: "com.google.android.gms.measurement.AppMeasurementReceiver")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: service (line=197)
                   A:
                   android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementService"
                   (Raw: "com.google.android.gms.measurement.AppMeasurementService")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: service (line=201)
                   A:
                   android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementJobServi
                   ce" (Raw: "com.google.android.gms.measurement.AppMeasurementJobService")
                   A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw:
                   "android.permission.BIND_JOB_SERVICE")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: meta-data (line=207)
                   A: android:name(0x01010003)="com.google.android.gms.version" (Raw:
                   "com.google.android.gms.version")
                   A: android:value(0x01010024)=@0x7f060000
[  +52 ms] executing: /home/seankzw/Applications/android/platform-tools/adb -s RF8M903V3XR shell -x
logcat -v time -t 1
[ +176 ms] <- compile package:rota_app/main.dart
[ +182 ms] ../../runtime/bin/snapshot_utils.cc: 143: error: Failed to memory map snapshot:

/home/seankzw/development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot
[   +5 ms] ===== CRASH =====
[        ] si_signo=Segmentation fault(11), si_code=1, si_addr=0x10
[        ] Aborting re-entrant request for stack trace.
[   +8 ms] the Dart compiler exited unexpectedly.
[   +1 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      DefaultResidentCompiler._compile.<anonymous closure>
           (package:flutter_tools/src/compile.dart:773:13)
           #2      _rootRun (dart:async/zone.dart:1420:47)
           #3      _CustomZone.run (dart:async/zone.dart:1328:19)
           #4      _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
           #5      _BufferingStreamSubscription._sendDone.sendDone
(dart:async/stream_impl.dart:394:13)
           #6      _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:404:7)
           #7      _BufferingStreamSubscription._close (dart:async/stream_impl.dart:291:7)
           #8      _SinkTransformerStreamSubscription._close
(dart:async/stream_transformers.dart:87:11)
           #9      _EventSinkWrapper.close (dart:async/stream_transformers.dart:21:11)
           #10     _StringAdapterSink.close (dart:convert/string_conversion.dart:251:11)
           #11     _LineSplitterSink.close (dart:convert/line_splitter.dart:135:11)
           #12     _SinkTransformerStreamSubscription._handleDone
(dart:async/stream_transformers.dart:132:24)
           #13     _rootRun (dart:async/zone.dart:1420:47)
           #14     _CustomZone.run (dart:async/zone.dart:1328:19)
           #15     _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
           #16     _BufferingStreamSubscription._sendDone.sendDone
(dart:async/stream_impl.dart:394:13)
           #17     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:404:7)
           #18     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:291:7)
           #19     _SinkTransformerStreamSubscription._close
(dart:async/stream_transformers.dart:87:11)
           #20     _EventSinkWrapper.close (dart:async/stream_transformers.dart:21:11)
           #21     _StringAdapterSink.close (dart:convert/string_conversion.dart:251:11)
           #22     _Utf8ConversionSink.close (dart:convert/string_conversion.dart:305:20)
           #23     _ConverterStreamEventSink.close (dart:convert/chunked_conversion.dart:81:18)
           #24     _SinkTransformerStreamSubscription._handleDone
(dart:async/stream_transformers.dart:132:24)
           #25     _rootRun (dart:async/zone.dart:1420:47)
           #26     _CustomZone.run (dart:async/zone.dart:1328:19)
           #27     _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
           #28     _BufferingStreamSubscription._sendDone.sendDone
(dart:async/stream_impl.dart:394:13)
           #29     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:404:7)
           #30     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:291:7)
           #31     _SyncStreamControllerDispatch._sendDone (dart:async/stream_controller.dart:741:19)
           #32     _StreamController._closeUnchecked (dart:async/stream_controller.dart:596:7)
           #33     _StreamController.close (dart:async/stream_controller.dart:589:5)
           #34     _Socket._onData (dart:io-patch/socket_patch.dart:2309:21)
           #35     _rootRunUnary (dart:async/zone.dart:1444:13)
           #36     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
           #37     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
           #38     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
           #39     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
           #40     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:733:19)
           #41     _StreamController._add (dart:async/stream_controller.dart:607:7)
           #42     _StreamController.add (dart:async/stream_controller.dart:554:5)
           #43     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1837:35)
           #44     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1307:18)
           #45     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
           #46     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
           #47     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:122:13)
           #48     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:193:5)


[  +14 ms] the Dart compiler exited unexpectedly.
[   +1 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      DefaultResidentCompiler._compile.<anonymous closure>
           (package:flutter_tools/src/compile.dart:773:13)
           #2      _rootRun (dart:async/zone.dart:1420:47)
           #3      _CustomZone.run (dart:async/zone.dart:1328:19)
           #4      _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
           #5      _BufferingStreamSubscription._sendDone.sendDone
(dart:async/stream_impl.dart:394:13)
           #6      _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:404:7)
           #7      _BufferingStreamSubscription._close (dart:async/stream_impl.dart:291:7)
           #8      _SinkTransformerStreamSubscription._close
(dart:async/stream_transformers.dart:87:11)
           #9      _EventSinkWrapper.close (dart:async/stream_transformers.dart:21:11)
           #10     _StringAdapterSink.close (dart:convert/string_conversion.dart:251:11)
           #11     _LineSplitterSink.close (dart:convert/line_splitter.dart:135:11)
           #12     _SinkTransformerStreamSubscription._handleDone
(dart:async/stream_transformers.dart:132:24)
           #13     _rootRun (dart:async/zone.dart:1420:47)
           #14     _CustomZone.run (dart:async/zone.dart:1328:19)
           #15     _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
           #16     _BufferingStreamSubscription._sendDone.sendDone
(dart:async/stream_impl.dart:394:13)
           #17     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:404:7)
           #18     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:291:7)
           #19     _SinkTransformerStreamSubscription._close
(dart:async/stream_transformers.dart:87:11)
           #20     _EventSinkWrapper.close (dart:async/stream_transformers.dart:21:11)
           #21     _StringAdapterSink.close (dart:convert/string_conversion.dart:251:11)
           #22     _Utf8ConversionSink.close (dart:convert/string_conversion.dart:305:20)
           #23     _ConverterStreamEventSink.close (dart:convert/chunked_conversion.dart:81:18)
           #24     _SinkTransformerStreamSubscription._handleDone
(dart:async/stream_transformers.dart:132:24)
           #25     _rootRun (dart:async/zone.dart:1420:47)
           #26     _CustomZone.run (dart:async/zone.dart:1328:19)
           #27     _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
           #28     _BufferingStreamSubscription._sendDone.sendDone
(dart:async/stream_impl.dart:394:13)
           #29     _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:404:7)
           #30     _BufferingStreamSubscription._close (dart:async/stream_impl.dart:291:7)
           #31     _SyncStreamControllerDispatch._sendDone (dart:async/stream_controller.dart:741:19)
           #32     _StreamController._closeUnchecked (dart:async/stream_controller.dart:596:7)
           #33     _StreamController.close (dart:async/stream_controller.dart:589:5)
           #34     _Socket._onData (dart:io-patch/socket_patch.dart:2309:21)
           #35     _rootRunUnary (dart:async/zone.dart:1444:13)
           #36     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
           #37     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
           #38     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
           #39     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
           #40     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:733:19)
           #41     _StreamController._add (dart:async/stream_controller.dart:607:7)
           #42     _StreamController.add (dart:async/stream_controller.dart:554:5)
           #43     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1837:35)
           #44     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1307:18)
           #45     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
           #46     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
           #47     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:122:13)
           #48     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:193:5)


[ +116 ms] ensureAnalyticsSent: 122ms
[   +2 ms] Running shutdown hooks
[   +1 ms] ensureAnalyticsSent: 112ms
[        ] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 1

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions