You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Saving a post with a YouTube block results in a crash if the Network access is enabled.
Steps to reproduce it:
Enable Network access.
Navigate to WP-Admin -> Posts.
Add a new post.
Add a YouTube block.
Insert a YouTube URL.
Click on Embed.
Save the post.
Logs:
[04-Sept-2024 13:27:13 UTC] WASM Crash Fatal:
"unreachable" WASM instruction executed.
The typical reason is a PHP function missing from the ASYNCIFY_ONLY
list when building PHP.wasm.
You will need to file a new issue in the WordPress Playground repository
and paste this error message there:
https://github.com/WordPress/wordpress-playground/issues/new
If you're a core developer, the typical fix is to:
* Isolate a minimal reproduction of the error
* Add a reproduction of the error to php-asyncify.spec.ts in the WordPress Playground repository
* Run 'npm run fix-asyncify'
* Commit the changes, push to the repo, release updated NPM packages
Below is a list of all the PHP functions found in the stack trace to
help with the minimal reproduction. If they're all already listed in
the Dockerfile, you'll need to trigger this error again with long stack
traces enabled. In node.js, you can do it using the --stack-trace-limit=100
CLI option:
* <unknown>
Error:
"unreachable" WASM instruction executed.
The typical reason is a PHP function missing from the ASYNCIFY_ONLY
list when building PHP.wasm.
You will need to file a new issue in the WordPress Playground repository
and paste this error message there:
https://github.com/WordPress/wordpress-playground/issues/new
If you're a core developer, the typical fix is to:
* Isolate a minimal reproduction of the error
* Add a reproduction of the error to php-asyncify.spec.ts in the WordPress Playground repository
* Run 'npm run fix-asyncify'
* Commit the changes, push to the repo, release updated NPM packages
Below is a list of all the PHP functions found in the stack trace to
help with the minimal reproduction. If they're all already listed in
the Dockerfile, you'll need to trigger this error again with long stack
traces enabled. In node.js, you can do it using the --stack-trace-limit=100
CLI option:
* <unknown>
at #handleRequest (https://playground.wordpress.net/worker-thread-962e7bc6.js:53:5901)
at async PHP.run (https://playground.wordpress.net/worker-thread-962e7bc6.js:53:1789)
at async #d (https://playground.wordpress.net/worker-thread-962e7bc6.js:61:6175)
at async #c (https://playground.wordpress.net/worker-thread-962e7bc6.js:61:5842)
at async PlaygroundWorkerEndpoint.request (https://playground.wordpress.net/worker-thread-962e7bc6.js:4:8812)
Saving a post with a YouTube block results in a crash if the Network access is enabled.
Steps to reproduce it:
Logs:
URL:
The text was updated successfully, but these errors were encountered: