Closed bhakta0007 closed 1 year ago
Your host implementation crashes because the plugin is calling exit()
(mapped to WASI's proc_exit()
) that calls Context::error()
, which in the default interface calls abort()
.
You need to override this and other methods in your host implementation. @mpwarres might have some pointers.
My Proxy WASM VM code is trying to do this:
This causes the following crash. I can prevent this from the client with a try/catch but am wondering why the VM is able to cause the host to crash.
update: I tried with WAMR runtime with similar outcome