Skip to content

The stuck occurs during execution.Β #719

@abc767234318

Description

@abc767234318

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions