Skip to content

WasmVM: stdio/wchar/poll/select/fmtmsg os-test failures #45

@NathanFlurry

Description

@NathanFlurry

Description

17 os-test binaries newly compiled after sysroot override migration (US-023) fail at runtime. These are implementation gaps in the WASM sandbox's I/O handling.

Affected tests

stdio (stdin reads fail — stdin not connected in sandbox)

  • basic/stdio/getchar
  • basic/stdio/scanf
  • basic/stdio/vscanf

stdio (stdout behavior differs)

  • basic/stdio/printf
  • basic/stdio/putchar
  • basic/stdio/puts
  • basic/stdio/vprintf

wchar (stdin reads fail)

  • basic/wchar/getwchar
  • basic/wchar/wscanf
  • basic/wchar/vwscanf

wchar (stdout behavior differs)

  • basic/wchar/putwchar
  • basic/wchar/wprintf
  • basic/wchar/vwprintf

poll/select

  • basic/poll/poll
  • basic/sys_select/select
  • basic/sys_time/select

fmtmsg

  • basic/fmtmsg/fmtmsg

Root cause

These tests exercise I/O paths (stdin/stdout/poll/select) that either aren't connected in the WASM sandbox or behave differently from native Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions