emscripten icon indicating copy to clipboard operation
emscripten copied to clipboard

Runtime Link Error

Open MikhailGorobets opened this issue 1 year ago • 1 comments

I'm encountering the following runtime error when running my WASM application. wasm streaming compile failed: LinkError: WebAssembly.instantiate(): Import #33 "env" "_tzset_js": function import requires a callable What could be the cause? I didn't experience this error with version 3.1.61

MikhailGorobets avatar Aug 02 '24 15:08 MikhailGorobets

This is JS function that is normally provided by the emscripten-generated code. The function itself was added way back in #16118 but its possible a more recent change caused your program to start depending on this JS function where in that past it didn't.

Are you using the generated JS code?

sbc100 avatar Aug 02 '24 21:08 sbc100

This might sound strange, but it seems the linking issue occurred when a specific browser tab was open. After closing all tabs except the required webpage, the error stopped appearing.

MikhailGorobets avatar Aug 14 '24 12:08 MikhailGorobets

That does sounds strange. Closing for, feel free to re-open if you see it again.

sbc100 avatar Aug 14 '24 14:08 sbc100