Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DartPad shows white screen with WebAssembly errors in Chrome and Edge #3051

Open
Sithila-Sihan-Somaratne opened this issue Sep 8, 2024 · 5 comments

Comments

@Sithila-Sihan-Somaratne
Copy link

What happened?

4 days ago, I accessed DartPad using Google Chrome, the screen was completely white.

Steps to reproduce problem

When I tried to reload again, I decided to see what was goign on using the dev tools. And I found this:
image

I checked the official site and ensured I’m using the latest version of Chrome:
image
Despite updating and restarting Chrome, the problem persists.
Here are the steps I’ve taken:

  1. Tried using other browsers:
    • Firefox(version: 130.0): Works fine.
    • Microsoft Edge(version: 128.0.2739.67): Same issue, even after updating with same errors and warnings.
  2. Checked Google Chrome Incognito Mode and Guest Mode: Still the same issue.

What could be the main causes? Any answers would be appreciated.

@Sithila-Sihan-Somaratne
Copy link
Author

I also posted aquestion on StackOverflow regarding the issue: https://stackoverflow.com/questions/78948694/dartpad-shows-white-screen-with-webassembly-errors-in-chrome-and-edge

@TheLiux
Copy link

TheLiux commented Sep 16, 2024

I had the same problem.
But the console output was different. Works in safari though

Device: Macbook Pro M1 16GB
Browser: Chrome 128.0.6613.138 arm64
Screenshot 2024-09-16 at 12 13 21

skwasm.js:17 Aborted()
za @ skwasm.js:17Understand this error
main.dart.mjs:55 JavaScriptError
main.dart.mjs:55 at https://dartpad.dev/main.dart.wasm:wasm-function[13738]:0x2265fb
main.dart.mjs:55     at https://dartpad.dev/main.dart.wasm:wasm-function[13792]:0x2296d0
main.dart.mjs:55     at https://dartpad.dev/main.dart.wasm:wasm-function[13754]:0x2274aa
main.dart.mjs:55     at https://dartpad.dev/main.dart.wasm:wasm-function[13738]:0x2265e3
main.dart.mjs:55     at https://dartpad.dev/main.dart.wasm:wasm-function[13792]:0x2296d0
main.dart.mjs:55     at https://dartpad.dev/main.dart.wasm:wasm-function[13762]:0x227b4e
main.dart.mjs:55     at https://dartpad.dev/main.dart.wasm:wasm-function[13738]:0x2265e3
main.dart.mjs:55     at https://dartpad.dev/main.dart.wasm:wasm-function[13792]:0x2296d0
skwasm.js:17 Aborted()
za @ skwasm.js:17Understand this error
main.dart.mjs:55 Another exception was thrown: Instance of 'minified:Class1175<void>'

@foxbg
Copy link

foxbg commented Nov 15, 2024

Similar issue in Opera version: 114.0.5282.185
Failed to load resource: net::ERR_ADDRESS_INVALID dartpad.dev/:1 <meta name="apple-mobile-web-app-capable" content="yes"> is deprecated. Please include <meta name="mobile-web-app-capable" content="yes"> 2main.dart.wasm:0x253c16 Uncaught RuntimeError: illegal cast at main.dart.wasm:0x253c16 at main.dart.wasm:0x251195 at main.dart.wasm:0x2510f2 at main.dart.wasm:0x253a48 at main.dart.wasm:0x25202d at main.dart.wasm:0x253e95 at main.dart.wasm:0x25202d at main.dart.wasm:0x253e95 at main.dart.wasm:0x25202d at main.dart.wasm:0x25732d skwasm.js:14 Aborted() Oa @ skwasm.js:14 main.dart.mjs:72 JavaScriptError main.dart.mjs:72 at https://dartpad.dev/main.dart.wasm:wasm-function[2047]:0x13afb1 main.dart.mjs:72 at https://dartpad.dev/main.dart.wasm:wasm-function[2046]:0x13ae62 main.dart.mjs:72 at https://dartpad.dev/main.dart.wasm:wasm-function[2042]:0x13ad78 main.dart.mjs:72 at https://dartpad.dev/main.dart.wasm:wasm-function[2537]:0x143782 main.dart.mjs:72 at https://dartpad.dev/main.dart.wasm:wasm-function[15523]:0x27bf5c main.dart.mjs:72 at https://dartpad.dev/main.dart.wasm:wasm-function[15530]:0x27c2db main.dart.mjs:72 at https://dartpad.dev/main.dart.wasm:wasm-function[883]:0x11ce0b main.dart.mjs:72 at https://dartpad.dev/main.dart.mjs:244:81 skwasm.js:14 Aborted() Oa @ skwasm.js:14 main.dart.mjs:72 Another exception was thrown: Instance of 'minified:Class1179<void>' skwasm.js:14 Aborted() Oa @ skwasm.js:14 main.dart.mjs:72 Another exception was thrown: Instance of 'minified:Class1179<void>' skwasm.js:14 Aborted() Oa @ skwasm.js:14 main.dart.mjs:72 Another exception was thrown: Instance of 'minified:Class1179<void>' skwasm.js:14 Aborted() Oa @ skwasm.js:14 main.dart.mjs:72 Another exception was thrown: Instance of 'minified:Class1179<void>' skwasm.js:14 Aborted() Oa @ skwasm.js:14 main.dart.mjs:72 Another exception was thrown: Instance of 'minified:Class1179<void>' skwasm.js:14 Aborted() Oa @ skwasm.js:14 main.dart.mjs:72 Another exception was thrown: Instance of 'minified:Class1179<void>' skwasm.js:14 Aborted() Oa @ skwasm.js:14 25main.dart.mjs:72 Another exception was thrown: Instance of 'minified:Class1179<void>' skwasm.js:14 Aborted() Oa @ skwasm.js:14 32main.dart.mjs:72 Another exception was thrown: Instance of 'minified:Class1179<void>' main.dart.wasm:0x253b3d Uncaught RuntimeError: illegal cast at main.dart.wasm:0x253b3d at main.dart.wasm:0x251195 at main.dart.wasm:0x2510f2 at main.dart.wasm:0x253e9a at main.dart.wasm:0x25202d at main.dart.wasm:0x253e95 at main.dart.wasm:0x25202d at main.dart.wasm:0x253e95 at main.dart.wasm:0x25202d at main.dart.wasm:0x25732d
Opened BUG-1747 with Opera

@omkartapale
Copy link

Hi @Sithila-Sihan-Somaratne

I'm also facing the same issue on both Edge v131.0.2903.112 (Official build) (64-bit) and Google Chrome v131.0.6778.205 (Official Build) (64-bit) browsers with the latest version.

Also failing to browse embedded DartPad blocks on Flutter Dart API Docs

Troubleshooting DartPad also won't help.

Screenshots:

image

image

Any updates from Dart team on how to resolve or fix this?

@jake-dev-99
Copy link

jake-dev-99 commented Jan 2, 2025

This exact signature mismatch issue was driving me crazy on Arc, so I spent some time digging into and resetting every setting imaginable. Turns out, I had graphics acceleration disabled in chrome://settings/system which completely borked Dartpad. Hopefully enabling this and allowing third party cookies / redirects / popups (and all the other usual jazz) will help!

If this alone is causing issues, you can always reset your browser settings to default, enable graphics acceleration (if needed), then give it another go 💪

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants