Stream: git-wasmtime

Topic: wasmtime / issue #4461 Error executing qjs.wasm file.


view this post on Zulip Wasmtime GitHub notifications bot (Jul 17 2022 at 08:15):

abc767234318 opened issue #4461:

Test Case

qjs.zip

Steps to Reproduce

Run the following command on Windows.

wasmtime .\qjs.wasm

Then the command line prints:

QuickJS - Type "\h" for help
qjs >

It seems to work, but I can't type anything through the keyboard.
<br>
Run the following command on Linux.

wasmtime .\qjs.wasm

I can enter content, but there is no output from the command line.

QuickJS - Type "\h" for help
qjs > 1 + 1

view this post on Zulip Wasmtime GitHub notifications bot (Jul 17 2022 at 08:15):

abc767234318 labeled issue #4461:

Test Case

qjs.zip

Steps to Reproduce

Run the following command on Windows.

wasmtime .\qjs.wasm

Then the command line prints:

QuickJS - Type "\h" for help
qjs >

It seems to work, but I can't type anything through the keyboard.
<br>
Run the following command on Linux.

wasmtime .\qjs.wasm

I can enter content, but there is no output from the command line.

QuickJS - Type "\h" for help
qjs > 1 + 1

view this post on Zulip Wasmtime GitHub notifications bot (Jul 18 2022 at 13:30):

alexcrichton commented on issue #4461:

This appears to be a very old build since it's still using wasi_unstable and not wasi_snapshot_preview1. Can you reproduce this with a more recent build? There have been a number of bugs fixed in the wasi-libc which is probably built into the wasm binary since wasi_unstable, so without any other information in the abstract this could very likely be a bug in the wasm itself rather than Wasmtime.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 20 2022 at 08:35):

abc767234318 commented on issue #4461:

Thanks for your answer !

view this post on Zulip Wasmtime GitHub notifications bot (Jul 20 2022 at 08:35):

abc767234318 closed issue #4461:

Test Case

qjs.zip

Steps to Reproduce

Run the following command on Windows.

wasmtime .\qjs.wasm

Then the command line prints:

QuickJS - Type "\h" for help
qjs >

It seems to work, but I can't type anything through the keyboard.
<br>
Run the following command on Linux.

wasmtime .\qjs.wasm

I can enter content, but there is no output from the command line.

QuickJS - Type "\h" for help
qjs > 1 + 1

Last updated: Dec 23 2024 at 12:05 UTC