8000 POSIX `readv()`/`preadv()`/`writev()`/`pwritev()` do not use all buffers under preview 2 (as found by Python) · Issue #7830 · bytecodealliance/wasmtime · GitHub
[go: up one dir, main page]

Skip to content
POSIX readv()/preadv()/writev()/pwritev() do not use all buffers under preview 2 (as found by Python) #7830
@brettcannon

Description

@brettcannon

Test Case

TODO: upload Wasm file here

Steps to Reproduce

Expected Results

To be told 10 bytes were read/written.

Actual Results

5 bytes, which matches the first buffer, not the total bytes written across all buffers.

Versions and Environment

Wasmtime version or commit: 17.0.0

Operating system: Linux/WSL

Architecture: x64

Extra Info

Success logs when testing readv():
success-readv.txt

Failuse logs:
failure-readv.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0