bytecodealliance / bytecodealliance/sightglass

Unexpected behavior when calling open

Open
#246 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
WebAssembly
Stars
88
Forks
37
Avg merge
5h 5m
Merged PRs (30d)
1

Description

#238 ran into this, but ackermann was made working again by avoiding the problem. The issue is different behavior was seen from open
when comparing the native engine vs the wasm engine and calling open:

int fd = open(path, 0);

The Wasm engine seemed to not attempt the open (at least when looking at strace data) while the the native engine opened the file just fine. Moreover when compiling the Wasm without sightglass imports so that we can run in standalone Wasmtime, the above statement does work. So we are seeing incorrect behavior with wasmtime usage in sightglass compared to wasmtime standalone or native usage in sightglass. Since #238 was closed due to ackermann working again, wanted to record that the underlying issue is still there as it is assumed it will be encountered again.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.