Skip to content

WASM Error with v0.37.0: Unreachable code should not be executed #4873

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

Open
theory opened this issue Apr 25, 2025 · 0 comments
Open

WASM Error with v0.37.0: Unreachable code should not be executed #4873

theory opened this issue Apr 25, 2025 · 0 comments
Labels
wasm WebAssembly

Comments

@theory
Copy link

theory commented Apr 25, 2025

I get this error with v0.37.0 but not v0.36.0:

[Error] RuntimeError: Unreachable code should not be executed (evaluating 'this._inst.exports.resume()')
	_resume (wasm_exec.js:514)
	(anonymous function) (wasm_exec.js:526)
	execute (localhost:88)
	(anonymous function) (localhost:138)

Replicate:

git clone https://github.com/theory/jsonpath.git
cd jsonpath
git checkout -b playground origin/playground
make run

Open localhost:8000 for the app and hit "Run Query".

@deadprogram deadprogram added the wasm WebAssembly label Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasm WebAssembly
Projects
None yet
Development

No branches or pull requests

2 participants