-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
Multiple os-test POSIX conformance tests pass (exit 0) in WASM but produce doubled stdout output compared to native execution. For example, a test printing 'hello' on native produces 'hello'hello'\n' in WASM.
This appears to be a kernel/stdout-buffering issue where output gets flushed or captured twice during WASM binary execution via kernel.spawn().
Affected os-test cases
malloc/malloc-0malloc/realloc-null-0stdio/printf-c-pos-argsstdio/printf-f-pad-infstdio/printf-F-uppercase-pad-infstdio/printf-g-hashstdio/printf-g-negative-precisionstdio/printf-g-negative-width
Expected behavior
WASM stdout should match native stdout exactly (single output, no duplication).
Context
Discovered via os-test POSIX conformance suite. Tracked in posix-exclusions.json as fail / implementation-gap.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working