Stream: git-wasmtime

Topic: wasmtime / issue #11427 Huge array allocations are timing...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2025 at 17:22):

alexcrichton opened issue #11427:

There's a timeout on oss-fuzz right now in the differential fuzzer. Debugging this it looks like huge arrays are being allocated in wasm and limits aren't kicking into effect. I've verified that the memory limits aren't being exceeded as all allocations fall under our 1G limit for stores.

What appears to be happening is that Cranelift-generated wasm code is taking quite a long time to initialize the array in question. This is under Pulley which is also a slowdown hit too. Differential fuzzing relies on in-wasm fuel counters to ensure execution doesn't take too long and those counters aren't taking into account these "expensive" instructions.

There's a few things I've noticed here and some ideas for solving this:

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2025 at 17:22):

alexcrichton added the fuzz-bug label to Issue #11427.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2025 at 17:22):

alexcrichton added the wasm-proposal:gc label to Issue #11427.


Last updated: Dec 06 2025 at 06:05 UTC