Skip to content

Flutter Web WASM getting crash #174330

@abrarmalekji12

Description

@abrarmalekji12

Command

flutter --no-color run --machine --track-widget-creation --device-id=chrome --start-paused --wasm --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://127.0.0.1:9100 lib/main.dart

Steps to Reproduce

  1. ...
  2. ...
  3. ...

Logs

_TypeError: (#0 AppDomain.launch. (package:flutter_tools/src/commands/daemon.dart:800:53))

#0      AppDomain.launch.<anonymous closure> (package:flutter_tools/src/commands/daemon.dart:800:53)
#1      _rootRunUnary (dart:async/zone.dart:1538:47)
#2      _CustomZone.runUnary (dart:async/zone.dart:1429:19)
#3      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:948:45)
#4      Future._propagateToListeners (dart:async/future_impl.dart:977:13)
#5      Future._completeWithValue (dart:async/future_impl.dart:720:5)
#6      Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:804:7)
#7      _rootRun (dart:async/zone.dart:1525:13)
#8      _CustomZone.run (dart:async/zone.dart:1422:19)
#9      _CustomZone.runGuarded (dart:async/zone.dart:1321:7)
#10     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362:23)
#11     _microtaskLoop (dart:async/schedule_microtask.dart:40:35)
#12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
#13     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:127:13)
#14     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:194:5)
[✓] Flutter (Channel master, 3.36.0-1.0.pre-232, on macOS 26.0 25A5295e darwin-arm64, locale en-IN) [2.1s]
    • Flutter version 3.36.0-1.0.pre-232 on channel master at /Users/abrarmalekji/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision edd434af3e (11 hours ago), 2025-08-23 05:38:27 -0400
    • Engine revision edd434af3e
    • Dart version 3.10.0 (build 3.10.0-127.0.dev)
    • DevTools version 2.49.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging

[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [836ms]
    • Android SDK at /Users/abrarmalekji/Library/Android/sdk
    • Emulator version 35.5.10.0 (build_id 13402964) (CL:N/A)
    ✗ cmdline-tools component is missing.
      Try installing or updating Android Studio.
      Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure to set the ANDROID_HOME environment variable.
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/to/macos-android-setup for more details.

[!] Xcode - develop for iOS and macOS (Xcode 16.4) [1,089ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16F6
    ! CocoaPods 1.15.2 out of date (1.16.2 is recommended).
        CocoaPods is a package manager for iOS or macOS platform code.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/to/platform-plugins
      To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods

[✓] Chrome - develop for the web [4ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Connected device (2 available) [7.2s]
    • macOS (desktop) • macos  • darwin-arm64   • macOS 26.0 25A5295e darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 139.0.7258.139

[✓] Network resources [558ms]
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Flutter Application Metadata

Type: app
Version: 1.1.0+2
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 20f8274

Plugins

app_links-6.4.1
cloud_firestore-6.0.0
connectivity_plus-6.1.5
file_picker-10.3.2
file_saver-0.3.1
firebase_app_check-0.4.0
firebase_auth-6.0.1
firebase_core-4.0.0
firebase_storage-13.0.0
fluttertoast-8.2.12
image_picker_ios-0.8.13
pasteboard-0.4.0
path_provider_foundation-2.4.2
permission_handler_apple-9.4.7
shared_preferences_foundation-2.5.4
url_launcher_ios-6.3.4
flutter_plugin_android_lifecycle-2.0.29
image_picker_android-0.8.13
path_provider_android-2.2.17
permission_handler_android-13.0.1
shared_preferences_android-2.4.11
url_launcher_android-6.3.17
file_selector_macos-0.9.4+4
image_picker_macos-0.2.2
native_context_menu-0.2.2+5
url_launcher_macos-3.2.3
app_links_linux-1.0.3
file_selector_linux-0.9.3+2
gtk-2.1.0
image_picker_linux-0.2.2
path_provider_linux-2.2.1
shared_preferences_linux-2.4.1
url_launcher_linux-3.2.1
file_selector_windows-0.9.3+4
image_picker_windows-0.2.2
path_provider_windows-2.3.0
permission_handler_windows-0.2.1
shared_preferences_windows-2.4.1
url_launcher_windows-3.1.4
app_links_web-1.0.4
cloud_firestore_web-5.0.0
firebase_app_check_web-0.2.0+15
firebase_auth_web-6.0.1
firebase_core_web-3.0.0
firebase_storage_web-3.10.18
image_picker_for_web-3.1.0
permission_handler_html-0.1.3+5
shared_preferences_web-2.4.3
url_launcher_web-2.4.1

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: regressionIt was better in the past than it is nowe: wasmIssues related to the wasm build of Flutter Web.found in release: 3.36Found to occur in 3.36has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions