Skip to content

[Web] CanvasKit - RuntimeError: indirect call to null #144731

@zambetpentru

Description

@zambetpentru

Steps to reproduce

Reported via Sentry, on Firefox 123 on MacOS.

Unknown as of yet how to reproduce. Any guidance?

Expected results

Not expecting an error at that level of code.

Actual results

minified:ai RuntimeError: indirect call to null

unparsed in @https://www.gstatic.com/flutter-canvaskit/04817c99c9fd4956f27505204f7e344335810aed/canvaskit.wasm:wasm-function[2504]:0x1091d9
In App
unparsed in @https://www.gstatic.com/flutter-canvaskit/04817c99c9fd4956f27505204f7e344335810aed/canvaskit.wasm:wasm-function[8828]:0x41b3be
In App
unparsed in @https://www.gstatic.com/flutter-canvaskit/04817c99c9fd4956f27505204f7e344335810aed/canvaskit.wasm:wasm-function[753]:0x35248
In App
canvaskit.js in CanvasKitInit.. at line 115:52
In App
canvaskit.js in CanvasKitInit.. at line 44:159
org-dartlang-sdk:///lib/_engine/engine/canvaskit/canvas.dart in CkNWayCanvas.transform at line 306:5

cf(a,b,c){var s,r,q
for(s=this.a,r=0;r<s.length;++r){q=s[r].a
q.translate.apply(q,[b,c])}},
ag(a,b){var s,r,q
for(s=this.a,r=0;r<s.length;++r){q=s[r].a
q.concat.apply(q,[A.cSp(b)])}},
be8(a,b,c){var s,r,q,p
for(s=this.a,r=0;r<s.length;++r){q=s[r].a
p=b.a
p===$&&A.b()
p=p.a

Code sample

Screenshots or Video

No response

Logs

No response

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.19.2, on macOS 13.3.1 22E261 darwin-arm64, locale en-GB)
    • Flutter version 3.19.2 on channel stable at /Users/omega/fvm/versions/3.19.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7482962148 (8 days ago), 2024-02-27 16:51:22 -0500
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/omega/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.1)
    • 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 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.87.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.84.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.3.1 22E261 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 122.0.6261.112
    ! Error: Could not locate device support files. You may be able to resolve the issue by installing the latest version of Xcode from the Mac App Store or developer.apple.com.

      [missing string: 869a8e318f07f3e2f42e11d435502286094f76de] (code 2)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: productionIssues experienced in live production appsbrowser: firefoxonly manifests in Firefoxc: crashStack traces logged to the consoleengineflutter/engine related. See also e: labels.platform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions