bytecodealliance / bytecodealliance/componentize-go

Memory-pressure regression misses remaining GC clock and timer traps

Open
#77 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
17
Forks
8
Avg merge
6h 57m
Merged PRs (30d)
5

Description

The GC failure reported in #56 still occurs when Go reads wall time or polls timers during `cabi_realloc`. Both can trap with `cannot leave component instance`.

The memory-pressure test added in #60 does not reliably trigger these paths. Strengthening it exposes both failures on Go 1.26.3 and 1.27.1 with the Wasmtime 48.0.2 adapter.

Regression test: #78. Adapter fix: https://github.com/bytecodealliance/wasmtime/pull/14319, extending the clock pause from https://github.com/bytecodealliance/wasmtime/pull/13563.

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.