Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Dotnet demo crahses with TrapException #14
I am getting TrapException when trying to run dotnet demo.
I am following the instructions from:
It reproduced on two machines for me.
There's some more context to the problem here: bytecodealliance/wasmtime#753
Are you also reproducing this on Windows?
It appears that something has changed with the toolset such that the generated WebAssembly module can't be loaded by Wasmtime (a problem with living on the edge of new technology, sadly).
I haven't yet determined why this seems to only happen on Windows.
The .wasm file I attached in my comment was built from macOS with the same toolset versions but doesn't appear to have the same problem. Give that file a try to complete the demo walkthrough and let me know if it works.
I'll continue the investigation via the Wasmtime issue above, so I'm going to close this issue for now.
Thanks for reporting this to us!