wasmerio / wasmer-go

🐹🕸️ WebAssembly runtime for Go
https://pkg.go.dev/github.com/wasmerio/wasmer-go
MIT License
2.84k stars 161 forks source link

Unable to start #375

Open shikharvashistha opened 1 year ago

shikharvashistha commented 1 year ago

Thanks for the bug report!

Describe the bug

I think it no longer works

Steps to reproduce

  1. go run main.go

Expected behavior

Should run

Actual behavior


[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x6277aa]

goroutine 1 [running]:
github.com/wasmerio/wasmer-go/wasmer.(*Module).Imports(...)
        /workspace/go/pkg/mod/github.com/wasmerio/wasmer-go@v1.0.4/wasmer/module.go:180
github.com/wasmerio/wasmer-go/wasmer.(*ImportObject).intoInner(0xc0001ac028, 0x0)
        /workspace/go/pkg/mod/github.com/wasmerio/wasmer-go@v1.0.4/wasmer/import_object.go:32 +0x6a
github.com/wasmerio/wasmer-go/wasmer.NewInstance(0x0, 0xc0001ac028)
        /workspace/go/pkg/mod/github.com/wasmerio/wasmer-go@v1.0.4/wasmer/instance.go:31 +0x48
main.main()
        /workspace/notes-wasm-go/backend/cmd/main.go:26 +0xe5
exit status 2 ```