Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The stuck occurs during execution. #719

Open
abc767234318 opened this issue Apr 12, 2023 · 0 comments
Open

The stuck occurs during execution. #719

abc767234318 opened this issue Apr 12, 2023 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@abc767234318
Copy link

Describe the bug

The stuck occurs when I perform the QuickJS engine compiled to wasm with wasmer-python. However, this doesn't happen in wasmer-go.

Steps to reproduce

My Python script:

from wasmer import wasi, Store, ImportObject, Module, Instance
import os

def run():
    file = open("B5-1.wasm", "rb").read()
    
    store = Store()
    wasi_env = wasi.StateBuilder("B5-1").finalize()
    import_object = wasi_env.generate_import_object(store, wasi.Version.LATEST)

    instance = Instance(Module(store, file), import_object)
    instance.exports._start()


if __name__=="__main__":
    run()

If applicable, add a link to a test case (as a zip file or link to a repository we can clone).
B5-1.zip

Actual behavior

I can't input anything when the script is running.

@abc767234318 abc767234318 added the 🐞 bug Something isn't working label Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant