Skip to content

bug: handle process writing too much to stderr more gracefully #796

@nick1udwig

Description

@nick1udwig

let wasi_stderr = MemoryOutputPipe::new(STACK_TRACE_SIZE);

https://docs.wasmtime.dev/api/wasmtime_wasi/p2/pipe/index.html

Currently we crash and print out stderr after >5000 characters are written to stderr

We should either:

  1. Inform user more clearly that we crashed because we wrote too many characters to stderr
  2. Better handle many characters being written to stderr
  3. Both

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions