emscripten-core / emscripten-core/emscripten

Exception while running emscripten_wget_data method with ASYNCIFY under nodejs

Open
#11,894 7 comments 0 reactions 0 assignees View on GitHub
asyncify
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

I have compiled WASM binary using Emscripten (UpStream) 1.39.13 SDK. I use ASYNCIFY option with emscripten_wget_data method. My WASM is running under nodejs. But when i run the script it gives me following error.
ASYNCIFY: start unwind 5877656
ASYNCIFY: try asyncify_start_unwind
ASYNCIFY: finally asyncify_start_unwind
ASYNCIFY: finally dynCall_iii
ASYNCIFY: finally main
ASYNCIFY: stop unwind
ASYNCIFY: try asyncify_stop_unwind
ASYNCIFY: finally asyncify_stop_unwind
exception thrown: import emscripten_asm_const_iii was not in ASYNCIFY_IMPORTS, but changed the state
Any help in debugging the problem
Where does import emscripten_asm_const_iii comes from?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.