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
If foo.wasm has a start function with an infinite loop (e.g. due to a bug), the intepreter is not able to interrupt execution after 4 seconds. The interpreter will try to interrupt modules by calling wasm_runtime_terminate, but this requires a module instance, and obviously in this case module instantiation cannot finish.
What do you all think of adding some mechanism to interrupt the start function after a period of time? Is there a way to do this that I'm missing?
The text was updated successfully, but these errors were encountered:
Let's say you run
If
foo.wasm
has a start function with an infinite loop (e.g. due to a bug), the intepreter is not able to interrupt execution after 4 seconds. The interpreter will try to interrupt modules by callingwasm_runtime_terminate
, but this requires a module instance, and obviously in this case module instantiation cannot finish.What do you all think of adding some mechanism to interrupt the start function after a period of time? Is there a way to do this that I'm missing?
The text was updated successfully, but these errors were encountered: